Thanks.
I actually doesn't know why I left ín the game that you can just walk trought the room tó the king
I realised that I could make that so you need to walk to the king or shoot him rather than going behind him.
I wanted to make that when you kill all the enemy you get 3 random card to choose from and from the choose card a random buff. But I didn't know how to do that so I just every level is a little bit faster.