Moving platforms that move the player character

Maybe this thread can help: [SOLVED] Glitchy elevator physics