I have a Jet and i made a script and put in there so it looks like its flying but its actually running CFrames really fast, but then when i play it flies sideways, its a mesh Jet by the way and it has a invisible block in it that i cant ungroup from the jet or move without moving the jet. How would i make it so the jet flies straight?
while true do
for i = 1000, -1000, -20 do
workspace.p.CFrame = CFrame.new(Vector3.new(i, 20, 0))
wait(.001)
end
end

7 comments
You need to base the new cframe off of the lookvector of the part.
How do i do that?
Actually, which side of the aircraft is forward? X axis, or Z?
x
Is that the orientation of every part in the aircraft? Or, more specifically, the part you use to move it?
the part
I found a way but i can't get it completely straight..