-- INSTRUCTIONS FOR REx: Reincarnated ORE ESP + ORE TP Miner by 90467
-- 1. Change the "excludedOres" below for each world to however you like it. I removed most of the useless ores, but you are free to remove more ores or add them back.
-- 2. If you want to see the ore outline, you can enable it by changing "showBox" to true.
-- 3. You can press "9" on your keyboard to teleport on top of any safe random ore and mine it.
-- 4. If you have all of your settings and excludedOres ready, hit execute! Enjoy the script!
-- Note: There is now a 200 stud safety net for the randomTP function. This will make sure the ore has nobody within 200 studs from it before attempting to mine it. This should make this script a LOT safer to use and prevent bans.
local showBox = false -- Change to true if you want to see ore box outline. Off by default for performance.
if game.PlaceId ==8549934015 then -- Normal World, remove or add to the excludedOres as needed
excludedOres = {"Magma", "Stone", "Copper", "Basalt", "Amber", "Diorite", "Coal", "Crystallized Stone", "Nickel", "Bedrock", "Gold", "Granite", "Iron", "Marble", "Etherstone", "Prismatistone","Silver","Obsidian","Ice","Voidstone","Ruby","Celestone","Mantle","Goldstone","Barrier","Quartz","Reflectistone","Emerald"}
else
if game.PlaceId ==10129505074 then -- Moon World, remove or add to the excludedOres as needed
excludedOres = {"Moon Stone", "Tin", "Moon Mantle", "Jasper", "Aluminum", "Moon Core", "Zinc", "Coal", "Magma", "Copper", "Titanium", "Legacy Uranium", "Lithium", "Nickel", "Quartz", "Gold", "Tourmaline","Jade","Silver","Lapis Lazuli","Bismuth","Nebula","Strontium","Scandium","Platinum","Amethyst","Barrier","Garnet","Cobalt","Emerald","Heliodor","Aquamarine","Topaz","Diamond","Beryllium","Morganite","Ruby","Rocc","Moonrock","nil"}
end
end
local folder = game:GetService("Workspace").Mine local Players = game:GetService("Players") local LocalPlayer = Players.LocalPlayer local CoreGui = game:GetService("CoreGui") local inProgress = false local function isValidName(name) for _, validName in pairs(excludedOres) do if name == validName then return false end end return true end local function createESP(primary, distance) local player = game:GetService("Players").LocalPlayer local rootPart = player.Character.HumanoidRootPart if showBox then local box = Instance.new("BoxHandleAdornment", game.CoreGui) box.Adornee = primary box.AlwaysOnTop = true box.Color = primary.BrickColor box.ZIndex = 10 box.Size = primary.Size + Vector3.new(0.1, 0.1, 0.1) local function handleRemovedEvent() box:Destroy() connection:Disconnect() end primary.AncestryChanged:Connect(function() if not primary:IsDescendantOf(game.Workspace) then handleRemovedEvent() end end) end local billboard = Instance.new("BillboardGui", game.CoreGui) billboard.Adornee = primary billboard.AlwaysOnTop = true billboard.Size = UDim2.new(0, 100, 0, 60) billboard.StudsOffset = Vector3.new(0, 3, 0) local nameLabel = Instance.new("TextLabel", billboard) nameLabel.BackgroundTransparency = 1 nameLabel.Size = UDim2.new(1, 0, 0.225, 0) nameLabel.Text = primary.Name nameLabel.Font = Enum.Font.GothamSemibold nameLabel.TextColor3 = primary.Color nameLabel.TextScaled = true local distLabel = Instance.new("TextLabel", billboard) distLabel.BackgroundTransparency = 1 distLabel.Size = UDim2.new(1, 0, 0.175, 0) distLabel.Position = UDim2.new(0, 0, 0.225, 0) distLabel.Text = "Distance: " .. math.floor(distance) distLabel.Font = Enum.Font.GothamSemibold distLabel.TextColor3 = primary.Color distLabel.TextScaled = true local connection = game:GetService("RunService").Heartbeat:Connect(function() local newDistance = (rootPart.Position - primary.Position).magnitude distLabel.Text = "Distance: " .. math.floor(newDistance) end) return {Gui = billboard, Connection = connection, HandleRemovedEvent = handleRemovedEvent} end function isOreExcluded(block) if block:IsA("BasePart") and isValidName(block.Name) then local distance = (game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.Position - block.Position).magnitude createESP(block, distance) else block.Transparency = 0.3 end end function randomTP(folder) local Target = game:GetService("ReplicatedStorage").MineOre; local player = game:GetService("Players").LocalPlayer local humanoid = player.Character:FindFirstChildOfClass("Humanoid") local validBlocks = {} for _, block in pairs(folder:GetChildren()) do if isValidName(block.Name) then local isOccupied = false for _, otherPlayer in pairs(game:GetService("Players"):GetPlayers()) do if otherPlayer ~= player then local otherHumanoid = otherPlayer.Character and otherPlayer.Character:FindFirstChildOfClass("Humanoid") if otherHumanoid and (otherHumanoid.RootPart.Position - block.Position).magnitude 0 then local randomIndex = math.random(1, #validBlocks) local randomBlock = validBlocks[randomIndex] humanoid.RootPart.CFrame = randomBlock.CFrame + Vector3.new(0, 15, 0) inProgress = true wait(0.025) player.Character.Torso.Anchored = true repeat wait(0.15) if randomBlock.Parent == nil then break end Target:InvokeServer(randomBlock) until false game:GetService('StarterGui'):SetCore("SendNotification", {Title = "Ore ESP + TP Miner", Text = "Mined " .. randomBlock.Name}) inProgress = false player.Character.Torso.Anchored = false else game:GetService('StarterGui'):SetCore("SendNotification", {Title = "Ore ESP + TP Miner", Text = "No Safe Ores Available!"}) end end for _, part in pairs(folder:GetChildren()) do part.Transparency = 0.3 isOreExcluded(part) end folder.ChildAdded:Connect(isOreExcluded) local UIS = game:GetService("UserInputService") UIS.InputBegan:Connect(function(k) if k.KeyCode == Enum.KeyCode.Nine then if inProgress == false then randomTP(folder) else print("Please wait a moment") end end end)