script.Parent.Orientation = CFrame.new(5, 7, 5)
Very simple, im just new to CFrame.
script.Parent.Orientation = CFrame.new(5, 7, 5)
Very simple, im just new to CFrame.
You have to use part.CFrame * CFrame.Angles() since it's basically adding the angles and the position except you use multiplication instead of using +. Also, you're supposed to use math.rad since it converts radiance into degrees.
script.Parent.CFrame = script.Parent.CFrame * CFrame.Angles(math.rad(5), math.rad(7), math.rad(5))
This discussion is preserved as it was. New answers, comments, and votes are closed.
4 comments
try changing CFrame.new to Vector3.new
it now works
thanks
whats the difference?