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

can somebody give me an example of a code to move a part around a right angle non stop?

Asked by 3 years ago

Can somebody help me with a code that can move a part around a right angle non stop? I am new here and I can just move it till the end of the right angle. thank you!

0
Do you know what loops are? radiant_Light203 1166 — 3y

1 answer

Log in to vote
0
Answered by 3 years ago

Try this:

while wait() do
    part.CFrame *= CFrame.Angles(math.rad(90),0,0)
end

This is just an example, it's probably not what you're trying to do.

Ad

Answer this question