Ive got code which shows your money on a gui. It changes the gui when you get money but when i reset it everything in the box disappears. Help please
script.Parent.Parent.Parent.Parent.Parent.leaderstats.Level.Changed:connect(function(level) wait(0.2) script.Parent.Text = level end)
If you make a the script a 'Local script' you can make your code simple.
while wait() do script.Parent.Text = "Level "..game.Players.LocalPlayer.leaderstats.Level.Value end
Rather than recording the money value when it changes, I'd recommend using an infinite loop so that it checks every second or so. Here is a script for that:
while true do level = script.Parent.Parent.Parent.Parent.Parent.leaderstats.Level.Value script.Parent.Text = level wait(1) end