How to script a background looking like it is infinitely moving while vehicle is staying still

Hey everyone, this is kind of my last resort, and I hope I can receive some help here. I have a vehicle (train in this case) that I want to remain still, while the background looks like it is infinitely moving. How may I go about doing this? Thanks for your time.

1 Like

You could just use TweenService.
Simply tween your background linearly from back to front, and when the tween ends, simply reset the CFrame of your background and repeat.

1 Like

Roblox actually has a built-in mechanism for doing this. Problem is that it’s limited to images. You could, however, use multiple beams at different speeds to give a sense of depth.

If it’s a part, you’d have to check out TweenService as @sixfalls mentioned.

If it’s a model, you’d have to use TweenService but it gets a bit more complicated. I recommend this article:

1 Like