Pretty sure you can just give the platform solid behavior and the player should stick even if it's moving. You can have a look at the default Platformer Example, there's an example of it there.
i gave the platform solid behavior. the player dooesnt stick to it