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

CFrame not working well, the position is being messed with when I'm only touching the angle. ?

Asked by 6 years ago
script.Parent.CFrame = CFrame.Angles(10,10,10)

The part was initially in the sky but as soon as I run this code, the block spawns inside the baseplate. I am only changing the angle but it also changes the position. Please help!

1 answer

Log in to vote
0
Answered by 6 years ago

You need to remind it what position it has.

script.Parent.CFrame = CFrame.Angles(10,10,10) + script.Parent.Position
0
Thank you! GodOfRBLX 21 — 6y
Ad

Answer this question