Roller Coaster script

Hello! I want to make a roller coaster script, but I haven’t made one before and I need some experience on how to move the vehicle on a roller coaster. Which native do you recommend for this? I’ve browsed solutions, but only found one where the carriage movement is calculated one by one.