Cool puzzle idea, though I'm a bit confused how all the actions are supposed to work together. Somehow made the goblin run in loops too which was pretty funny.