Where to place Hooks?

Im such a noob so i don’t know where to place hooks.

I have a hook that i want to be on my StarWarsRP server, but i don’t know where to place it. Im so scared if I place it somewhere, the server is gonna breakdown.
So could anyone say where to place this hook?

hook.Add(“PlayerSpawnProp”, “Disallow_user_props”, function(client)
if (client:IsUserGroup(“admin”) or client:IsUserGroup(“superadmin”)) then
return true
end

return false

end)

thx for reading :slight_smile:

Put it serverside (lua/autorun/server or some gamemode server file). If something breaks, you can always remove it: not the end of the world.

Use lua tags to post code

tip:
[.lua]