while true do
wait(.00001)
script.Parent.Text = game.Players.LocalPlayer.leaderstats.Money.Value
end
So, the problem here is that this script works fine in Studio. But when i test it in-game it stops working. I don't know what to do, please answer.

7 comments
Is this script running in a local script inside the player?
Just a side note, the smallest interval you'll get out of "wait" is usually only close to 1/30th of a second, which is the set amount of time the thread will remain in the scheduler queue (See thread scheduler: http://wiki.roblox.com/index.php?title=Thread_scheduler). In other words, "wait()", "wait(0.01)", "wait(.00001)", or anything under 0.03, will just default to the lowest possible interval.
well okay
Conclusion: Just use "wait()", with no arguments. If you want something faster, you can check out RunService and it's events here: http://wiki.roblox.com/index.php?title=API:Class/RunService
Thanks but can you help me with the sctual question
https://lh3.googleusercontent.com/fVfpA2NpE9myBwWNxeVvE3xMED2demUiG_Q9m3LGk8RRzXIg5w1RK6SusQizcLc2WpqQvIo=s151
Bossay, you can't use LocalPlayer from a regular Script. Besides, it doesn't make sense to manage a GUI with a regular Script.