This will happen if the sky is deleted, in which case you will want to do the new sky thing. Also, if you are to far away from the spawn, and the new sky thing isn't the issue, try resetting the players position back to the spawn point -
findClientbyName("YOUR NAME HERE").player.setTransform("0 0
0");