How do I make a part move?

For some reason I tried using BodyVelocity it doesn’t work. I even only tried to move a single part using BodyVelocity, and it still doesn’t move. The part is unanchored.

You need to set it’s maxforce, and velocity. e.g

local part = Instance.new("Part")
part.Parent = workspace
part.Position = Vector3.new(0,5,0)

local bodymover = Instance.new("BodyVelocity")
bodymover.MaxForce = Vector3.new(1,1,1) * math.huge
bodymover.Velocity = part.CFrame.LookVector * 5
bodymover.Parent = part

Let’s say I want to make a moving car and players will cross the road. How can I make sure that the car stays on the path when player touches/jumps on it?

for that i suggest you use either a bodyvelocity + bodygyro so you can both turn & move the car either that or do the old fashioned anchor and lerping methods.

what you want to do though, is simply just have points on the road where the car’s supposed to go. then you could just check which points the nearest and start from there.