How can I make the player invincible while attacking?

I want the player to be invincible while attacking, but I’m kind of stupid so i need help. I guess i could disable collisions while attacking or something, but I’m kind of stupid so i don’t know how to do that.

2 Likes

you can use the Enable block to disable an objects physics and collisions.

2 Likes

You can use the Enable behavior like BradenS said (This can be found in the Property section) or you could use a Switch to turn off damage. You would do this by having whatever makes you take damage go through a switch, then when you are attacking turn that switch off.

1 Like

WalterWhiteWalterGIF

2 Likes

Who’s that I don’t know a BrandenS

1 Like

every misspelling of my name (it happens so much)
brayden
bradon
braydon
branden
brandon

1 Like

That’s just how I pronounce it when I read your name so I spelled it like that, but looking at your name I’ve been pronouncing it wrong

1 Like