As you can see in the video, how can I write a script for the movement like that?
to me this looks like roblox default movement
It’s just a car mesh (with i assume the meshpart being named a HumanoidRootPart), a Humanoid that is grouped together. Basically StarterCharacter but instead of composed of many parts, it just 1 single mesh of a truck.
So the player movement is the default player movement, nothing special.