The best way to load the player into a different area?

I’m making a game where the player can find portals to new areas, however, I do not want to teleport the player to a new place, and I also don’t want the player to lag from too many parts, since I’m making the terrain look unique, I’m afraid too much of it will cause lag. The way I thought to fix this issue was to take the area that the player is currently in and parent all terrain, and other parts to server storage. Is this the best way to do this?

2 Likes

You can load maps on the client as well as use StreamingEnabled to show parts within a set range.

1 Like

So this is the correct way to do this? Also, I don’t need StreamingEnabled since the map itself doesn’t cause any lag I was just afraid too many other areas would.

You can make a script that does this:

  1. Freeze player and bring up loading GUI when the player touches an invisible trigger/portal
  2. Delete previous map chunk model
  3. Load next chunk model
  4. Unfreeze player, remove GUI, bring over any nessecary models/stats

Kinda like how old school RPGS do it
And make it local so that nobody else is affected by it

1 Like