Press a Button To Respawn a Gear

Ah. So place your football tool in “ServerStorage”, and replace your current code with this:

local football = game:GetService("ServerStorage"):WaitForChild("Football")
local btn = script.Parent

local p = game.Players.LocalPlayer

btn.MouseButton1Click:Connect(function()
	football:Clone().Parent = p.Backpack
end)

image

Do I rename the handle to Football as well? (Like is yes)

No.

characterlimit

Ok, let me test this real fast.

When I click the button, it does not give the player a football

The script you provided does not include the gui button which is the important part

Can you check Output for errors?

The script you sent does not use the gui button

image

This triggers when the button is clicked. Check output, please.

image

I have over 270 things in output.

Can you send a picture? Some might be backdoors from other scripts, 270 is unusually high.

image

That’s the only one for the script

Ah, so put your football in replicated storage. Also, replace your script:

local football = game:GetService(“ReplicatedStorage”):WaitForChild(“Football”)
local btn = script.Parent

local p = game.Players.LocalPlayer

btn.MouseButton1Click:Connect(function()
football:Clone().Parent = p.Backpack
end)

Hover your mouse over the errors and send what they say, please.

The ReplicatedStorage says “incomplete statement: expected assignment or a function call”

The football says the same thing