Help Needed

I’m making a 3D game and I can’t figure out how to fix a bug when you go through the purple portal the tilemap doesn’t work please help. https://makecode.com/_72ygzbDvpbjf

Sorry I don’t do a lot of 3D stuff maybe @AqeeAqee can help

Hi @RoBo !
image

As showing in these blocks, after you go through the pruple portal, the new tilemap has been be set. But then, you placed myself onto the blue tile, that triggered the “on player overlaps blue tile”, and tilemap be replaced with a empty one.