08.05.2015, 21:06
I don't understand what you're trying to achieve in that loop, however, you can try commenting it then test if it freezes again.
Also, check your timers and OnPlayerUpdate callback.
Also, check your timers and OnPlayerUpdate callback.