Player Glitches on Moving Part Using CFrame

So, I have this ship that uses CFrame which then automatically makes the ship move into a certain direction. However, when a player is on the ship, instead of moving along with the ship, they glitch out and move off the ship. How would I make it where the player smoothly stays on the ship while it moves? I heard people tell me about “BodyMovers”, but I don’t really know what they are, or how to use them. (I’m not an experienced scripter, so I don’t know this stuff.)

Below is a YouTube link of what I mean by the player glitching off the ship. Does anyone know how to fix this, so the player doesn’t have to sit down to stay on the ship as it moves?

Hi, after watching this video, it clearly shows that you are using TweenService to move the ship with CFrames. I suggest using BodyMovers. BodyPosition and BodyGyro.
BodyPosition will position the instance it is parented in, and it will position it to the position of the BodyPosition, and BodyGyro applies a rotational force to a part, so you can use that for rotations. I hope this helped!

I personally wouldn’t use Roblox Physics to achieve a ship effect. I’ve seen many other topics on similar instances, and they always have figured it out while still using Cframe/TweenService. I recommend checking some of those out.

I’m using TweenService? Here is my code which I included with the model:

for i = 0,100,.1 do
script.Parent:TranslateBy(Vector3.new(-2,0,0))
wait()
script.Parent:TranslateBy(Vector3.new(-2,0,0))
wait()
script.Parent:TranslateBy(Vector3.new(-2,0,0))
wait()
end

Would that code be conidered “TweenService”?

TweenService is an actual service with actual functions, not a concept.

Well, how would I implement TweenService into my game for it work with my issue?

Body Position is what you want friend

Well, I’m not an experienced scripter, and I don’t really script at all… so how would I implement Body Position into the whole cargo ship model for it to move the player smoothly while on it?

You can make a PrimaryPart for the ship, then you can weld all the ship parts to PrimaryPart.