i’m trying to make a moving platform which player can stand still on. i tried using the BodyPosition method but i want it to just keep moving forward, similar to the game Bus Simulator, An infinite Road trip
1 Like
local object : Instance
local speed : Number
local linearVelocity = Instance.new(“LinearVelocity”)
linearVelocity.MaxForce = math.huge
linearVelocity.VectorVelocity = object.CFrame.lookVector * speed
linearVelocity.Parent = object
linearVelocity.Attachment0 = object