I need help for a boss fight I'm making

I need help with code were the boss follows slow and does a huge ground pound