I tried to change the parts angle, but it moves the position and the angle for some reason. Can someone tell me what I did wrong?
script.Parent.CFrame = CFrame.Angles(0, math.rad(45), 0)
I tried to change the parts angle, but it moves the position and the angle for some reason. Can someone tell me what I did wrong?
script.Parent.CFrame = CFrame.Angles(0, math.rad(45), 0)
-- i am not sure what CFrame.Angles really dos but here is what i came up with if you want to just change its rotation
script.Parent.CFrame = CFrame.fromEulerAnglesXYZ(15,15,51)
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
it still moves the part when i try using that code