Make a door appear for next level

I’m trying to make the door for the next level appear after 5 gems/points are collected from the level and I can’t figure out how to make it happen. Any help is appreciated!

put a link please!

http://www.flowlab.io/game/play/582779

@henf25 You can search usernames now…

oh yeah i totally forgot @Latif3