you can copy my code if you like, as long as you credit me ( I unshared this a while ago because the bug I mentioned was fixed, I completely altered the code instead of fixing the bug in case you don't remember )
1. fixed some bugs and made it smoother 2. you can now die 3. you now have a countdown before you can lose another life or attack when hit 4. you don't instantly kill the enemy when you touch it unless you are kicking 5. you can kick left 6. new death animation 7. new bug. YAY!: you occasionally teleport while blinking ___________________________________________ update: lowered the amount of invincibility frames