How can i disable the q menu?

I’m trying to improve my bad lua skills right now and im making a gamemode.
How can you i disable the q menu?

Don’t run sandbox

What do you mean?
Like i don’t derive it?

[LUA]function GM:OnSpawnMenuOpen()
return false
end [/LUA]

Put that in client, that should work.

Thanks it worked