Deatrun Custom Player Loadout

I’m trying to give a certain group on my deathrun server a custom loadout(basically all weapons)
The following code is what I got to so far, but it’s not working.


function Custom_Loadout( ply )

	if ply:IsUserGroup("Head Admin") then
	
		ply:Give( "weapon_physcannon" )
		ply:Give( "weapon_physgun" )
		ply:Give( "weapon_357" )
                ply:Give( "weapon_crowbar" )
		ply:Give( "weapon_pistol" )
		ply:Give( "weapon_smg" )
		ply:Give( "weapon_shotgun" )
		ply:Give( "weapon_ar2" )
		ply:Give( "weapon_rpg" )
		ply:Give( "weapon_crossbow" )
		ply:Give( "weapon_frag" )

	end
 
end
hook.Add( "PlayerLoadout", "DeathrunPlayerInitialSpawn", Custom_Loadout)

And how could I make this script respond to !give_a in chat?

you used it wrong
[lua]
function Custom_Loadout( ply )

if (ply:GetUserGroup() == "Head Admin") then

	ply:Give( "weapon_physcannon" )
	ply:Give( "weapon_physgun" )
	ply:Give( "weapon_357" )
            ply:Give( "weapon_crowbar" )
	ply:Give( "weapon_pistol" )
	ply:Give( "weapon_smg" )
	ply:Give( "weapon_shotgun" )
	ply:Give( "weapon_ar2" )
	ply:Give( "weapon_rpg" )
	ply:Give( "weapon_crossbow" )
	ply:Give( "weapon_frag" )

end

end
hook.Add( “PlayerLoadout”, “DeathrunPlayerInitialSpawn”, Custom_Loadout)

[/lua]