Thank you! Yeah I wanted to put a small invincibility time after you get hit to avoid that but didn't manage to do it in time...
P.S. I ended up following a shader tutorial by Muddy Wolf, its very similar to Brackeys