Advertisement
xmaanzach

TouchedTutorial

Mar 26th, 2018
731
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. debounce = false
  2.  
  3. script.Parent.Touched:connect(function(hit)
  4. local stats = game.Players.LocalPlayer.leaderstats:WaitForChild("Cash")
  5. if not debounce then
  6. debounce = true
  7. stats.Value = stats.Value + 150 -- cambia 150 por la cantidad que quieres que aumente
  8. wait(5)
  9. debounce = false
  10. end
  11. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement