How do i make this part that moves the player? (See attached Video)

See attached video

i know this is very trivial and all, but i tried making it by using Player:MoveTo

part = script.Parent

part.Touched:Connect(function(Hit)
	char = Hit.Parent
	char:MoveTo(char:MoveTo(Hit.Position+Vector3.new(0,0,0.01)))
end)

but the displacement isn’t smooth and is relative to characters position. How would i make such part?

1 Like

You mean a moving conveyer belt?
Something like this could do:

local speed = 14 
while task.wait(0.1) do
    script.Parent.Velocity = script.Parent.CFrame.lookVector * speed
end

I hope this helps

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.