Here’s the script : db = false script.Parent.Touched:connect(function(hit) if hit.Parent:FindFirstChild("Humanoid") then local player = game.Players:GetPlayerFromCharacter(hit.Parent) if db == false then db = true script.Parent.Transparency = 0 script.Parent.Cancollide = true player.leaderstats.Cash.Value = player.leaderstats.Cash.Value +5 script.Parent.Transparency = 1 script.Parent.Cancollide = false wait(5) end end end)
COMMUNITY QUESTION
Having trouble with my part script / script is not agreeing to authorize ??
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
Please properly format your code and indent it. You can use the script block tool and edit your question. It makes it easier for other people to read it.