Advertisement
PlayStationUser99

How to make a halo system! | Part 1. Locked Button script.

Mar 11th, 2021
215
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. -- You can change 1555 with anything you want, you can do 0 if you want to do it for free
  2.  
  3. script.Parent.MouseButton1Click:Connect(function()
  4. if script.Parent.Parent.Parent.Parent.Parent.Parent.leaderstats.Coins.Value >= 1555 then
  5. script.Parent.Parent.Parent.Parent.Parent.Parent.leaderstats.Coins.Value -= 1555
  6. script.Parent:Destroy()
  7. end
  8. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement