Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Synapse Only
- -- Made by: Racist Dolphin#5199
- -- Please don't leak the loadstring, I put a lot of work and time into this gui. I'm sure you wouldn't want your script leaked so don't do it to others :)
- -- If only LuaSecure didn't break this script :(
- local ps = game:GetService("Players")
- local i = game:GetService("UserInputService")
- local r = game:GetService("RunService")
- local cg = game:GetService("CoreGui")
- local sg = game:GetService("StarterGui")
- local p = ps.LocalPlayer
- local c = p.Character
- local mo = p:GetMouse()
- local b = p:FindFirstChild("Backpack") or p:WaitForChild("Backpack")
- local g = p:FindFirstChild("PlayerGui") or p:WaitForChild("PlayerGui")
- p.CharacterAdded:connect(function(char)
- c = char
- end)
- local m = getrawmetatable(game)
- make_writeable(m)
- local oldindex = m.__index
- local oldnamecall = m.__namecall
- local InstantMine = false
- local MineAnyBlock = false
- local AutoSell = false
- local SavedPosition = nil
- local SellInventory = false
- local FreeSKip = false
- local AutoRebirth = false
- local AutoEquipEgg = false
- local AutoClick = false
- local AutoSellAmount = 100000
- local NewInstantMine = true
- local coins, inventory, equipped, ownedItems, offer, rebirths, skins, skinEquipped, pets, crates, favorites, hatInventory, wearing, visibleHats, eggHuntStuff, eggPackBought, quests = game.Workspace.RemoteFunction:InvokeServer("GetStats")
- local GetStatsTick = tick()
- local GetPetInventoryTick = tick()
- local ResetAutoClick = tick()
- local AutoBuyTick = tick()
- local SpinningCrates = false
- local CurMap = workspace:FindFirstChild("Map") or workspace:FindFirstChild("SpaceMap") or workspace:FindFirstChild("Candyland") or workspace:FindFirstChild("Toyland") or workspace:FindFirstChild("FoodLand") or workspace:FindFirstChild("Dinoland")
- local Maps = { [tostring(CurMap)] = CurMap }
- function SetCurFrame(Frame)
- for i, v in next, getreg() do
- if type(v) == "function" then
- for i2, v2 in next, debug.getupvalues(v) do
- if i2 == "currentFrame" then
- debug.setupvalue(v, "currentFrame", Frame)
- end
- end
- end
- end
- end
- function BackpackFull()
- local Backpack = c:FindFirstChild("Backpack")
- if Backpack then
- local Txt = Backpack:FindFirstChild("Decore")
- if Txt then
- Txt = Txt:FindFirstChild("Count")
- if Txt then
- Txt = Txt:FindFirstChild("SurfaceGui")
- if Txt then
- Txt = Txt:FindFirstChild("Amount")
- end
- end
- end
- if Txt then
- local Cur, Max = string.match(Txt.Text, "(%d+)/(%w+)")
- if string.find(Max, "inf") then
- Max = AutoSellAmount
- end
- Cur, Max = tonumber(Cur), tonumber(Max)
- if Cur >= Max then
- return true
- else
- return false
- end
- end
- end
- return false
- end
- function EggEquipped()
- local FindPet = c:FindFirstChild("Pet")
- if FindPet then
- FindPet = FindPet:FindFirstChild("Fake")
- end
- if FindPet then
- if string.find(string.lower(FindPet.Value), "egg") then
- return true
- end
- end
- return false
- end
- function EquipEgg()
- if (tick() - GetPetInventoryTick) > 2.5 then
- GetPetInventoryTick = tick()
- local MyPets = game.Workspace.RemoteFunction:InvokeServer("getPD")[12]
- for i, v in next, MyPets do
- local Pet = MyPets[i][1]
- if string.find(string.lower(Pet), "egg") then
- for i2 = 0, 5 do
- game.Workspace.RemoteEvent:FireServer("equipPet", MyPets[i])
- wait(0.1)
- end
- break
- end
- end
- end
- end
- function GetMaps()
- for i, v in next, getnilinstances() do
- local Str = tostring(v)
- if Str == "Map" or Str == "SpaceMap" or Str == "Candyland" or Str == "Toyland" or Str == "FoodLand" or Str == "Dinoland" then
- Maps[Str] = v
- end
- end
- end
- function PrintTables(T)
- for i, v in next, T do
- if type(v) == "table" then
- print("TABLE: " .. tostring(i))
- PrintTables(v)
- end
- warn(i, v)
- end
- end
- function spairs(t, order)
- -- collect the keys
- local keys = {}
- for k in pairs(t) do keys[#keys+1] = k end
- -- if order function given, sort by it by passing the table and keys a, b,
- -- otherwise just sort the keys
- if order then
- table.sort(keys, function(a,b) return order(t, a, b) end)
- else
- table.sort(keys)
- end
- -- return the iterator function
- local i = 0
- return function()
- i = i + 1
- if keys[i] then
- return keys[i], t[keys[i]]
- end
- end
- end
- function InitGui()
- repeat wait() until g:FindFirstChild("Chat")
- -- Objects
- local Mining_Simulator = Instance.new("ScreenGui")
- local MainFrame = Instance.new("Frame")
- local Title = Instance.new("TextLabel")
- local design = Instance.new("Frame")
- local buttons = Instance.new("Frame")
- local InstantMineToggle = Instance.new("TextButton")
- local MineAnyBlockToggle = Instance.new("TextButton")
- local SavePosition = Instance.new("TextButton")
- local LoadPosition = Instance.new("TextButton")
- local CurrentPosition = Instance.new("TextLabel")
- local AutoSellAdjust = Instance.new("TextButton")
- local FreeSkipToggle = Instance.new("TextButton")
- local AutoClickToggle = Instance.new("TextButton")
- local OpenShop = Instance.new("TextButton")
- local SellInventoryButton = Instance.new("TextButton")
- local SpinAllCratesButton = Instance.new("TextButton")
- local AutoRebirthToggle = Instance.new("TextButton")
- local SellNonLegendaryHats = Instance.new("TextButton")
- local BuyEpicCrateButton = Instance.new("TextButton")
- local AutoSellToggle = Instance.new("TextButton")
- local BuyEpicEggsButton = Instance.new("TextButton")
- local SellNonLegendarySkins = Instance.new("TextButton")
- local BuyEpicHatCrateButton = Instance.new("TextButton")
- local SellNonLegendaryPets = Instance.new("TextButton")
- local CopyHatData = Instance.new("TextButton")
- local NewInstantMineToggle = Instance.new("TextButton")
- local AutoEquipEggs = Instance.new("TextButton")
- local CopySkinData = Instance.new("TextButton")
- local CopyPetData = Instance.new("TextButton")
- local TeleportToEarth = Instance.new("TextButton")
- local TeleportToSpace = Instance.new("TextButton")
- local TeleportToCandy = Instance.new("TextButton")
- local TeleportToToy = Instance.new("TextButton")
- local TeleportToFood = Instance.new("TextButton")
- local TeleportToDino = Instance.new("TextButton")
- -- Properties
- Mining_Simulator.Name = "Mining_Simulator"
- Mining_Simulator.Parent = cg
- Mining_Simulator.ResetOnSpawn = false
- MainFrame.Name = "MainFrame"
- MainFrame.Parent = Mining_Simulator
- MainFrame.Active = true
- MainFrame.BackgroundColor3 = Color3.new(0.176471, 0.176471, 0.176471)
- MainFrame.BorderSizePixel = 0
- MainFrame.Draggable = true
- MainFrame.Position = UDim2.new(0.5, -175, 0.5, -350)
- MainFrame.Size = UDim2.new(0, 350, 0, 700)
- Title.Name = "Title"
- Title.Parent = MainFrame
- Title.BackgroundColor3 = Color3.new(1, 1, 1)
- Title.BackgroundTransparency = 1
- Title.Size = UDim2.new(1, 0, 0, 50)
- Title.Font = Enum.Font.SourceSansBold
- Title.Text = "Mining Simulator GUI\nMade by: Racist Dolphin#5199\nVersion: 1.26.2 (Fixed Auto Click Lag)"
- Title.TextColor3 = Color3.new(1, 1, 1)
- Title.TextSize = 18
- Title.TextTransparency = 0.5
- design.Name = "design"
- design.Parent = MainFrame
- design.BackgroundColor3 = Color3.new(1, 1, 1)
- design.BackgroundTransparency = 0.5
- design.BorderSizePixel = 0
- design.Position = UDim2.new(0.0500000007, 0, 0, 50)
- design.Size = UDim2.new(0.899999976, 0, 0, 2)
- buttons.Name = "buttons"
- buttons.Parent = MainFrame
- buttons.BackgroundColor3 = Color3.new(1, 1, 1)
- buttons.BackgroundTransparency = 1
- buttons.Position = UDim2.new(0, 20, 0, 70)
- buttons.Size = UDim2.new(1, -40, 1, -80)
- InstantMineToggle.Name = "InstantMineToggle"
- InstantMineToggle.Parent = buttons
- InstantMineToggle.BackgroundColor3 = Color3.new(1, 1, 1)
- InstantMineToggle.BackgroundTransparency = 0.5
- InstantMineToggle.BorderSizePixel = 0
- InstantMineToggle.Size = UDim2.new(0, 150, 0, 30)
- InstantMineToggle.Font = Enum.Font.SourceSansBold
- InstantMineToggle.Text = "Instant Mine"
- InstantMineToggle.TextColor3 = Color3.new(0.176471, 0.176471, 0.176471)
- InstantMineToggle.TextSize = 14
- InstantMineToggle.TextWrapped = true
- MineAnyBlockToggle.Name = "MineAnyBlockToggle"
- MineAnyBlockToggle.Parent = buttons
- MineAnyBlockToggle.BackgroundColor3 = Color3.new(1, 1, 1)
- MineAnyBlockToggle.BackgroundTransparency = 0.5
- MineAnyBlockToggle.BorderSizePixel = 0
- MineAnyBlockToggle.Position = UDim2.new(1, -150, 0, 0)
- MineAnyBlockToggle.Size = UDim2.new(0, 150, 0, 30)
- MineAnyBlockToggle.Font = Enum.Font.SourceSansBold
- MineAnyBlockToggle.Text = "Mine Any Block"
- MineAnyBlockToggle.TextColor3 = Color3.new(0.176471, 0.176471, 0.176471)
- MineAnyBlockToggle.TextSize = 14
- MineAnyBlockToggle.TextWrapped = true
- SavePosition.Name = "SavePosition"
- SavePosition.Parent = buttons
- SavePosition.BackgroundColor3 = Color3.new(1, 1, 1)
- SavePosition.BackgroundTransparency = 0.5
- SavePosition.BorderSizePixel = 0
- SavePosition.Position = UDim2.new(0, 0, 0, 520)
- SavePosition.Size = UDim2.new(0, 150, 0, 30)
- SavePosition.Font = Enum.Font.SourceSansBold
- SavePosition.Text = "Save Position"
- SavePosition.TextColor3 = Color3.new(0.176471, 0.176471, 0.176471)
- SavePosition.TextSize = 14
- SavePosition.TextWrapped = true
- LoadPosition.Name = "LoadPosition"
- LoadPosition.Parent = buttons
- LoadPosition.BackgroundColor3 = Color3.new(1, 1, 1)
- LoadPosition.BackgroundTransparency = 0.5
- LoadPosition.BorderSizePixel = 0
- LoadPosition.Position = UDim2.new(1, -150, 0, 520)
- LoadPosition.Size = UDim2.new(0, 150, 0, 30)
- LoadPosition.Font = Enum.Font.SourceSansBold
- LoadPosition.Text = "Load Position"
- LoadPosition.TextColor3 = Color3.new(0.176471, 0.176471, 0.176471)
- LoadPosition.TextSize = 14
- LoadPosition.TextWrapped = true
- CurrentPosition.Name = "CurrentPosition"
- CurrentPosition.Parent = buttons
- CurrentPosition.BackgroundColor3 = Color3.new(1, 1, 1)
- CurrentPosition.BackgroundTransparency = 1
- CurrentPosition.Position = UDim2.new(0, 0, 0, 600)
- CurrentPosition.Size = UDim2.new(1, 0, 0, 15)
- CurrentPosition.Font = Enum.Font.SourceSansBold
- CurrentPosition.Text = "TESTING"
- CurrentPosition.TextColor3 = Color3.new(1, 1, 1)
- CurrentPosition.TextSize = 18
- CurrentPosition.TextTransparency = 0.5
- AutoSellAdjust.Name = "AutoSellAdjust"
- AutoSellAdjust.Parent = buttons
- AutoSellAdjust.BackgroundColor3 = Color3.new(1, 1, 1)
- AutoSellAdjust.BackgroundTransparency = 0.5
- AutoSellAdjust.BorderSizePixel = 0
- AutoSellAdjust.Position = UDim2.new(0, 85, 0, 40)
- AutoSellAdjust.Size = UDim2.new(0, 65, 0, 30)
- AutoSellAdjust.Font = Enum.Font.SourceSansBold
- AutoSellAdjust.Text = "< Adjust"
- AutoSellAdjust.TextColor3 = Color3.new(0.176471, 0.176471, 0.176471)
- AutoSellAdjust.TextSize = 14
- AutoSellAdjust.TextWrapped = true
- FreeSkipToggle.Name = "FreeSkipToggle"
- FreeSkipToggle.Parent = buttons
- FreeSkipToggle.BackgroundColor3 = Color3.new(1, 1, 1)
- FreeSkipToggle.BackgroundTransparency = 0.5
- FreeSkipToggle.BorderSizePixel = 0
- FreeSkipToggle.Position = UDim2.new(1, -150, 0, 40)
- FreeSkipToggle.Size = UDim2.new(0, 150, 0, 30)
- FreeSkipToggle.Font = Enum.Font.SourceSansBold
- FreeSkipToggle.Text = "Free Crate Skips"
- FreeSkipToggle.TextColor3 = Color3.new(0.176471, 0.176471, 0.176471)
- FreeSkipToggle.TextSize = 14
- FreeSkipToggle.TextWrapped = true
- AutoClickToggle.Name = "AutoClickToggle"
- AutoClickToggle.Parent = buttons
- AutoClickToggle.BackgroundColor3 = Color3.new(1, 1, 1)
- AutoClickToggle.BackgroundTransparency = 0.5
- AutoClickToggle.BorderSizePixel = 0
- AutoClickToggle.Position = UDim2.new(1, -150, 0, 80)
- AutoClickToggle.Size = UDim2.new(0, 150, 0, 30)
- AutoClickToggle.Font = Enum.Font.SourceSansBold
- AutoClickToggle.Text = "Auto Click (Hotkey: C)"
- AutoClickToggle.TextColor3 = Color3.new(0.176471, 0.176471, 0.176471)
- AutoClickToggle.TextSize = 14
- AutoClickToggle.TextWrapped = true
- OpenShop.Name = "OpenShop"
- OpenShop.Parent = buttons
- OpenShop.BackgroundColor3 = Color3.new(1, 1, 1)
- OpenShop.BackgroundTransparency = 0.5
- OpenShop.BorderSizePixel = 0
- OpenShop.Position = UDim2.new(0, 0, 0, 80)
- OpenShop.Size = UDim2.new(0, 150, 0, 30)
- OpenShop.Font = Enum.Font.SourceSansBold
- OpenShop.Text = "Open Shop"
- OpenShop.TextColor3 = Color3.new(0.176471, 0.176471, 0.176471)
- OpenShop.TextSize = 14
- OpenShop.TextWrapped = true
- SellInventoryButton.Name = "SellInventoryButton"
- SellInventoryButton.Parent = buttons
- SellInventoryButton.BackgroundColor3 = Color3.new(1, 1, 1)
- SellInventoryButton.BackgroundTransparency = 0.5
- SellInventoryButton.BorderSizePixel = 0
- SellInventoryButton.Position = UDim2.new(0, 0, 0, 120)
- SellInventoryButton.Size = UDim2.new(0, 150, 0, 30)
- SellInventoryButton.Font = Enum.Font.SourceSansBold
- SellInventoryButton.Text = "Sell Inventory"
- SellInventoryButton.TextColor3 = Color3.new(0.176471, 0.176471, 0.176471)
- SellInventoryButton.TextSize = 14
- SellInventoryButton.TextWrapped = true
- SpinAllCratesButton.Name = "SpinAllCratesButton"
- SpinAllCratesButton.Parent = buttons
- SpinAllCratesButton.BackgroundColor3 = Color3.new(1, 1, 1)
- SpinAllCratesButton.BackgroundTransparency = 0.5
- SpinAllCratesButton.BorderSizePixel = 0
- SpinAllCratesButton.Position = UDim2.new(1, -150, 0, 120)
- SpinAllCratesButton.Size = UDim2.new(0, 150, 0, 30)
- SpinAllCratesButton.Font = Enum.Font.SourceSansBold
- SpinAllCratesButton.Text = "Spin All Crates"
- SpinAllCratesButton.TextColor3 = Color3.new(0.176471, 0.176471, 0.176471)
- SpinAllCratesButton.TextSize = 14
- SpinAllCratesButton.TextWrapped = true
- AutoRebirthToggle.Name = "AutoRebirthToggle"
- AutoRebirthToggle.Parent = buttons
- AutoRebirthToggle.BackgroundColor3 = Color3.new(1, 1, 1)
- AutoRebirthToggle.BackgroundTransparency = 0.5
- AutoRebirthToggle.BorderSizePixel = 0
- AutoRebirthToggle.Position = UDim2.new(1, -150, 0, 280)
- AutoRebirthToggle.Size = UDim2.new(0, 150, 0, 30)
- AutoRebirthToggle.Font = Enum.Font.SourceSansBold
- AutoRebirthToggle.Text = "Auto Rebirth"
- AutoRebirthToggle.TextColor3 = Color3.new(0.176471, 0.176471, 0.176471)
- AutoRebirthToggle.TextSize = 14
- AutoRebirthToggle.TextWrapped = true
- SellNonLegendaryHats.Name = "SellNonLegendaryHats"
- SellNonLegendaryHats.Parent = buttons
- SellNonLegendaryHats.BackgroundColor3 = Color3.new(1, 1, 1)
- SellNonLegendaryHats.BackgroundTransparency = 0.5
- SellNonLegendaryHats.BorderSizePixel = 0
- SellNonLegendaryHats.Position = UDim2.new(1, -150, 0, 200)
- SellNonLegendaryHats.Size = UDim2.new(0, 150, 0, 30)
- SellNonLegendaryHats.Font = Enum.Font.SourceSansBold
- SellNonLegendaryHats.Text = "Sell NON Legendary Hats"
- SellNonLegendaryHats.TextColor3 = Color3.new(0.176471, 0.176471, 0.176471)
- SellNonLegendaryHats.TextSize = 14
- SellNonLegendaryHats.TextWrapped = true
- BuyEpicCrateButton.Name = "BuyEpicCrateButton"
- BuyEpicCrateButton.Parent = buttons
- BuyEpicCrateButton.BackgroundColor3 = Color3.new(1, 1, 1)
- BuyEpicCrateButton.BackgroundTransparency = 0.5
- BuyEpicCrateButton.BorderSizePixel = 0
- BuyEpicCrateButton.Position = UDim2.new(1, -150, 0, 160)
- BuyEpicCrateButton.Size = UDim2.new(0, 150, 0, 30)
- BuyEpicCrateButton.Font = Enum.Font.SourceSansBold
- BuyEpicCrateButton.Text = "Buy 1000 Epic Crates"
- BuyEpicCrateButton.TextColor3 = Color3.new(0.176471, 0.176471, 0.176471)
- BuyEpicCrateButton.TextSize = 14
- BuyEpicCrateButton.TextWrapped = true
- AutoSellToggle.Name = "AutoSellToggle"
- AutoSellToggle.Parent = buttons
- AutoSellToggle.BackgroundColor3 = Color3.new(1, 1, 1)
- AutoSellToggle.BackgroundTransparency = 0.5
- AutoSellToggle.BorderSizePixel = 0
- AutoSellToggle.Position = UDim2.new(0, 0, 0, 40)
- AutoSellToggle.Size = UDim2.new(0, 65, 0, 30)
- AutoSellToggle.Font = Enum.Font.SourceSansBold
- AutoSellToggle.Text = "Auto Sell"
- AutoSellToggle.TextColor3 = Color3.new(0.176471, 0.176471, 0.176471)
- AutoSellToggle.TextSize = 14
- AutoSellToggle.TextWrapped = true
- BuyEpicEggsButton.Name = "BuyEpicEggsButton"
- BuyEpicEggsButton.Parent = buttons
- BuyEpicEggsButton.BackgroundColor3 = Color3.new(1, 1, 1)
- BuyEpicEggsButton.BackgroundTransparency = 0.5
- BuyEpicEggsButton.BorderSizePixel = 0
- BuyEpicEggsButton.Position = UDim2.new(0, 0, 0, 200)
- BuyEpicEggsButton.Size = UDim2.new(0, 150, 0, 30)
- BuyEpicEggsButton.Font = Enum.Font.SourceSansBold
- BuyEpicEggsButton.Text = "Buy 50 Epic Eggs"
- BuyEpicEggsButton.TextColor3 = Color3.new(0.176471, 0.176471, 0.176471)
- BuyEpicEggsButton.TextSize = 14
- BuyEpicEggsButton.TextWrapped = true
- SellNonLegendarySkins.Name = "SellNonLegendarySkins"
- SellNonLegendarySkins.Parent = buttons
- SellNonLegendarySkins.BackgroundColor3 = Color3.new(1, 1, 1)
- SellNonLegendarySkins.BackgroundTransparency = 0.5
- SellNonLegendarySkins.BorderSizePixel = 0
- SellNonLegendarySkins.Position = UDim2.new(0, 0, 0, 240)
- SellNonLegendarySkins.Size = UDim2.new(0, 150, 0, 30)
- SellNonLegendarySkins.Font = Enum.Font.SourceSansBold
- SellNonLegendarySkins.Text = "Sell NON Legendary Skins"
- SellNonLegendarySkins.TextColor3 = Color3.new(0.176471, 0.176471, 0.176471)
- SellNonLegendarySkins.TextSize = 14
- SellNonLegendarySkins.TextWrapped = true
- BuyEpicHatCrateButton.Name = "BuyEpicHatCrateButton"
- BuyEpicHatCrateButton.Parent = buttons
- BuyEpicHatCrateButton.BackgroundColor3 = Color3.new(1, 1, 1)
- BuyEpicHatCrateButton.BackgroundTransparency = 0.5
- BuyEpicHatCrateButton.BorderSizePixel = 0
- BuyEpicHatCrateButton.Position = UDim2.new(0, 0, 0, 160)
- BuyEpicHatCrateButton.Size = UDim2.new(0, 150, 0, 30)
- BuyEpicHatCrateButton.Font = Enum.Font.SourceSansBold
- BuyEpicHatCrateButton.Text = "Buy 1000 Epic Hat Crates"
- BuyEpicHatCrateButton.TextColor3 = Color3.new(0.176471, 0.176471, 0.176471)
- BuyEpicHatCrateButton.TextSize = 14
- BuyEpicHatCrateButton.TextWrapped = true
- SellNonLegendaryPets.Name = "SellNonLegendaryPets"
- SellNonLegendaryPets.Parent = buttons
- SellNonLegendaryPets.BackgroundColor3 = Color3.new(1, 1, 1)
- SellNonLegendaryPets.BackgroundTransparency = 0.5
- SellNonLegendaryPets.BorderSizePixel = 0
- SellNonLegendaryPets.Position = UDim2.new(1, -150, 0, 240)
- SellNonLegendaryPets.Size = UDim2.new(0, 150, 0, 30)
- SellNonLegendaryPets.Font = Enum.Font.SourceSansBold
- SellNonLegendaryPets.Text = "Sell NON Legendary Pets"
- SellNonLegendaryPets.TextColor3 = Color3.new(0.176471, 0.176471, 0.176471)
- SellNonLegendaryPets.TextSize = 14
- SellNonLegendaryPets.TextWrapped = true
- CopyHatData.Name = "CopyHatData"
- CopyHatData.Parent = buttons
- CopyHatData.BackgroundColor3 = Color3.new(1, 1, 1)
- CopyHatData.BackgroundTransparency = 0.5
- CopyHatData.BorderSizePixel = 0
- CopyHatData.Position = UDim2.new(0, 0, 0, 320)
- CopyHatData.Size = UDim2.new(0, 150, 0, 30)
- CopyHatData.Font = Enum.Font.SourceSansBold
- CopyHatData.Text = "Copy Hat Data to Clipboard"
- CopyHatData.TextColor3 = Color3.new(0.176471, 0.176471, 0.176471)
- CopyHatData.TextSize = 14
- CopyHatData.TextWrapped = true
- NewInstantMineToggle.Name = "NewInstantMineToggle"
- NewInstantMineToggle.Parent = buttons
- NewInstantMineToggle.BackgroundColor3 = Color3.new(0, 0.670588, 0.0431373)
- NewInstantMineToggle.BackgroundTransparency = 0.5
- NewInstantMineToggle.BorderSizePixel = 0
- NewInstantMineToggle.Position = UDim2.new(0, 0, 0, 560)
- NewInstantMineToggle.Size = UDim2.new(1, 0, 0, 30)
- NewInstantMineToggle.Font = Enum.Font.SourceSansBold
- NewInstantMineToggle.Text = "Use New Instant Mine Method"
- NewInstantMineToggle.TextColor3 = Color3.new(0.176471, 0.176471, 0.176471)
- NewInstantMineToggle.TextSize = 14
- NewInstantMineToggle.TextWrapped = true
- AutoEquipEggs.Name = "AutoEquipEggs"
- AutoEquipEggs.Parent = buttons
- AutoEquipEggs.BackgroundColor3 = Color3.new(1, 1, 1)
- AutoEquipEggs.BackgroundTransparency = 0.5
- AutoEquipEggs.BorderSizePixel = 0
- AutoEquipEggs.Position = UDim2.new(0, 0, 0, 280)
- AutoEquipEggs.Size = UDim2.new(0, 150, 0, 30)
- AutoEquipEggs.Font = Enum.Font.SourceSansBold
- AutoEquipEggs.Text = "Auto Equip Eggs"
- AutoEquipEggs.TextColor3 = Color3.new(0.176471, 0.176471, 0.176471)
- AutoEquipEggs.TextSize = 14
- AutoEquipEggs.TextWrapped = true
- CopySkinData.Name = "CopySkinData"
- CopySkinData.Parent = buttons
- CopySkinData.BackgroundColor3 = Color3.new(1, 1, 1)
- CopySkinData.BackgroundTransparency = 0.5
- CopySkinData.BorderSizePixel = 0
- CopySkinData.Position = UDim2.new(1, -150, 0, 320)
- CopySkinData.Size = UDim2.new(0, 150, 0, 30)
- CopySkinData.Font = Enum.Font.SourceSansBold
- CopySkinData.Text = "Copy Skin Data to Clipboard"
- CopySkinData.TextColor3 = Color3.new(0.176471, 0.176471, 0.176471)
- CopySkinData.TextSize = 14
- CopySkinData.TextWrapped = true
- CopyPetData.Name = "CopyPetData"
- CopyPetData.Parent = buttons
- CopyPetData.BackgroundColor3 = Color3.new(1, 1, 1)
- CopyPetData.BackgroundTransparency = 0.5
- CopyPetData.BorderSizePixel = 0
- CopyPetData.Position = UDim2.new(0, 0, 0, 360)
- CopyPetData.Size = UDim2.new(1, 0, 0, 30)
- CopyPetData.Font = Enum.Font.SourceSansBold
- CopyPetData.Text = "Copy Pet Data to Clipboard"
- CopyPetData.TextColor3 = Color3.new(0.176471, 0.176471, 0.176471)
- CopyPetData.TextSize = 14
- CopyPetData.TextWrapped = true
- TeleportToEarth.Name = "TeleportToEarth"
- TeleportToEarth.Parent = buttons
- TeleportToEarth.BackgroundColor3 = Color3.new(1, 1, 1)
- TeleportToEarth.BackgroundTransparency = 0.5
- TeleportToEarth.BorderSizePixel = 0
- TeleportToEarth.Position = UDim2.new(0, 0, 0, 400)
- TeleportToEarth.Size = UDim2.new(0, 150, 0, 30)
- TeleportToEarth.Font = Enum.Font.SourceSansBold
- TeleportToEarth.Text = "Teleport to Earth"
- TeleportToEarth.TextColor3 = Color3.new(0.176471, 0.176471, 0.176471)
- TeleportToEarth.TextSize = 14
- TeleportToEarth.TextWrapped = true
- TeleportToSpace.Name = "TeleportToSpace"
- TeleportToSpace.Parent = buttons
- TeleportToSpace.BackgroundColor3 = Color3.new(1, 1, 1)
- TeleportToSpace.BackgroundTransparency = 0.5
- TeleportToSpace.BorderSizePixel = 0
- TeleportToSpace.Position = UDim2.new(1, -150, 0, 400)
- TeleportToSpace.Size = UDim2.new(0, 150, 0, 30)
- TeleportToSpace.Font = Enum.Font.SourceSansBold
- TeleportToSpace.Text = "Teleport to Space"
- TeleportToSpace.TextColor3 = Color3.new(0.176471, 0.176471, 0.176471)
- TeleportToSpace.TextSize = 14
- TeleportToSpace.TextWrapped = true
- TeleportToCandy.Name = "TeleportToCandy"
- TeleportToCandy.Parent = buttons
- TeleportToCandy.BackgroundColor3 = Color3.new(1, 1, 1)
- TeleportToCandy.BackgroundTransparency = 0.5
- TeleportToCandy.BorderSizePixel = 0
- TeleportToCandy.Position = UDim2.new(0, 0, 0, 440)
- TeleportToCandy.Size = UDim2.new(0, 150, 0, 30)
- TeleportToCandy.Font = Enum.Font.SourceSansBold
- TeleportToCandy.Text = "Teleport to Candyland"
- TeleportToCandy.TextColor3 = Color3.new(0.176471, 0.176471, 0.176471)
- TeleportToCandy.TextSize = 14
- TeleportToCandy.TextWrapped = true
- TeleportToToy.Name = "TeleportToToy"
- TeleportToToy.Parent = buttons
- TeleportToToy.BackgroundColor3 = Color3.new(1, 1, 1)
- TeleportToToy.BackgroundTransparency = 0.5
- TeleportToToy.BorderSizePixel = 0
- TeleportToToy.Position = UDim2.new(1, -150, 0, 440)
- TeleportToToy.Size = UDim2.new(0, 150, 0, 30)
- TeleportToToy.Font = Enum.Font.SourceSansBold
- TeleportToToy.Text = "Teleport to Toyland"
- TeleportToToy.TextColor3 = Color3.new(0.176471, 0.176471, 0.176471)
- TeleportToToy.TextSize = 14
- TeleportToToy.TextWrapped = true
- TeleportToFood.Name = "TeleportToFood"
- TeleportToFood.Parent = buttons
- TeleportToFood.BackgroundColor3 = Color3.new(1, 1, 1)
- TeleportToFood.BackgroundTransparency = 0.5
- TeleportToFood.BorderSizePixel = 0
- TeleportToFood.Position = UDim2.new(0, 0, 0, 480)
- TeleportToFood.Size = UDim2.new(0, 150, 0, 30)
- TeleportToFood.Font = Enum.Font.SourceSansBold
- TeleportToFood.Text = "Teleport to Foodland"
- TeleportToFood.TextColor3 = Color3.new(0.176471, 0.176471, 0.176471)
- TeleportToFood.TextSize = 14
- TeleportToFood.TextWrapped = true
- TeleportToDino.Name = "TeleportToDino"
- TeleportToDino.Parent = buttons
- TeleportToDino.BackgroundColor3 = Color3.new(1, 1, 1)
- TeleportToDino.BackgroundTransparency = 0.5
- TeleportToDino.BorderSizePixel = 0
- TeleportToDino.Position = UDim2.new(1, -150, 0, 480)
- TeleportToDino.Size = UDim2.new(0, 150, 0, 30)
- TeleportToDino.Font = Enum.Font.SourceSansBold
- TeleportToDino.Text = "Teleport to Dinoland"
- TeleportToDino.TextColor3 = Color3.new(0.176471, 0.176471, 0.176471)
- TeleportToDino.TextSize = 14
- TeleportToDino.TextWrapped = true
- local SpinDebounce = false
- local CancelSpin = false
- InstantMineToggle.MouseButton1Click:connect(function()
- if SpinDebounce == false then
- InstantMine = not InstantMine
- if InstantMine then
- InstantMineToggle.BackgroundColor3 = Color3.new(0/255,171/255,11/255)
- else
- InstantMineToggle.BackgroundColor3 = Color3.new(1, 1, 1)
- r:UnbindFromRenderStep("InstantMine")
- InstantBindSet = false
- end
- end
- end)
- MineAnyBlockToggle.MouseButton1Click:connect(function()
- if SpinDebounce == false then
- MineAnyBlock = not MineAnyBlock
- if MineAnyBlock then
- MineAnyBlockToggle.BackgroundColor3 = Color3.new(0/255,171/255,11/255)
- else
- MineAnyBlockToggle.BackgroundColor3 = Color3.new(1, 1, 1)
- end
- end
- end)
- SavePosition.MouseButton1Click:connect(function()
- local tor = c:FindFirstChild("HumanoidRootPart")
- if tor then
- SavedPosition = tor.Position
- end
- end)
- LoadPosition.MouseButton1Click:connect(function()
- local tor = c:FindFirstChild("HumanoidRootPart")
- if tor and SavedPosition ~= nil then
- tor.CFrame = CFrame.new(SavedPosition)
- end
- end)
- AutoSellToggle.MouseButton1Click:connect(function()
- AutoSell = not AutoSell
- if AutoSell then
- AutoSellToggle.BackgroundColor3 = Color3.new(0/255,171/255,11/255)
- else
- AutoSellToggle.BackgroundColor3 = Color3.new(1, 1, 1)
- end
- end)
- AutoSellAdjust.MouseButton1Click:connect(function()
- local Hint = Instance.new("Hint", cg)
- Hint.Text = "Auto Sell: 100,000"
- AutoSellAmount = AutoSellAmount + 25000
- if AutoSellAmount > 1000000 then
- AutoSellAmount = 100000
- end
- Hint.Text = "Auto Sell Amount Set to: " .. tostring(AutoSellAmount)
- wait(5)
- Hint:Destroy()
- end)
- FreeSkipToggle.MouseButton1Click:connect(function()
- if SpinDebounce == false then
- FreeSKip = not FreeSKip
- if FreeSKip then
- FreeSkipToggle.BackgroundColor3 = Color3.new(0/255,171/255,11/255)
- else
- FreeSkipToggle.BackgroundColor3 = Color3.new(1, 1, 1)
- end
- end
- end)
- OpenShop.MouseButton1Click:connect(function()
- local curFrame = SetCurFrame("OpenShop")
- getsenv(g.ScreenGui.ClientScript).displayCurrent()
- end)
- SellInventoryButton.MouseButton1Click:connect(function()
- SellInventory = true
- end)
- SpinAllCratesButton.MouseButton1Click:connect(function()
- if SpinDebounce == false then
- SpinDebounce = true
- InstantMine = false
- MineAnyBlock = false
- FreeSKip = false
- SpinAllCratesButton.BackgroundColor3 = Color3.new(1, 0, 0)
- InstantMineToggle.BackgroundColor3 = Color3.new(1, 0, 0)
- MineAnyBlockToggle.BackgroundColor3 = Color3.new(1, 0, 0)
- FreeSkipToggle.BackgroundColor3 = Color3.new(1, 0, 0)
- SpinAllCratesButton.Text = "Cancel Spining Crates"
- local data = workspace.RemoteFunction:InvokeServer("getPD")
- data = data[13]
- local function SpinCrates()
- local backup = getsenv(g.ScreenGui.ClientScript).displayCurrent
- local backup2 = getsenv(g.ScreenGui.ClientScript).updateInventoryLol
- local backup3 = getsenv(g.ScreenGui.ClientScript).updateInventory
- local backup4 = getsenv(g.ScreenGui.ClientScript).spinCrate
- local Message = Instance.new("Hint", cg)
- Message.Name = "CrateNumber"
- Message.Text = "Crate 0/0"
- local event = g.ScreenGui.ChildAdded:Connect(function(obj)
- if obj.Name == "CrateSystem" then
- r.Heartbeat:wait()
- obj:Destroy()
- end
- end)
- if data[1] ~= nil then
- getsenv(g.ScreenGui.ClientScript).displayCurrent = function() return end
- getsenv(g.ScreenGui.ClientScript).updateInventoryLol = function() return end
- getsenv(g.ScreenGui.ClientScript).updateInventory = function() return end
- getsenv(g.ScreenGui.ClientScript).spinCrate = function() return end
- SpinningCrates = true
- for i = 1, data[1][2] do
- if CancelSpin then
- event:Disconnect()
- break
- end
- local SecondsTime = 0.15 * (data[1][2] - i)
- local Hours = string.format("%02.f", math.floor(SecondsTime / 3600))
- local Minutes = string.format("%02.f", math.floor(SecondsTime / 60 - (Hours * 60)))
- local Seconds = string.format("%02.f", math.floor(SecondsTime - Hours * 3600 - Minutes * 60))
- Message.Text = "Opening crate " .. i .. "/" .. data[1][2] .. ". Estimated time: " .. Hours .. ":" .. Minutes .. ":" .. Seconds
- game.Workspace.RemoteEvent:FireServer("SpinCrate", data[1][1])
- wait(0.15)
- end
- end
- getsenv(g.ScreenGui.ClientScript).displayCurrent = backup
- getsenv(g.ScreenGui.ClientScript).updateInventoryLol = backup2
- getsenv(g.ScreenGui.ClientScript).updateInventory = backup3
- getsenv(g.ScreenGui.ClientScript).spinCrate = backup4
- event:Disconnect()
- SpinningCrates = false
- CancelSpin = false
- Message:Destroy()
- end
- SpinCrates()
- for i, v in next, g.ScreenGui:GetChildren() do
- if v.Name == "CrateSystem" then
- v:Destroy()
- end
- end
- InstantMineToggle.BackgroundColor3 = Color3.new(1, 1, 1)
- MineAnyBlockToggle.BackgroundColor3 = Color3.new(1, 1, 1)
- FreeSkipToggle.BackgroundColor3 = Color3.new(1, 1, 1)
- SpinAllCratesButton.BackgroundColor3 = Color3.new(1, 1, 1)
- SpinAllCratesButton.Text = "Spin All Crates"
- SpinDebounce = false
- else
- CancelSpin = true
- InstantMineToggle.BackgroundColor3 = Color3.new(1, 1, 1)
- MineAnyBlockToggle.BackgroundColor3 = Color3.new(1, 1, 1)
- FreeSkipToggle.BackgroundColor3 = Color3.new(1, 1, 1)
- SpinAllCratesButton.BackgroundColor3 = Color3.new(1, 1, 1)
- SpinAllCratesButton.Text = "Spin All Crates"
- end
- end)
- AutoRebirthToggle.MouseButton1Click:connect(function()
- AutoRebirth = not AutoRebirth
- if AutoRebirth then
- AutoRebirthToggle.BackgroundColor3 = Color3.new(0/255,171/255,11/255)
- else
- AutoRebirthToggle.BackgroundColor3 = Color3.new(1, 1, 1)
- end
- end)
- BuyEpicHatCrateButton.MouseButton1Click:connect(function()
- game.Workspace.RemoteEvent:FireServer("OpenCrate", "Epic Hat Crate", 1000)
- end)
- BuyEpicCrateButton.MouseButton1Click:connect(function()
- game.Workspace.RemoteEvent:FireServer("OpenCrate", "Epic", 1000)
- end)
- BuyEpicEggsButton.MouseButton1Click:connect(function()
- game.Workspace.RemoteEvent:FireServer("BuyPet", "Epic Egg", 50)
- end)
- SellNonLegendaryHats.MouseButton1Click:connect(function()
- MainFrame.Visible = false
- local BindableEvent = Instance.new("BindableFunction")
- local function SellHats(Response)
- MainFrame.Visible = true
- if Response == "Yes" then
- local MyHats = game.Workspace.RemoteFunction:InvokeServer("getPD")[16]
- local HatModule = require(game.Lighting.Assets.Modules.HatModule)
- local Hint = Instance.new("Hint", cg)
- Hint.Text = "Sold hat: nil"
- for i, v in next, MyHats do
- local Hat = MyHats[i][1]
- if HatModule[Hat].rarity ~= nil then
- if HatModule[Hat].rarity ~= "Legendary" then
- game.Workspace.RemoteEvent:FireServer("SellHat", MyHats[i][1], true)
- Hint.Text = "Sold hat: " .. Hat
- wait(0.15)
- end
- end
- end
- Hint:Destroy()
- BindableEvent:Destroy()
- else
- BindableEvent:Destroy()
- return
- end
- end
- BindableEvent.OnInvoke = SellHats
- sg:SetCore("SendNotification", {
- Title = "DANGER! THINK ABOUT THIS.",
- Text = "THIS ACTION CANNOT BE UN-DONE! This will sell ALL NON - Legendary Hats in your inventory! You should NEVER run this after a game update!",
- Duration = 60,
- Callback = BindableEvent,
- Button1 = "Yes",
- Button2 = "No Fuck That"
- })
- end)
- SellNonLegendarySkins.MouseButton1Click:connect(function()
- MainFrame.Visible = false
- local BindableEvent = Instance.new("BindableFunction")
- local function SellSkins(Response)
- MainFrame.Visible = true
- if Response == "Yes" then
- local MySkins = game.Workspace.RemoteFunction:InvokeServer("getPD")[10]
- local SkinsModule = require(game.Lighting.Assets.Modules.TextureModule)
- local Hint = Instance.new("Hint", cg)
- Hint.Text = "Sold skin: nil"
- for i, v in next, MySkins do
- local Skin = MySkins[i][1]
- if SkinsModule[Skin] ~= "Legendary" and Skin ~= "Default" then
- game.Workspace.RemoteEvent:FireServer("SellSkin", Skin, true)
- Hint.Text = "Sold skin: " .. Skin
- wait(0.15)
- end
- end
- Hint:Destroy()
- BindableEvent:Destroy()
- else
- BindableEvent:Destroy()
- return
- end
- end
- BindableEvent.OnInvoke = SellSkins
- sg:SetCore("SendNotification", {
- Title = "DANGER! THINK ABOUT THIS.",
- Text = "THIS ACTION CANNOT BE UN-DONE! This will sell ALL NON - Legendary Skins in your inventory! You should NEVER run this after a game update!",
- Duration = 60,
- Callback = BindableEvent,
- Button1 = "Yes",
- Button2 = "No Fuck That"
- })
- end)
- SellNonLegendaryPets.MouseButton1Click:connect(function()
- MainFrame.Visible = false
- local BindableEvent = Instance.new("BindableFunction")
- local function SellPets(Response)
- MainFrame.Visible = true
- if Response == "Yes" then
- local MyPets = game.Workspace.RemoteFunction:InvokeServer("getPD")[12]
- local PetsModule = require(game.Lighting.Assets.Modules.PetModule)
- local Hint = Instance.new("Hint", cg)
- Hint.Text = "Sold pet: nil"
- for i, v in next, MyPets do
- local Pet = MyPets[i][1]
- for i2, _ in next, PetsModule do
- if string.find(Pet, i2) then
- Pet = i2
- break
- end
- end
- if PetsModule[Pet].rarity ~= "Legendary" and not string.find(string.lower(Pet), "egg") then
- game.Workspace.RemoteEvent:FireServer("sellPet", MyPets[i])
- Hint.Text = "Sold pet: " .. tostring(MyPets[i][1])
- wait(0.15)
- end
- end
- Hint:Destroy()
- BindableEvent:Destroy()
- else
- BindableEvent:Destroy()
- return
- end
- end
- BindableEvent.OnInvoke = SellPets
- sg:SetCore("SendNotification", {
- Title = "DANGER! THINK ABOUT THIS.",
- Text = "THIS ACTION CANNOT BE UN-DONE! This will sell ALL NON - Legendary Pets in your inventory! You should NEVER run this after a game update!",
- Duration = 60,
- Callback = BindableEvent,
- Button1 = "Yes",
- Button2 = "No Fuck That"
- })
- end)
- AutoEquipEggs.MouseButton1Click:connect(function()
- AutoEquipEgg = not AutoEquipEgg
- if AutoEquipEgg then
- AutoEquipEggs.BackgroundColor3 = Color3.new(0/255,171/255,11/255)
- else
- AutoEquipEggs.BackgroundColor3 = Color3.new(1, 1, 1)
- end
- end)
- NewInstantMineToggle.MouseButton1Click:connect(function()
- NewInstantMine = not NewInstantMine
- if NewInstantMine then
- NewInstantMineToggle.BackgroundColor3 = Color3.new(0/255,171/255,11/255)
- else
- NewInstantMineToggle.BackgroundColor3 = Color3.new(1, 1, 1)
- end
- end)
- CopyHatData.MouseButton1Click:connect(function()
- local MyHats = game.Workspace.RemoteFunction:InvokeServer("getPD")[16]
- local HatsModule = require(game.Lighting.Assets.Modules.HatModule)
- local HatData = { }
- local Sorted = { }
- local String = "\nMining Simulator Hats:\n"
- for i, v in next, HatsModule do
- local Hat = i
- if HatsModule[i].rarity ~= nil then
- if HatsModule[i].rarity == "Legendary" then
- for i2, v2 in next, MyHats do
- if v2[1] == Hat then
- HatData[Hat] = v2[2]
- end
- end
- end
- end
- end
- table.sort(HatData, function(a, b) return a > b end)
- for i, v in spairs(HatData, function(t,a,b) return t[b] < t[a] end) do
- Sorted[i] = v
- String = String .. i .. ": x" .. v .. "\n"
- end
- Synapse:CopyString(String)
- end)
- CopySkinData.MouseButton1Click:connect(function()
- local MySkins = game.Workspace.RemoteFunction:InvokeServer("getPD")[10]
- local SkinsModule = require(game.Lighting.Assets.Modules.TextureModule)
- local SkinData = { }
- local Sorted = { }
- local String = "\nMining Simulator Skins:\n"
- for i, v in next, SkinsModule do
- local Skin = i
- if SkinsModule[Skin] == "Legendary" then
- for i2, v2 in next, MySkins do
- if v2[1] == Skin then
- SkinData[Skin] = v2[2]
- end
- end
- end
- end
- table.sort(SkinData, function(a, b) return a > b end)
- for i, v in spairs(SkinData, function(t,a,b) return t[b] < t[a] end) do
- Sorted[i] = v
- String = String .. i .. ": x" .. v .. "\n"
- end
- Synapse:CopyString(String)
- end)
- CopyPetData.MouseButton1Click:connect(function()
- local MyPets = game.Workspace.RemoteFunction:InvokeServer("getPD")[12]
- local PetsModule = require(game.Lighting.Assets.Modules.PetModule)
- local Pets = { }
- local Sorted = { }
- local String = "\nMining Simulator Pets:\n"
- for i, v in next, PetsModule do
- local Pet = i
- if PetsModule[Pet].rarity ~= nil then
- if PetsModule[Pet].rarity == "Legendary" then
- for i2, v2 in next, MyPets do
- if string.find(v2[1], Pet) then
- if Pets[v2[1]] == nil then
- Pets[v2[1]] = 1
- else
- Pets[v2[1]] = Pets[v2[1]] + 1
- end
- end
- end
- end
- end
- end
- table.sort(Pets, function(a, b) return a > b end)
- for i, v in spairs(Pets, function(t,a,b) return t[b] < t[a] end) do
- Sorted[i] = v
- String = String .. i .. ": x" .. v .. "\n"
- end
- Synapse:CopyString(String)
- end)
- TeleportToEarth.MouseButton1Click:connect(function()
- local tor = c:FindFirstChild("HumanoidRootPart")
- if tor and tostring(CurMap) ~= "Map" then
- tor.Anchored = true
- CurMap.Parent = nil
- Maps["Map"].Parent = workspace
- CurMap = Maps["Map"]
- tor.CFrame = CFrame.new(Vector3.new(-47.539, 13.565, -1.646))
- tor.Anchored = false
- end
- end)
- TeleportToSpace.MouseButton1Click:connect(function()
- local tor = c:FindFirstChild("HumanoidRootPart")
- if tor and tostring(CurMap) ~= "SpaceMap" then
- tor.Anchored = true
- CurMap.Parent = nil
- Maps["SpaceMap"].Parent = workspace
- CurMap = Maps["SpaceMap"]
- tor.CFrame = CFrame.new(Vector3.new(-80.800, 14.166, 1569.200))
- tor.Anchored = false
- end
- end)
- TeleportToCandy.MouseButton1Click:connect(function()
- local tor = c:FindFirstChild("HumanoidRootPart")
- if tor and tostring(CurMap) ~= "Candyland" then
- tor.Anchored = true
- CurMap.Parent = nil
- Maps["Candyland"].Parent = workspace
- CurMap = Maps["Candyland"]
- tor.CFrame = CFrame.new(Vector3.new(-26.600, 13.677, 3010.601))
- tor.Anchored = false
- end
- end)
- TeleportToToy.MouseButton1Click:connect(function()
- local tor = c:FindFirstChild("HumanoidRootPart")
- if tor and tostring(CurMap) ~= "Toyland" then
- tor.Anchored = true
- CurMap.Parent = nil
- Maps["Toyland"].Parent = workspace
- CurMap = Maps["Toyland"]
- tor.CFrame = CFrame.new(Vector3.new(9.800, 13.856, 5718.596))
- tor.Anchored = false
- end
- end)
- TeleportToFood.MouseButton1Click:connect(function()
- local tor = c:FindFirstChild("HumanoidRootPart")
- if tor and tostring(CurMap) ~= "FoodLand" then
- tor.Anchored = true
- CurMap.Parent = nil
- Maps["FoodLand"].Parent = workspace
- CurMap = Maps["FoodLand"]
- tor.CFrame = CFrame.new(Vector3.new(60.800, 13.667, 8675.194))
- tor.Anchored = false
- end
- end)
- TeleportToDino.MouseButton1Click:connect(function()
- local tor = c:FindFirstChild("HumanoidRootPart")
- if tor and tostring(CurMap) ~= "Dinoland" then
- tor.Anchored = true
- CurMap.Parent = nil
- Maps["Dinoland"].Parent = workspace
- CurMap = Maps["Dinoland"]
- tor.CFrame = CFrame.new(Vector3.new(11.600, 13.688, 10581.403))
- tor.Anchored = false
- end
- end)
- local db = false
- AutoClickToggle.MouseButton1Click:connect(function()
- if not db then
- db = true
- AutoClick = true
- AutoClickToggle.BackgroundColor3 = Color3.new(0/255,171/255,11/255)
- AutoClickToggle.Text = "Press C Key to Disable"
- end
- end)
- i.InputBegan:connect(function(input, ingui)
- if not ingui then
- if input.UserInputType == Enum.UserInputType.Keyboard then
- if input.KeyCode == Enum.KeyCode.C then
- if AutoClick then
- AutoClick = false
- AutoClickToggle.BackgroundColor3 = Color3.new(1, 1, 1)
- AutoClickToggle.Text = "Auto Click (Hotkey: C)"
- mouse1click()
- else
- db = true
- AutoClick = true
- AutoClickToggle.BackgroundColor3 = Color3.new(0/255,171/255,11/255)
- AutoClickToggle.Text = "Press C Key to Disable"
- end
- end
- if input.KeyCode == Enum.KeyCode.P then
- MainFrame.Visible = not MainFrame.Visible
- end
- end
- end
- end)
- local tck = tick()
- r:BindToRenderStep("HAX", 0, function()
- local tor = c:FindFirstChild("HumanoidRootPart")
- if tor then
- local pos = tor.Position
- local x = pos.x
- local y = pos.y
- local z = pos.z
- CurrentPosition.Text = ("X: " .. string.format("%.3f", x) .. ", Y: " .. string.format("%.3f", y) .. ", Z: " .. string.format("%.3f", z))
- end
- if workspace.Collapsed.Value == true then
- SavedPosition = nil
- end
- if (tick() - GetStatsTick) >= 1.0 then
- coins, inventory, equipped, ownedItems, offer, rebirths, skins, skinEquipped, pets, crates, favorites, hatInventory, wearing, visibleHats, eggHuntStuff, eggPackBought, quests = game.Workspace.RemoteFunction:InvokeServer("GetStats")
- GetStatsTick = tick()
- end
- --BuyEpicHatCrateButton.Text = BuyEpicHatCrateButton.Text .. "\n COST: " .. tostring()
- if AutoSell then
- if BackpackFull() then
- if g.ScreenGui:FindFirstChild("BackpackFull") then
- g.ScreenGui:FindFirstChild("BackpackFull").Visible = false
- end
- SellInventory = true
- end
- end
- if AutoRebirth then
- if (coins - 10000000 * (rebirths + 1)) >= 0 then
- game.Workspace.RemoteEvent:FireServer("Rebirth")
- end
- end
- if AutoEquipEgg then
- if not EggEquipped() then
- EquipEgg()
- end
- if g.ScreenGui:FindFirstChild("HatchedInfo") then
- g.ScreenGui.HatchedInfo:Destroy()
- end
- end
- if AutoClick and (tick() - tck) >= 5.0 then
- mouse1press()
- tck = tick()
- end
- if AutoClick and (tick() - ResetAutoClick) >= 300 then
- AutoClick = false
- mouse1release()
- keypress(0x20)
- keyrelease(0x20)
- ResetAutoClick = tick()
- wait(3)
- AutoClick = true
- elseif not AutoClick then
- ResetAutoClick = tick()
- end
- end)
- workspace.Collapsed.Changed:connect(function()
- if workspace.Collapsed.Value == false then
- local tor = c:FindFirstChild("HumanoidRootPart")
- if tor then
- if tor.Position.Z > workspace.DinoPosition.Value.Z then
- tor.CFrame = CFrame.new(Vector3.new(5.601, 11.468, 10546.147))
- elseif tor.Position.Z > workspace.FoodPosition.Value.Z then
- tor.CFrame = CFrame.new(Vector3.new(60.400, 11.467, 8725.875))
- elseif tor.Position.Z > workspace.ToyPosition.Value.Z then
- tor.CFrame = CFrame.new(Vector3.new(5.763, 11.467, 5692.938))
- elseif tor.Position.Z > workspace.CandyPosition.Value.Z then
- tor.CFrame = CFrame.new(Vector3.new(6.561, 11.467, 3005.799))
- elseif tor.Position.Z > workspace.SpacePosition.Value.Z then
- tor.CFrame = CFrame.new(Vector3.new(-24.733, 11.468, 1547.604))
- else
- tor.CFrame = CFrame.new(Vector3.new(-22.669, 11.468, -23.864))
- end
- end
- else
- local image = g.ScreenGui:FindFirstChild("CollapsedCave") or g.ScreenGui:WaitForChild("CollapsedCave")
- if image then
- image:Destroy()
- end
- end
- end)
- coroutine.resume(coroutine.create(function()
- local BackupPosition = nil
- while true do
- if SellInventory then
- local tor = c:FindFirstChild("HumanoidRootPart")
- if tor then
- BackupPosition = tor.Position
- repeat
- if g.ScreenGui:FindFirstChild("BackpackFull") then
- g.ScreenGui:FindFirstChild("BackpackFull").Visible = false
- end
- if tor.Position.Z > workspace.DinoPosition.Value.Z then
- game.Workspace.RemoteEvent:FireServer("MoveTo", "DinoSell")
- wait(1)
- tor.Anchored = true
- elseif tor.Position.Z > workspace.FoodPosition.Value.Z then
- game.Workspace.RemoteEvent:FireServer("MoveTo", "FoodSell")
- wait(1)
- tor.Anchored = true
- elseif tor.Position.Z > workspace.ToyPosition.Value.Z then
- game.Workspace.RemoteEvent:FireServer("MoveTo", "ToySell")
- wait(1)
- tor.Anchored = true
- elseif tor.Position.Z > workspace.CandyPosition.Value.Z then
- game.Workspace.RemoteEvent:FireServer("MoveTo", "CandySell")
- wait(1)
- tor.Anchored = true
- elseif tor.Position.Z > workspace.SpacePosition.Value.Z then
- game.Workspace.RemoteEvent:FireServer("MoveTo", "SpaceSell")
- wait(1)
- tor.Anchored = true
- else
- game.Workspace.RemoteEvent:FireServer("MoveTo", "SellSpawn")
- wait(1)
- tor.Anchored = true
- end
- wait()
- until getsenv(g.ScreenGui.ClientScript).inventoryContents() <= 0
- if g.ScreenGui:FindFirstChild("BackpackFull") then
- g.ScreenGui.BackpackFull.Visible = false
- end
- tor.Anchored = false
- SellInventory = false
- for i = 0, 3 do
- if workspace.Collapsed.Value == false then
- tor.CFrame = CFrame.new(BackupPosition)
- wait(0.2)
- end
- end
- end
- end
- r.RenderStepped:wait()
- end
- end))
- sg:SetCore("ChatMakeSystemMessage", {
- Text = "Mining Simulator GUI successfully loaded!",
- Color = Color3.new(math.random(1, 255) / 255, math.random(1, 255) / 255, math.random(1, 255) / 255),
- FontSize = Enum.FontSize.Size24,
- })
- sg:SetCore("ChatMakeSystemMessage", {
- Text = "Just a friendly reminder, press the \"P\" key to toggle the GUI!",
- Color = Color3.new(0, 1, 0),
- FontSize = Enum.FontSize.Size24,
- })
- sg:SetCore("ChatMakeSystemMessage", {
- Text = "Looks like this GUI was leaked, I just want thank everyone who has bought the script supporting my work.\n(Don't worry I will still keep updating it.)",
- Color = Color3.new(1, 0, 0),
- FontSize = Enum.FontSize.Size24,
- })
- for i, v in next, g.Chat:GetDescendants() do
- if v:IsA("TextLabel") and v.Text == "Mining Simulator GUI successfully loaded!" then
- spawn(function()
- local num = 0
- while true do
- if num > 1 then
- num = 0
- end
- num = num + 0.01
- v.TextColor3 = Color3.fromHSV(num, 0.4, 1)
- if v.Text ~= "Mining Simulator GUI successfully loaded!" then
- v.TextColor3 = Color3.new(1, 1, 1)
- break
- end
- r.RenderStepped:wait()
- end
- end)
- break
- end
- end
- end
- GetMaps()
- InitGui()
- -- Don't copy cunt
- local backup = nil
- m.__namecall = function(...)
- local t = {...}
- local method = t[#t]
- if method == "FindFirstChild" then
- if (NewInstantMine and tostring(t[2]) == "Pickaxe") or (not NewInstantMine and tostring(t[2]) == "Stats") then
- local env = getfenv(2)
- if env.script then
- if env.script.Parent ~= nil then
- if tostring(env.script.Parent) == "ScreenGui" then
- local start = debug.getlocal(2, "start") or debug.getupvalue(2, "mining")
- if start ~= nil then
- if backup == nil then
- backup = debug.getupvalue(2, "toolModule")
- end
- if InstantMine then
- debug.setupvalue(2, "mining", 0)
- debug.setlocal(2, "startTick", tick() + 999)
- debug.setlocal(2, "start", tick() - 999)
- debug.setlocal(2, "broke", true)
- debug.setlocal(2, "del", 0)
- debug.setlocal(2, "mineTime", 0)
- --debug.setlocal(2, "myClickCount", debug.getupvalue(2, "clickCount"))
- end
- if MineAnyBlock then
- local toolmod = debug.getupvalue(2, "toolModule")
- local pickaxe = debug.getlocal(2, "pickaxe")
- if toolmod and pickaxe then
- toolmod[pickaxe.Type.Value][1] = math.huge
- debug.setupvalue(2, "toolModule", toolmod)
- end
- else
- if toolmod and pickaxe then
- debug.setupvalue(2, "toolModule", backup)
- end
- end
- --[[local upv = debug.getupvalues(2)
- local locals = debug.getlocals(2)
- for i = 0, 25 do
- print(" ")
- end
- print("UP VALUES:")
- for i, v in next, upv do
- warn(i, v)
- end
- print("LOCALS:")
- for i, v in next, locals do
- warn(i, v)
- end]]
- end
- end
- end
- end
- end
- end
- if method == "PlayerOwnsAsset" then
- if FreeSKip and tostring(t[3]) == "1537206320" then
- return true
- end
- end
- if method == "FireServer" then
- if SpinningCrates or SellInventory then
- if tostring(t[2]) == "MineBlock" then
- return
- end
- end
- end
- return oldnamecall(...)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement