Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- script.Parent.Touched:Connect(function(hit)
- if hit and hit.Parent:FindFirstChild("Humanoid") then
- local money = game.Players[hit.Parent.Name].leaderstats.Coins
- money.Value += 1
- script.Parent:Destroy()
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment