I am making a level where if the player kills all Goombas in the level, then some blocks disappear, and open up a path. How can I make this happen? Thanks for the help in advance!
You don't need lua for this, it's very simple. Just put the blocks on their own layer, and make an event that makes them disappear, Now put the goombas on their own layer, right click any goomba and click properties. Then, click the dropdown by "layer is empty" and select the event.