It is not a scripting problem, but it could be. I have a GunGame (deathmatch) server and sometimes (often enough) players are shown inside the ground or on sky. The hitbox remains where it should be, but the player model changes it position, up or down. Your position is OK, but that's how you see the enemies.
I know that the "record" command could generate problems like this, but me and the players from my server have this problem without typing "record" and it appears increasingly more often.
Do you know how to solve it ? Or maybe there is a function / plugin which can make it to appear more often ?