Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

How would i make a part rotate constantly?

Asked by 5 years ago
Edited 5 years ago
While wait() do
script.Parent.CFrame = CFrame.fromEulerAnglesXYZ(1,0,0)
end

1 answer

Log in to vote
1
Answered by 5 years ago
Edited 5 years ago
While wait() do 
    script.Parent.CFrame = script.Parent.CFrame *CFrame.fromEulerAnglesXYZ(1,0,0) 
end
Ad

Answer this question