Code:
function hudworks()
timer.Simple(.25,Turn)
timer.Simple(.25,Turn)
timer.Simple(.25,Turn)
timer.Simple(.25,Turn)
timer.Simple(.25,Turn)
timer.Simple(.25,Turn)
timer.Simple(.25,Turn)
timer.Simple(.25,Turn)
timer.Simple(.25,Turn)
timer.Simple(.25,Turn)
timer.Simple(.25,Turn)
timer.Simple(.25,Turn)
timer.Simple(.25,Turn)
timer.Simple(.25,Turn)
timer.Simple(.25,Turn)
timer.Simple(.25,Turn)
timer.Simple(.25,Turn)
timer.Simple(.25,Turn)
timer.Simple(.01,TurnBack)
end
function Turn()
LocalPlayer():SetEyeAngles(LocalPlayer():EyeAngles()-Angle(0,10,0))
end
function TurnBack()
LocalPlayer():SetEyeAngles(LocalPlayer():EyeAngles()-Angle(0,360,0))
end
concommand.Add("hud_test",hudworks)
Didn't check if it works,it should.