amnt =1 function onTouched(part) local h = part.Parent:findFirstChild("Humanoid") if (h~=nil) then local thisplr = game.Players:findFirstChild(h.Parent.Name) if (thisplr~=nil) then local stats = thisplr:findFirstChild("leaderstats") if (stats~=nil) then local score = stats:findFirstChild("Coins") if (score~=nil) then score.Value = score.Value + amnt end end end script.Parent:remove() end end ? script.Parent.Touched:connect(onTouched)
COMMUNITY QUESTION
How will i make this script respawn the coin in like 5 seconds after i collect it?
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.

4 comments
You clearly did not make this script
what do you mean
you didnt make this script, and your not using code blocks, non constructive
Codeblock please