Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function ChangeBoneStuffThink()
- for k, v in pairs(player.GetAll()) do
- if v:GetActiveWeapon().Base != "weapon_ds_base" then
- if IsValid(v) && v:LookupBone("ValveBiped.Bip01_L_UpperArm") != nil then
- v:ManipulateBoneAngles( v:LookupBone("ValveBiped.Bip01_L_UpperArm"), Angle(0,0,0) )
- end
- if IsValid(v) && v:LookupBone("ValveBiped.Bip01_L_Forearm") != nil then
- v:ManipulateBoneAngles( v:LookupBone("ValveBiped.Bip01_L_Forearm"), Angle(0,0,0) )
- end
- if IsValid(v) && v:LookupBone("ValveBiped.Bip01_L_Hand") != nil then
- v:ManipulateBoneAngles( v:LookupBone("ValveBiped.Bip01_L_Hand"), Angle(0,0,0) )
- end
- if IsValid(v) && v:LookupBone("ValveBiped.Bip01_R_UpperArm") != nil then
- v:ManipulateBoneAngles( v:LookupBone("ValveBiped.Bip01_R_UpperArm"), Angle(0,0,0) )
- end
- if IsValid(v) && v:LookupBone("ValveBiped.Bip01_R_Forearm") != nil then
- v:ManipulateBoneAngles( v:LookupBone("ValveBiped.Bip01_R_Forearm"), Angle(0,0,0) )
- end
- if IsValid(v) && v:LookupBone("ValveBiped.Bip01_R_Hand") != nil then
- v:ManipulateBoneAngles( v:LookupBone("ValveBiped.Bip01_R_Hand"), Angle(0,0,0) )
- end
- end
- end
- end
- hook.Add("Think", "ChangeBoneStuffThink", ChangeBoneStuffThink)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement