I was trying to make a part rotate 180 times but it gives me this error
for i = 1,180 do
player["Right Arm"].CFrame = CFrame.Angles() + Vector3.new(0,0.1,0)
wait ()
end
the error is Missing 3 arguments or nil. Please help
I was trying to make a part rotate 180 times but it gives me this error
for i = 1,180 do
player["Right Arm"].CFrame = CFrame.Angles() + Vector3.new(0,0.1,0)
wait ()
end
the error is Missing 3 arguments or nil. Please help
Here ya go. You can just move math.rad to the other arguments if what I gave isn't on the right axis you want to rotate by.
for i = 1,180 do
player["Right Arm"].CFrame = player["Right Arm"].CFrame * CFrame.Angles(0,math.rad(i),0)
wait ()
end
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
Thanks