How to do it when a player stands on a part animation has begun

I'm sorry for the mistakes