Hi bambuloid! As far as I know you have to make two rooms, identical except for the NPC presence. Then when you reach the exit if the random variable is 5 you will teleport to the room with the NPC, otherwise to the one without it! Hope is what you were looking for! ✨