Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How would I go about creating a Chunkloader?

Asked by 5 years ago

Greetings, I am attempting to create a Chunk generator that loads a new area of the map
(essentially it’s teleport based to the new areas.)
When the player touches the trigger;

I’m having issues laying it out and working out exactly how I’m going to do it.
The requirements of the Chunk loader are:

  • To find the exact chunk in question.
  • To recognise where the Player has travelled from and return them to that point if they return to that chunk. (Incase there are multiple entrance points.)

Personally, my concept was along the lines of: ``` Humanoid.Touched:Connect(function(Obj) if Obj.Name == "ChunkLoader" then -- Checks for applicable values within, such as Chunk Name etc. else end end

``` My issue is primarily returning the Player to the point of entry etc. Due to potential change of location and so forth.

Answer this question