Disable collision for a short period of time

hello…again I’m pretty new to coding so I’m making a boss fight and need a short invincibility buff. I’m thinking of disabling the collision or getting rid of the projectile’s hitbox for a short period of time can’t think of anything rn