RunService CFrame System Creation & Questions

Hey everyone!

I have a big question that I would like to ask here on the DevForum. I want to work on a CFrame System that I can use to create things such as trains and theme park track rides. I am not sure how to do this though as I don’t have the most experience in lerping and tweening. I have heard over the time I have been developing other rides and attractions for groups that a lot of people use Heartbeat on RunService and tween or lerp. What do you think I should use?

To start off with I have a little track setup that I want the pink part to follow. How would I make a smooth system to accomplish this? I would also love to add different triggers (like spinning the pink block around) when it hits a certain point in the track. (All the track parts are numbered 1, 2, 3, etc…)

So ye I have really came here as I have been needing help on making a system like this FOR AGES!!! I just really need some guidance and hopefully someone who will be willing to full explain how it works and what I will have to do!

Here are some extra questions I would like to ask:

  • How would I make the system simulate the animations etc on the server but play them and sync them to all clients to make the smoothest ride possible?
  • How would I do something when the vehicle gets to a certain track point / number?
  • How can I make it so I can set different speeds for the pink block? For example, in the station it goes slow and then in the main course it is faster. I would also like it to gradually speed up (smoothly) from the station speed to the main course speed.

Anyway thank you for taking the time and reading this post and I hope someone can help me.

Thanks so much :slight_smile: