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

Why isn't this changing an Orientation?? I got an error index nil with 'X'

Asked by 3 years ago

This is my script (part of it at least)

Object.PrimaryPart.Orientation = (CFrame.fromEulerAnglesXYZ(Plot.Orientation.X, Plot.Orientation.Y, Plot.Orientation.Z))

1 answer

Log in to vote
0
Answered by 3 years ago

I answered it myself..... i just used Vector3.new instead of CFrame... if anyone has the same question

Ad

Answer this question