Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How do I make stuff spin like a brick?

Maybe just a basic brick I need to know that thank you for replying.

2 answers

Well there are two ways of going about this.

One, using BodyAngularVelocity. It's very smooth and preferable for a constant spin cycle.

Two, CFraming the part to rotate. It's more choppy but easier to manipulate to your uses if you want a complicated task of rotation(if you know what you're doing of course).

Overall your question is pretty broad, like.. how do you want it to spin? How long? What time? Activated by something? Broad questions will recieve broad answers. I hope this will suffice though, tell me if nout.

-Goulstem


x = script.Parent

for loop = 1, 1000000000000000000000000000000000000000000000000000000000000000 do --Determines the timing

x.CFrame = x.CFrame *CFrame.Angles(0.1, 0.1, 0.1) --Determines the speed of each axis
wait(1/25)

end

2 comments

0

Sorry I wrote the script wrong

0

He's wondering how to do this. Don't just give the answer, that doesn't teach him anything.

This discussion is preserved as it was. New answers, comments, and votes are closed.