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

How could I make a Part spin around?

MagicSym = Instance.new("Part")
	for loop = 1, 9000 do
	MagicSym.CFrame = MagicSym.CFrame *CFrame.Angles(0, 0.5, 0)
	wait(1/25)
	end

The point of this script is to make a part rotate several times. Why does it not work? It does not give me a error.

1 comment

0

Here is a tip, use " while true do " for an Infinite Loop, and also, do not forget " wait()"

1 answer

✓ Accepted answer

You forgot to make parent workspace xD It should look like this (and for smoother turning put 0.001)

MagicSym = Instance.new("Part")
MagicSym.Parent = workspace
for loop = 1, 9000 do
    MagicSym.CFrame = MagicSym.CFrame *CFrame.Angles(0, 0.5, 0)
    wait(1/25)
end

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