Enemy Glitch help

i have made a enemy restart your game when you hit it. the only problem is that it restarts even if i havent hit it. game restarts when pressing play instantly.
please help

@“DPJ Studios” can you please post a link to your game so we can see whats wrong


Yes sorry for waiting a bit. the glitch is in lvl 2 the enemy that is supposed to restart the level.

wow Nevermind it works!! it didnt just seconds ago sorry!!!

Its actually still broken, currently the collision that triggers the message is set to “any type.” Change that to the player.

oh ok thx!!!

sorry i did it and i forgot to type anything to you! thx!!!