RPG-Tutorial
RPG-Tutorial copied to clipboard
New issue- I was able to fix previous problem with the enemystats.die but i have a new problem with the player and enemy dying at the same time.
When I get either the enemies health or the players health down to 0, when either one of them dies, the scene is reset. But I am wanting the scene to reset only if the player dies not the enemy. Can anyone help me fix this problem, I have a feeling it either to do with the character stats, enemy stats, enemy or player manager-script.