Bodygroup Issue (DarkRP Custom Roles)

Hello everyone! I am currently having an issue involving a certain role with body groups in which I am trying to customize to make it the default body groups for players when they turn to that job, the only problem is that the code is not working and nothing is changing. Please let me know if you have any solutions (Yes, I have read the definition of Entity:SetBodygroup, looked through past discussions, everything humanely possible)!

Information: 4 Bodygroups
1: (0, 10)
2: (1,2)
3: (2,3)
4: (3,0)

Script:
PlayerSpawn = function(ply)
ply:SetBodygroup(0,10)
ply:SetBodygroup(1,2)
ply:SetBodygroup(2,3)
ply:SetBodygroup(3,0)
end,

Any help or comment will be greatly appreciated, thanks for your time yo!