How to make a conveyor belt where the texture moves at the same speed as the player

I wish to make a travellator that moves players to a different point in a metro station, I already know about how to make the player move across it and how to make the texture move

what I want to know is how I sync these two things up so that the texture and the players on the travellator seamlessly move at the same speed

if anyone has made something like this before please show me how you do it

3 Likes

why dont you just experiment? if your belts are using the physics property then whatever the value is try that as a texture move speed

1 Like

Hey! So, I believe you’d just have to experiment with it using studio’s “Run” function. If you are using a tween for the texture, I’d suggest trying to set the time for the tween equal to the speed. This kind of value would depend on the tween / system of movement.

1 Like

managed to get this to work, thanks for the help (don’t worry I’ll put this in a different script somewhere else)

local Speed = script.Parent.AssemblyLinearVelocity.X
local Tween = game:GetService('TweenService'):Create(script.Parent.Texture,TweenInfo.new(script.Parent.Texture.StudsPerTileV / Speed,Enum.EasingStyle.Linear,Enum.EasingDirection.In,-1,false,0),{["OffsetStudsV"] = script.Parent.Texture.StudsPerTileV})
Tween:Play()
2 Likes

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