Advertisement
Navarone19_CH

Cash Gui

Jul 8th, 2020
12,521
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. wait()
  2. local player = game.Players.LocalPlayer
  3. local leaderstats = player:WaitForChild("leaderstats")
  4. local Cash = leaderstats:FindFirstChild("Cash")
  5. if Cash then
  6. script.Parent.Text = Cash.Value
  7. Cash.Changed:connect(function()
  8. script.Parent.Text = Cash.Value
  9. end)
  10. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement