
Key Required

local player = game.Players.LocalPlayer
local PlayerGui = player:WaitForChild("PlayerGui")
local gui = Instance.new("ScreenGui")
gui.Name = "GearGiverSimple"
gui.ResetOnSpawn = false
gui.Parent = PlayerGui
local frame = Instance.new("Frame")
frame.Size = UDim2.new(0, 280, 0, 90)
frame.Position = UDim2.new(0.5, -140, 0.5, -45)
frame.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
frame.Active = true
frame.Draggable = true
frame.Parent = gui
local textBox = Instance.new("TextBox")
textBox.Size = UDim2.new(1, -20, 0, 35)
textBox.Position = UDim2.new(0, 10, 0, 10)
textBox.PlaceholderText = "Digite o ID da gear aqui"
textBox.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
textBox.TextColor3 = Color3.new(1, 1, 1)
textBox.ClearTextOnFocus = false
textBox.Font = Enum.Font.SourceSans
textBox.TextSize = 20
textBox.Parent = frame
local giveBtn = Instance.new("TextButton")
giveBtn.Size = UDim2.new(1, -20, 0, 35)
giveBtn.Position = UDim2.new(0, 10, 0, 50)
giveBtn.Text = "Give gear"
giveBtn.BackgroundColor3 = Color3.fromRGB(0, 170, 0)
giveBtn.TextColor3 = Color3.new(1, 1, 1)
giveBtn.Font = Enum.Font.SourceSansBold
giveBtn.TextSize = 20
giveBtn.Parent = frame
giveBtn.MouseButton1Click:Connect(function()
local id = tonumber(textBox.Text)
if id then
local success, err = pcall(function()
game:GetService("ReplicatedStorage").GiveGear:FireServer(id)
end)
if not success then
warn("Erro ao tentar dar gear: ".. tostring(err))
end
else
warn("ID invΓ‘lido")
end
end)No comments yet for this script.
