It was fun but its better to set player as a child of a platform so whenever platform is moving player will move with it too.