How would I make it so the player moves along with the platform instead of sliding off?

Hey there, recently ive been working on my game and in the process, have no idea how to make a player move along with an object, ive seen other games do it, but I can not figure it out for the life of me, here is an example of what I want to achieve, I would like to try on my own, but have no pointers on what I should do.


Im pretty sure that just using body movers is enough to keep the player on, I think that using tweening/ adjusting cframe teleports the part under the feet instead of actually moving it so you don’t stick on.

I’m suprised you didn’t look into Roblox’s own tutorial video on a moving platform, but to make it easier for you here’s the code since it’s really quite basic since the BodyPosition’s position is being iterated between to parts.

local Platform = script.Parent
local BodyPosition = Platform.BodyPosition

local Part0 = workspace.Part0 
local Part1 = workspace.Part1

local WaitTime = 5

while true do
	BodyPosition.Position = Part0.Position
	BodyPosition.Position = Part1.Position


1 Like

Wow thanks, this is extremely helpful.