Scale weapon world model

Hey FP.

I’m trying to scale the world model of my active weapon but I just can’t get it to work.

[lua]
hook.Add(“PlayerSwitchWeapon”, “ScaleSwitch”, function(client, old, new)
if (IsValid(new)) then
new:SetModelScale(2,0)
end
end)
[/lua]

Any ideas?

Have you tried adding prints to see if the code is running or that the issue lies elsewhere

Yeah I’ve tested it with prints and
[lua]
client:SetModelScale(2,0)
[/lua]
Which scaled the playermodel just fine.