Okay, so I have a game that includes various functions and a continuous loop to run these functions. However it seems to run only in solo mode or otherwise local console if you use the developer console. And it doesn't run in regular mode or server console. Is there a general problem/solution to this or is this because of something specific in my game coding?
Sometimes the LocalScript runs before the GUI has been replicated. Add at the start
repeat wait() while game.Players.LocalPlayer
To ensure that the player exists before running the code.