What I want the script to do is every 1 second rotate the brick +1 on the Y axis
Workspace.Part1.BodyGyro.cframe = CFrame.Angles(0,0,0)
wait(1)
--[[I tried CFrame.Angles(0,0,0) = CFrame.Angles(0,+1,0) But It wont work]]
What I want the script to do is every 1 second rotate the brick +1 on the Y axis
Workspace.Part1.BodyGyro.cframe = CFrame.Angles(0,0,0)
wait(1)
--[[I tried CFrame.Angles(0,0,0) = CFrame.Angles(0,+1,0) But It wont work]]
wait(1)
Workspace.Part1.BodyGyro.cframe = Workspace.Part1.BodyGyro.cframe * CFrame.Angles(0,math.rad(1),0)
You have to use math.rad function, because CFrame.Angles requires radians, instead of degrees.
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
Thanks! Really Appreciate the help!