Is it possible to only allow admins to spawn certian things instead of changing it back and forth in menu?

I want to know if it’s possible for an admin to spawn a ragdoll without having to go to the menu and change it to one.

What?



hook.Add("PlayerSpawnRagdoll", "adminsspawnragdolls", function(ply)

if (ply:IsAdmin()) then return true end

end)


???

use URS.