Ok so ive read a few wiki articles about motors and rotation and all that and i went to implement my own through code by using the wiki example and for some reason its just not working at all can anyone help?
here is the code but i dont see anything thats wrong
script.Parent.Parent.Animate.Disabled = true
local n = script.Parent.Parent.Torso['Right Shoulder']
n.MaxVelocity = -.4
n.DesiredAngle = -math.pi
repeat
wait()
until math.ceil(n.CurrentAngle) == math.ceil(-math.pi)
n.MaxVelocity = .4
n.DesiredAngle = -.5
repeat
wait()
until math.ceil(n.CurrentAngle) == math.ceil(-.5)
script.Parent.Parent.Animate.Disabled = false

2 comments
How was that?
Thanks for that, It's really helping me!