Updated script with timed invincibility powerup