Thanks for your reply. I had a ground check but forgot set up a layermask.
I knew i dont have alot of time so I just wanted to make something. Player does die, he has 100 hp and u take 10 damage, but you have to go away from and hit him again to take damage, if u stand still u r invincible. But nothing happens when player dies and the game continous.
Really apreciate that you played the game.