Bosses Abilities

i am trying to make a custom boss using a datapack and i want to make custom abilities i dont know how to i also want to know how to scedule the abilities so it happen at a certain time
Continue to help post