So I was wondering how would I make a brick spin in place? Like I have a blue block floating in the Air, how would I go about making it spin around?
✓ ANSWER ACCEPTED
How to make a brick Spin?
2 answers
✓ Accepted answer
--Newly made script for you, Res --Spinning Block/Part by badAQWmaster (Put in anything to make it spin) Green texts show you what they mean or indicate a warning --Put this script in a block, part or a spawn or it won't work
local X --
local Y ---> Don't edit these.
local Z --/
-- Rotations per frame:
X= -- Degree of rotation per frame on X Axis:
0.5
Y= -- Degree of rotation per frame on Y Axis:
0.5
Z= -- Degree of rotation per frame on Z Axis:
0.5
-- NOTE: A frame is usually around 0.03 seconds.
function start() while (true) do script.Parent.CFrame = script.Parent.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(X),math.rad(Y),math.rad(Z)) wait() -- When no number is provided, it will wait for one frame. | | | end -- | | [Z=Roll] end -- | [Y=Rotation] -- [X=Pitch] start()
Use BodyForce, or have a script change the part's X cframe position.
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
Thanks a ton!