0% found this document useful (0 votes)
3K views5 pages

Mining Simulator Auto Script Guide

This document loads and configures a GUI for an automated mining script in the game Mining Simulator. It sets up toggles to enable features like auto-mining, auto-selling inventory, and auto-rebirth. When toggles are enabled, it will automatically mine nearby blocks, sell full inventory, and rebirth upon reaching coin thresholds.

Uploaded by

Marian Tofan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3K views5 pages

Mining Simulator Auto Script Guide

This document loads and configures a GUI for an automated mining script in the game Mining Simulator. It sets up toggles to enable features like auto-mining, auto-selling inventory, and auto-rebirth. When toggles are enabled, it will automatically mine nearby blocks, sell full inventory, and rebirth upon reaching coin thresholds.

Uploaded by

Marian Tofan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

local SELL_TRESHOLD = nil -- ONLY CHANGE THIS IF YOU HAVE INF BACKPACK.

local LocalPlayer = [Link]


local Rebirths = [Link]

print("Loading Mining Simulator GUI")


local OldGui = [Link]:FindFirstChild("Nice Flex But
OK")
if OldGui then
OldGui:Destroy()
end

local ScreenGUI = game:GetObjects("rbxassetid://4835603667")[1]


[Link] = true
[Link] = [Link]
[Link] = "Nice Flex But OK"

local TopBar = [Link]


local MainFrame = [Link]
local ExitButton = [Link]
local OpenButton = [Link]

local AutoSellToggle = [Link]


local FastMineToggle = [Link]
local AutoMineToggle = [Link]
local AutoBackpackToggle = [Link]
local AutoToolsToggle = [Link]
local AutoRebirthToggle = [Link]

local Remote = [Link]:InvokeServer()

local Toggles = {
AutoSell = false,
FastMine = false,
AutoMine = false,
AutoBackpack = false,
AutoTools = false,
AutoRebirth = false
}

local InventoryAmount =
[Link]
local CoinsAmount = [Link]

local function GetCoinsAmount()


local Amount = [Link]
Amount = Amount:gsub(',', '')

return tonumber(Amount)
end

local function GetInventoryAmount()


local Amount = [Link]
local Amount2 = [Link]
Amount = Amount:gsub('%s+', '')
Amount2 = Amount2:gsub('%s+', '')
Amount = Amount:gsub(',', '')

local stringTable = Amount:split("/")


local stringTable2 = Amount2:split("/")
return tonumber(stringTable[1]), tonumber(stringTable[2]), stringTable2[1],
stringTable2[2]
end

local Remote = [Link]:InvokeServer()

local Blocks = [Link]

AutoMineToggle.MouseButton1Click:Connect(function()
if Remote then
Toggles["AutoMine"] = not Toggles["AutoMine"]
if Toggles["AutoMine"] == true then
[Link] = "Disable"
while Toggles["AutoMine"] do
local Character = [Link]
local HumanoidRootPart =
Character:FindFirstChild("HumanoidRootPart")
if HumanoidRootPart then
local min = [Link] + [Link](-
10,-10,-10)
local max = [Link] +
[Link](10,10,10)
local region = [Link]([Link],
[Link])
local parts =
workspace:FindPartsInRegion3WithWhiteList(region, {[Link]}, 100) --
ignore part

for each, block in pairs(parts) do


if block:IsA("BasePart") then
local BlockModel = [Link]
Remote:FireServer("MineBlock",{{BlockModel}})
wait()
end
end
end
if not ScreenGUI then
break
end
wait()
end
else
[Link] = "Enable"
end
end
end)
AutoRebirthToggle.MouseButton1Click:Connect(function()
if Remote then
Toggles["AutoRebirth"] = not Toggles["AutoRebirth"]
if Toggles["AutoRebirth"] == true then
[Link] = "Disable"
else
[Link] = "Enable"
end
end
end)
AutoBackpackToggle.MouseButton1Click:Connect(function()
if Remote then
Toggles["AutoBackpack"] = not Toggles["AutoBackpack"]
if Toggles["AutoBackpack"] == true then
[Link] = "Disable"
else
[Link] = "Enable"
end
end
end)
AutoToolsToggle.MouseButton1Click:Connect(function()
if Remote then
Toggles["AutoTools"] = not Toggles["AutoTools"]
if Toggles["AutoTools"] == true then
[Link] = "Disable"
else
[Link] = "Enable"
end
end
end)
AutoSellToggle.MouseButton1Click:Connect(function()
if Remote then
Toggles["AutoSell"] = not Toggles["AutoSell"]
if Toggles["AutoSell"] == true then
[Link] = "Disable"
else
[Link] = "Enable"
end
end
end)
FastMineToggle.MouseButton1Click:Connect(function()
if Remote then
Toggles["FastMine"] = not Toggles["FastMine"]
if Toggles["FastMine"] == true then
[Link] = "Disable"
for each, block in pairs([Link]:GetChildren()) do
local Stats = block:FindFirstChild("Stats")
if Stats then
local Multiplier = Stats:FindFirstChild("Multiplier")
if Multiplier then
local ActualMultiplier =
Stats:FindFirstChild("ActualMultiplier")
if not ActualMultiplier then
local ActualMultiplier =
Multiplier:Clone()
[Link] =
"ActualMultiplier"
[Link] = Stats
end
[Link] = -1337
end
end
end
else
[Link] = "Enable"

for each, block in pairs([Link]:GetChildren()) do


local Stats = block:FindFirstChild("Stats")
if Stats then
local Multiplier = Stats:FindFirstChild("Multiplier")
if Multiplier then
local ActualMultiplier =
Stats:FindFirstChild("ActualMultiplier")
if ActualMultiplier then
[Link] = [Link]
end
end
end
end
end
end
end)
[Link]:Connect(function(Change)
if ScreenGUI then
if Toggles["AutoRebirth"] then
local Amount = GetCoinsAmount()
if Amount >= (1000000 *
([Link] + 1)) then
Remote:FireServer("Rebirth",{{
}})
end
end
if Toggles["AutoBackpack"] then
for i = 3, 50 do
Remote:FireServer("BuyItem",{{"Backpack",i}})
wait(0.1)
end
end
if Toggles["AutoTools"] then
for i = 1, 50 do
Remote:FireServer("BuyItem",{{"Tools",i}})
wait(0.1)
end
end
end
end)

[Link]:Connect(function(Change)
if ScreenGUI then
if Change == "Text" then
if Toggles["AutoSell"] then
local Amount, MaxAmount, AmountComma, MaxAmountComma2 =
GetInventoryAmount()
if SELL_TRESHOLD ~= nil then
MaxAmount = SELL_TRESHOLD
end
if Amount >= MaxAmount then
local Character = [Link]
if Character then
local HumanoidRootPart =
Character:FindFirstChild("HumanoidRootPart")
if HumanoidRootPart then
local SavedLocation =
[Link]
local SavedText = [Link]
while [Link] == SavedText
do
[Link] =
[Link](-116, 13, 38)
Remote:FireServer("SellItems",{{
}})
wait()
end
[Link] = true
while [Link] ~=
SavedLocation do
[Link] =
SavedLocation
wait()
end
[Link] = false
end
end
end
end
end
end
end)

[Link]:Connect(function(block)
if ScreenGUI then
if Toggles["FastMine"] then
local Stats = block:WaitForChild("Stats")
if Stats then
local Multiplier = Stats:WaitForChild("Multiplier")
if Multiplier then
local ActualMultiplier =
Stats:FindFirstChild("ActualMultiplier")
if not ActualMultiplier then
local ActualMultiplier = Multiplier:Clone()
[Link] = "ActualMultiplier"
[Link] = Stats
end
[Link] = -1337
end
end
end
end
end)

ExitButton.MouseButton1Click:Connect(function()
[Link] = false
[Link] = true
end)

OpenButton.MouseButton1Click:Connect(function()
[Link] = true
[Link] = false
end)
print("Subscribe to Enercept")

You might also like