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

How would I make a brick spin???

I cant get it if i want to make it spin on x/Y/Z If you make it Can you make it so I can edit the x y or z angle its spinning on

2 answers

Don't use 22ron's. Your game will crash. Here is the fixed version:

local part = script.Parent
while wait() do
	part.CFrame = part.CFrame * CFrame.Angles(0,math.pi/10,0);
end
local Block = script.Parent --Defines where the part is
 

while true do
       Block.CFrame = Block.CFrame * CFrame.Angles(0, 0, 0)-- put the X,Y,Z values in here (X, Y, Z)
end

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