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)
develofied
(develofied)
January 7, 2023, 2:57am
#24
Do I rename the handle to Football as well? (Like is yes)
develofied
(develofied)
January 7, 2023, 2:59am
#26
Ok, let me test this real fast.
develofied
(develofied)
January 7, 2023, 3:01am
#27
When I click the button, it does not give the player a football
develofied
(develofied)
January 7, 2023, 3:01am
#28
The script you provided does not include the gui button which is the important part
Can you check Output for errors?
develofied
(develofied)
January 7, 2023, 3:02am
#30
The script you sent does not use the gui button
This triggers when the button is clicked. Check output, please.
develofied
(develofied)
January 7, 2023, 3:04am
#33
I have over 270 things in output.
Can you send a picture? Some might be backdoors from other scripts, 270 is unusually high.
develofied
(develofied)
January 7, 2023, 3:09am
#37
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.
develofied
(develofied)
January 7, 2023, 3:13am
#41
The ReplicatedStorage says “incomplete statement: expected assignment or a function call”
develofied
(develofied)
January 7, 2023, 3:14am
#42
The football says the same thing