Installation Guide

Step-by-Step Installation Process

1. Organize the Map

This separates the world into "Chunks" that the script can move in and out of memory.

  1. Create a Folder in Workspace named MapChunks.

  2. Break your map into sections (Folders or Models).

  3. Move these sections into the MapChunks folder.

2. Tag the Chunks

This tells the script which folders are part of the map so it doesn't accidentally hide players or UI.

  1. Select all your chunk folders inside MapChunks.

  2. In the Properties window, click Add Attribute.

  3. Set the Name to IsChunk, the Type to boolean, and check the box so it is true.

3. Set Pivot Points

  1. Select each chunk.

  2. Go to the Model tab and click Edit Pivot.

  3. Center the pivot on the chunk so the distance check is accurate.

4. Install Script

Create a LocalScript in StarterPlayerScripts and paste the code below.

Last updated

Was this helpful?