Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function rot()
- for _, pl in pairs(player.GetAll()) do
- if pl:GetActiveWeapon().VElements then
- if pl:GetActiveWeapon().VElements["AroundScope"] then
- pl:GetActiveWeapon().VElements["AroundScope"].angle.y = pl:GetActiveWeapon().VElements["AroundScope"].angle.y + 0.1
- end
- end
- end
- end
- function rot2()
- for _, pl in pairs(player.GetAll()) do
- if pl:GetActiveWeapon().VElements then
- if pl:GetActiveWeapon().VElements["AroundScope+"] then
- pl:GetActiveWeapon().VElements["AroundScope+"].angle.y = pl:GetActiveWeapon().VElements["AroundScope+"].angle.y + 0.1
- end
- end
- end
- end
- function rot3()
- for _, pl in pairs(player.GetAll()) do
- if pl:GetActiveWeapon().VElements then
- if pl:GetActiveWeapon().VElements["AroundScope++"] then
- pl:GetActiveWeapon().VElements["AroundScope++"].angle.y = pl:GetActiveWeapon().VElements["AroundScope++"].angle.y + 0.1
- end
- end
- end
- end
- hook.Add("Think", "RotateCog1", rot)
- hook.Add("Think", "RotateCog2", rot2)
- hook.Add("Think", "RotateCog3", rot3)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement