Advertisement
Guest User

Untitled

a guest
Jan 16th, 2018
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.78 KB | None | 0 0
  1. function ChangeBoneStuffThink()
  2. for k, v in pairs(player.GetAll()) do
  3. if v:GetActiveWeapon().Base != "weapon_ds_base" then
  4. if IsValid(v) && v:LookupBone("ValveBiped.Bip01_L_UpperArm") != nil then
  5. v:ManipulateBoneAngles( v:LookupBone("ValveBiped.Bip01_L_UpperArm"), Angle(0,0,0) )
  6. end
  7. if IsValid(v) && v:LookupBone("ValveBiped.Bip01_L_Forearm") != nil then
  8. v:ManipulateBoneAngles( v:LookupBone("ValveBiped.Bip01_L_Forearm"), Angle(0,0,0) )
  9. end
  10. if IsValid(v) && v:LookupBone("ValveBiped.Bip01_L_Hand") != nil then
  11. v:ManipulateBoneAngles( v:LookupBone("ValveBiped.Bip01_L_Hand"), Angle(0,0,0) )
  12. end
  13. end
  14. end
  15. end
  16. hook.Add("Think", "ChangeBoneStuffThink", ChangeBoneStuffThink)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement