Problem with Spawning

After I load a map in Gmod, I spawn without weapons and get a bunch of error coding messages. When I try to spawn something nothing happens. What is causing this problem? Noclip doesn’t work either.

Go to your gmod directory and delete the lua folder, then start gmod and see if it works.

Thanks for the suggestion, but it must have been an update that caused it because the problem is gone now.