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

How would I edit a blocks rotation instead of position?

What the title says!

2 answers

✓ Accepted answer

You have two options. First is to edit a part's Rotation property.

workspace.Part.Rotation = Vector3.new(50,50,50)

The second way to to use CFrame.Angles(). This is basically the same as Rotation, except it's a CFrame, not Vector3. This will also make the part ignore other parts - it will just go through them.

workspace.Part.CFrame = CFrame.Angles(50,50,50)

while true do wait() workspace.BrickName.Rotation = Vector3.new(0,0,0) wait(1) workspace.BrickName.Rotation = Vector3.new(0,90,0) end

Try this :)

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