Protego

This bloc of code allows you to spawn an shield on the subject, which garantuees him invulnerability against all type of damage. The parameter determines how many time the protego stays on your subject before disappearing.