Compass & Closest Distance System
Features
The script continuously scans everything inside Workspace → Locations and calculates the distance from the player’s HumanoidRootPart. It compares all distances and selects the smallest value, meaning the system will always show the closest location. The distance label updates in real time as the player moves. If the nearest location is farther than 1000 feet, the text automatically hides. The compass slider moves according to the camera direction, giving players a smooth navigation reference.
Setup
Features
- Smooth real-time compass that rotates based on player camera

- Automatically detects all locations inside a “Locations” folder
- Always displays the closest location to the player
- Distance shown in feet (studs) for easy readability

- Distance only appears when under 1000 ft to keep UI clean
- Supports unlimited locations with no extra configuration
- Automatically switches targets when a new location becomes closer
- Lightweight and optimized for performance
- Easy to modify and setup
The script continuously scans everything inside Workspace → Locations and calculates the distance from the player’s HumanoidRootPart. It compares all distances and selects the smallest value, meaning the system will always show the closest location. The distance label updates in real time as the player moves. If the nearest location is farther than 1000 feet, the text automatically hides. The compass slider moves according to the camera direction, giving players a smooth navigation reference.
Setup
- Create a folder in Workspace named Locations
- Place Parts or Attachments inside the folder
- The system automatically begins tracking them
- No additional configuration required
- Exploration games
- Open-world navigation
- Waypoint systems
- Objective tracking
- HUD direction guidance

