Well that was actually way easier than I expected lol. I added 0.75 seconds of immunity time whenever you get hit