How to make an AI open a level when overlaping player.

Update! I switched the level to generate a widget instead of the level, and it fixed.