Run it
Copy the script and paste it into your executor.
oresFolder = .CurrentGame.Important.Ores
player = .Players.LocalPlayer
runService = :()
Library = (:(, ))()
Flags = Library.Flags
remotes = {
Mine_RE = :().CurrentGame.Tools.ToolHandlers_o.Shovel.Mining.Mining_m.Mine_RE,
FreeRevive = :().CurrentGame.UI.Death.Death_m.UseFreeRevive,
RemoveLava = .CurrentGame.Important.LavaPockets,
ClaimFinalChest = :().CurrentGame.Shops.FinalChest.FinalChest_m.ClaimFinalChest,
SellOres = :().CurrentGame.Shops.Sell.Sell_m.SellInventory
}
ignoredOres = { Coal = , Iron = , Rock = , Steel = }
Window = Library:({Text = })
Window:({
Text = ,
Flag = ,
Callback = (bool) Flags.FarmToggle = bool
})
Window:({
Text = ,
Callback = ()
_, v (.CurrentGame.Important.Napalm:())
remotes.Mine_RE:(v)
})
Window:({
Text = ,
Callback = () remotes.FreeRevive:()
})
Window:({
Text = ,
Callback = () remotes.RemoveLava:()
})
Window:({
Text = ,
Callback = () remotes.ClaimFinalChest:()
})
Window:({
Text = ,
Callback = ()
_, v (.CurrentGame.SpawnPool:())
v:() v.Name ==
highlight = .()
highlight.Adornee = v
highlight.Parent = v
highlight.OutlineTransparency =
highlight.FillTransparency =
highlight.FillColor = .(, , )
highlight.OutlineColor = .(, , )
})
Window:({
Text = ,
Callback = () remotes.ClaimFinalChest:()
})
Window:({
Text = ,
Flag = ,
Callback = (bool) Flags.AutoSellToggle = bool
})
()
Flags.FarmToggle
character = player.Character player.CharacterAdded:()
humanoidRootPart = character:()
humanoidRootPart
closestOre, closestDistance = , .huge
_, ore (oresFolder:())
ore:() ore:() ignoredOres[ore.Name]
distance = (humanoidRootPart.Position - ore.Base.Position).Magnitude
distance < closestDistance
closestDistance = distance
closestOre = ore
closestOre
humanoidRootPart.CFrame = closestOre.Base.CFrame
remotes.Mine_RE:(closestOre.Base.CFrame, .Material.Air, (), (), closestOre.Base)
()
Flags.AutoSellToggle
remotes.SellOres:()
.()
(autoSellOres)
runService.Heartbeat:(mineClosestOre)
Loads code from the internet. It downloads more code when it runs (loadstring + HttpGet), which can change after it was posted. From: raw.githubusercontent.com.