Need help with bodygroups/player spawn functions.

Okay. I would like to know how to put bodygroups for darkrp jobs. I am using this model

local PREDATOR = {
“STEAM_0:1:104791433”, – John (Owner)
TEAM_CHAPPIE = DarkRP.createJob("[CUSTOM JOB] Predator", {
color = Color(255, 249, 126, 255),
model = {“models/player/mkx_predator.mdl”},
description = [[They came to hunt, and thats what they are going to do. (follows hitman and thief rules)]],
weapons = {“weapon_claws”, “macrobinoculars”, “breachingcharge”, “grapplehook”, “weapon_concussion_nade”, “weapon_invis”, “med_kit2”, “upgradedlockpick”, “tfa_gtav_railgun”},
command = “PREDATOR”,
max = 5,
salary = 10000,
admin = 0,
vote = false,
hasLicense = false,
candemote = true,
category = “Custom Jobs”,
PlayerSpawn = function(ply) ply:SetArmor(250),
PlayerSpawn = function(ply) ply:SetBodygroup(4, 2) end,
customCheck = function(ply)
for k,v in ipairs(PREDATOR) do
if v == ply:SteamID() then
return true
return false
CustomCheckFailMsg = “This is not your custom job.”

I try to use player spawn to set bodygroups but that dosent work. Im trying to make it so you have the right hand claw with the MKX Predator. :frowning: