Advertisement
elpro_2368

Coin Count Script

Dec 12th, 2021
25
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.21 KB | None | 0 0
  1. game.Players.LocalPlayer:WaitForChild("leaderstats", 5)
  2. game.Players.LocalPlayer.leaderstats:WaitForChild("Coins", 5)
  3. local v8 = game
  4. local v9 = v8.Players
  5. local v10 = v9.LocalPlayer
  6. local v11 = v10.leaderstats
  7. local v12 = v11.Coins.Value
  8. local v37 = 99000000
  9. if v12 > v37 then
  10. v9 = script
  11. v10 = v9.Parent
  12. v11 = v10.Frame
  13. v37 = v11.Coinicon
  14. v12 = v37.Prize
  15. v37 = "Infinite"
  16. v12.Text = v37
  17. else
  18. v9 = script
  19. v10 = v9.Parent
  20. v11 = v10.Frame
  21. v37 = v11.Coinicon
  22. v12 = v37.Prize
  23. v8 = game.Players
  24. v9 = v8.LocalPlayer
  25. v10 = v9.leaderstats
  26. v11 = v10.Coins
  27. v37 = v11.Value
  28. v12.Text = v37
  29. end
  30. game.Players.LocalPlayer.leaderstats.Coins.Changed:Connect(function()
  31. local v15 = game.Players
  32. local v16 = v15.LocalPlayer
  33. local v17 = v16.leaderstats
  34. local v19 = v17.Coins.Value
  35. local v21 = 99000000
  36. if v19 > v21 then
  37. v15 = script
  38. v16 = v15.Parent
  39. v17 = v16.Frame
  40. v21 = v17.Coinicon
  41. v19 = v21.Prize
  42. v21 = "Infinite"
  43. v19.Text = v21
  44. return
  45. end
  46. script.Parent.Frame.Coinicon.Prize.Text = game.Players.LocalPlayer.leaderstats.Coins.Value
  47. end)
  48.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement