Update: Moving Platforms
I have added a modular moving platform feature to the game. This will allow the platform to be set up anywhere and work as intended.
This is the code that sets the waypoints and gets the platform moving between them. It will also parent the player to the platform so that the player will move with the platform when they are on it.