How would I go about moving a part in a Single Direction using a CFrame to the right, while that part is being rotated on the x Axis?
for i = 1,10 do part.CFrame = part.CFrame * CFrame.new(0.1,0,0) part.CFrame = part.CFrame * CFrame.Angles(0.1,0,0) end
As the following code would change the direction of it's movement, due to the angle change
I found this worked in any direction
for i = 1,10 do part.CFrame=(part.CFrame+Vector3.new(0.1,0,0))*CFrame.Angles(0.1,0,0) wait() end
You can add multiple cframe conditions, as SirGory demonstrated above:
part.CFrame = part.CFrame * CFrame.new(0.1,0,0) * CFrame.Angles(0.1,0,0)