sandbox error message

i am trying to make my own gamemode (which is derived from sandbox) but whenever i try to test it i get the error message:
ERROR: GAMEMODE:‘PlayerSpawn’ Failed: sandbox/gamemode/init.lua:40: stack overflow

help please.

bump for help

You probably called player:Spawn() in GM:PlayerSpawn() or something.

i dont understand sorry. i have tried removing all code from all my gamemode’s files except what is necessary which leads me to believe that some addon is causing my sandbox files to be messed up. i will try reinstalling gmod


didn’t work. i have no idea how this happened. the only code i even have in all of the files put together for my gamemode is some includes, some addcsluafiles and some