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

Why isnt this line of code rotating the part?

Asked by 6 years ago

I am just confused as to why this 1 line of code isnt rotating the part, this is like the easiest question ever so its free rep XD

HitBox.Orientation = Vector3.new(90,450, 45)

Anyone know?

Thank you for your time

1 answer

Log in to vote
0
Answered by 6 years ago

try this:

HitBox.CFrame = CFrame.FromEulerAngles(90, 450, 45)

hope this helped

Ad

Answer this question