
739 Views
9 Executions
K4VI3R HUB
Universal Script 📌
Will_stepFirst script
1 year ago
Please login to perform these actions:Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
No key
-- K4VI3R HUB Atualizado
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local Workspace = game:GetService("Workspace")
local LocalPlayer = Players.LocalPlayer
local UI = Instance.new("ScreenGui", game.CoreGui)
-- Funções auxiliares
local function createButton(name, pos, callback)
local btn = Instance.new("TextButton", UI)
btn.Text = name
btn.Position = pos
btn.Size = UDim2.new(0,100,0,30)
btn.BackgroundTransparency = 0.5
btn.MouseButton1Click:Connect(callback)
return btn
end
local function createTextBox(placeholder, pos, defaultValue, minVal, maxVal, callback)
local box = Instance.new("TextBox", UI)
box.PlaceholderText = placeholder.." ("..defaultValue..")"
box.Text = ""
box.Position = pos
box.Size = UDim2.new(0,120,0,30)
box.BackgroundTransparency = 0.5
box.ClearTextOnFocus = false
box.FocusLost:Connect(function(enterPressed)
local val = tonumber(box.Text)
if val then
val = math.clamp(val, minVal, maxVal)
callback(val)
box.PlaceholderText = placeholder.." ("..val..")"
box.Text = ""
end
end)
return box
end
-- TikTok e Roblox
local tiktokBtn = createButton("TikTok", UDim2.new(0,10,0,10), function()
Comments
0Log in to join the conversation. Login
No comments yet. Be the first!







