Hasli4

RBLX. CoinCollectScript

Jan 11th, 2026
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.25 KB | None | 0 0
  1. script.Parent.Touched:Connect(function(hit)
  2.  
  3.     if hit and hit.Parent:FindFirstChild("Humanoid") then
  4.  
  5.         local money = game.Players[hit.Parent.Name].leaderstats.Coins
  6.  
  7.         money.Value += 1
  8.  
  9.     script.Parent:Destroy()
  10.  
  11.     end
  12.  
  13. end)
Advertisement
Add Comment
Please, Sign In to add comment