Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Why isn't my give script working?

Asked by 9 years ago

When you click it, it's supposed to give you an empty cup. But when I click it, it does nothing. It works in studio, but not in-game.

function clicked()
game.Players.LocalPlayer.PlayerGui.Giver.Disabled = false
wait(.3)
game.Players.LocalPlayer.PlayerGui.Giver.Disabled = true
end
script.Parent.MouseClick:connect(clicked)

Answer this question