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.
0
Is this script running in a local script inside the player?joshuatodd2140— 7y
0
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.ScriptGuider5640— 7y