[Help] Help from spawn protection

Help. I have spawn protection and I would like to improve it. Help me improve Lua code, if player comes to spawn zone, his guns prop disappears and the area that hurts and when it is trying to push inside, removed. I have three files and I do not know which of them is better to do. I have cl_init, init and shared. If necessary, give the code Lua. help me please

This is spawn protection that I made. Feel free to use it because you provided us with no information on what you need, or snippets of code.