endless hallway silent hill pt door


I want to make a small scene in my game where I recreate the door teleporting scene from silent hill pt,
but since I don’t know any coding I would like to at least know how is it done.

Is it teleporting the player to the beginning of the level or recreating multi-levels or and coding envolving into making it.

The original doesn’t involve teleporting, they use culling to spawn new hallways and get rid of old ones