

Description
Crystal Farm — Automated Mining & Sales Script
A fully automated crystal mining loop with built-in safety systems, smart inventory management, and multi-server support. Built for hands-off farming sessions.
Core Mining
Auto pickaxe detection — reads your currently equipped pickaxe directly from your inventory data. No manual configuration, works automatically when you switch tools.
Value-priority targeting — scans all available crystals and mines the highest-value ones first.
Dual source scanning — picks up both naturally spawned crystals and crystals dropped by other players.
Precise mining — smoothly approaches each target and locks onto its exact position, tracking it even if it shifts mid-mine.
Inventory Management
Weight-aware farming — calculates your real carry capacity (including gear bonuses and buffs) and skips crystals that won't fit, rather than stopping outright.
Auto-sell on full — automatically travels to the seller and liquidates your inventory once capacity is reached, then resumes mining.
One-click manual sell — sell on demand at any time without waiting for the auto-trigger.
Sell confirmation — waits for the transaction to actually register before continuing, instead of guessing with a fixed delay.
Safety Systems
Low health failsafe — automatically sells and pauses farming if your health drops below a critical threshold, resuming only once you've recovered.
No fall/impact damage — built-in flight keeps you safely airborne while mining or traveling, eliminating fall damage entirely.
Auto popup dismissal — automatically closes revive and sell confirmation screens so the loop never gets stuck waiting on a prompt.
Multi-Server Support
Auto server hop — if the current server's best available crystal falls below your configured value threshold, the script automatically finds and joins a better one.
Smart server selection — filters out full and recently-visited servers, with a temporary cooldown list so you don't bounce between the same low-value instances.
Sell-before-hop safeguard — always liquidates your full inventory before switching servers, so nothing is lost in transit.
Auto-reload after hop — the script automatically re-launches itself in the new server, no manual re-execution needed.
Interface
Clean floating UI — minimal on-screen panel with a farm toggle and manual sell button.
Fully draggable — repositionable via a dedicated drag handle, won't interfere with clicking.
Hotkey support — toggle the entire farm on/off with a single keypress.
Fully Configurable
Every threshold, delay, and behavior is exposed as a setting near the top of the script — mining speed, health thresholds, server-hop value cutoff, travel speed, and more — so you can tune it to your playstyle without touching the core logic.
Game Page
Mine a Mountain
- Views
- 2.1K+
- Likes
- 4
- Dislikes
- 1
- Posted
- 1w ago
- Key System
- No
- Mobile
- Supported

Comments
Join the discussion about this script.
tungtunghook
https://pastefy.app/VaHGCokw/raw -- open source version