Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

How do I change CFrame on bricks?

Asked by 10 years ago

I started experimenting with it and did something like this:

game.Workspace.Part.Rotation.new = (0,10,0)

It did not do anything, and I am confused? Please help?

1 answer

Log in to vote
1
Answered by
1waffle1 2908 Trusted Badge of Merit Moderation Voter Community Moderator
10 years ago

Rotation is a property of BasePart, new is not a member of it. You're also trying to set one value to three variables when Rotation has to be a Vector3.

workspace.Part.Rotation=Vector3.new(0,10,0)
0
Thanks! Slicer39 5 — 10y
Ad

Answer this question