I finished a project on my first month anniversairy of programming.
It was an area that detects whenever a player enters the area, proceeding to save and wipe the inventory, handing a sword to the player instead, making it the only thing you have in your backpack.
Upon exiting, it takes the sword away from the player and gives back their inventory before they entered the area. I made sure that the transition between exiting and entering was extremely slim, making it bug-free of spamming as shown in the video.
However, if you die, it will do the same as exiting, but the player gets spawned at “Fight Area Spawnpoint” (red spawns in image), randomly picked between the four available spawns. Dying outside of the fighting area will respawn you on one of the white spawnpoints.
I’m very proud of it.
It would not have been possible without the amazing Module from @ForeverHD, handling the detection of the area in the area:
