Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- warn('Miners Haven Gui by turtletowerz @Verm')
- local player = game.Players.LocalPlayer
- local mouse = player:GetMouse()
- local RepStorage = game.ReplicatedStorage
- local MysteryBox = RepStorage:FindFirstChild'MysteryBox'
- local RemoteDrop = RepStorage:FindFirstChild'RemoteDrop'
- local HasItem = RepStorage:FindFirstChild'HasItem'
- local Factory = player:FindFirstChild'PlayerTycoon'
- local RepStorage = game:GetService'ReplicatedStorage'
- local PlaceItem = RepStorage:FindFirstChild'PlaceItem'
- local Rebirth = RepStorage:FindFirstChild'Rebirth'
- local Click = RepStorage:FindFirstChild'Click'
- local cf, vec = CFrame.new, Vector3.new
- local allitems = {}
- local isdropping = false
- local autocrate = false
- local autosetup = false
- local MinerLux = Instance.new("ScreenGui", game.CoreGui)
- MinerLux.Name = "MinerLux"
- MinerLux.ResetOnSpawn = false
- local LuxOpen = Instance.new("TextButton", MinerLux)
- local Main = Instance.new("ScrollingFrame", MinerLux)
- local Speed = Instance.new("TextButton", Main)
- local JumpPower = Instance.new("TextButton", Main)
- local MaskedMan = Instance.new("TextButton", Main)
- local Clovers = Instance.new("TextButton", Main)
- local TwitchCoins = Instance.new("TextButton", Main)
- local Regular = Instance.new("TextButton", Main)
- local Unreal = Instance.new("TextButton", Main)
- local Inferno = Instance.new("TextButton", Main)
- local AutoTPCrate = Instance.new("TextButton", Main)
- local ToggleRemote = Instance.new("TextButton", Main)
- local AutoSetup = Instance.new("TextButton", Main)
- LuxOpen.Name = "LuxOpen"
- LuxOpen.BackgroundColor3 = Color3.new(1, 1, 1)
- LuxOpen.BorderColor3 = Color3.new(0, 0, 0)
- LuxOpen.Position = UDim2.new(0, 5, 0.75, -20)
- LuxOpen.Size = UDim2.new(0, 180, 0, 40)
- LuxOpen.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
- LuxOpen.Font = Enum.Font.SciFi
- LuxOpen.FontSize = Enum.FontSize.Size36
- LuxOpen.Text = "MinerLux"
- LuxOpen.TextColor3 = Color3.new(1, 1, 1)
- LuxOpen.TextSize = 36
- LuxOpen.TextStrokeTransparency = 0
- LuxOpen.TextWrapped = true
- Main.BackgroundColor3 = Color3.new(0, 0, 0)
- Main.BackgroundTransparency = 0.4
- Main.Position = UDim2.new(0, 190, 0.75, -125)
- Main.Size = UDim2.new(0, 200, 0, 250)
- Main.CanvasSize = UDim2.new(0, 0, 0.625, 0)
- Main.ScrollBarThickness = 15
- Speed.Name = "Speed"
- Speed.BackgroundColor3 = Color3.new(1, 1, 1)
- Speed.BorderColor3 = Color3.new(0, 0, 0)
- Speed.Position = UDim2.new(0, 1, 0, 5)
- Speed.Size = UDim2.new(0.9, 0, 0, 40)
- Speed.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
- Speed.Font = Enum.Font.SciFi
- Speed.FontSize = Enum.FontSize.Size36
- Speed.Text = "Increase Speed"
- Speed.TextColor3 = Color3.new(1, 1, 1)
- Speed.TextScaled = true
- Speed.TextSize = 36
- Speed.TextStrokeTransparency = 0
- Speed.TextWrapped = true
- JumpPower.Name = "JumpPower"
- JumpPower.BackgroundColor3 = Color3.new(1, 1, 1)
- JumpPower.BorderColor3 = Color3.new(0, 0, 0)
- JumpPower.Position = UDim2.new(0, 1, 0, 45)
- JumpPower.Size = UDim2.new(0.9, 0, 0, 40)
- JumpPower.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
- JumpPower.Font = Enum.Font.SciFi
- JumpPower.FontSize = Enum.FontSize.Size36
- JumpPower.Text = "Increase JumpPower"
- JumpPower.TextColor3 = Color3.new(1, 1, 1)
- JumpPower.TextScaled = true
- JumpPower.TextSize = 36
- JumpPower.TextStrokeTransparency = 0
- JumpPower.TextWrapped = true
- MaskedMan.Name = "MaskedMan"
- MaskedMan.BackgroundColor3 = Color3.new(1, 1, 1)
- MaskedMan.BorderColor3 = Color3.new(0, 0, 0)
- MaskedMan.Position = UDim2.new(0, 1, 0, 85)
- MaskedMan.Size = UDim2.new(0.9, 0, 0, 40)
- MaskedMan.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
- MaskedMan.Font = Enum.Font.SciFi
- MaskedMan.FontSize = Enum.FontSize.Size36
- MaskedMan.Text = "Teleport to Masked Man"
- MaskedMan.TextColor3 = Color3.new(1, 1, 1)
- MaskedMan.TextScaled = true
- MaskedMan.TextSize = 36
- MaskedMan.TextStrokeTransparency = 0
- MaskedMan.TextWrapped = true
- Clovers.Name = "Clovers"
- Clovers.BackgroundColor3 = Color3.new(1, 1, 1)
- Clovers.BorderColor3 = Color3.new(0, 0, 0)
- Clovers.Position = UDim2.new(0, 1, 0, 125)
- Clovers.Size = UDim2.new(0.9, 0, 0, 40)
- Clovers.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
- Clovers.Font = Enum.Font.SciFi
- Clovers.FontSize = Enum.FontSize.Size36
- Clovers.Text = "Give Clovers"
- Clovers.TextColor3 = Color3.new(1, 1, 1)
- Clovers.TextScaled = true
- Clovers.TextSize = 36
- Clovers.TextStrokeTransparency = 0
- Clovers.TextWrapped = true
- TwitchCoins.Name = "TwitchCoins"
- TwitchCoins.BackgroundColor3 = Color3.new(1, 1, 1)
- TwitchCoins.BorderColor3 = Color3.new(0, 0, 0)
- TwitchCoins.Position = UDim2.new(0, 1, 0, 165)
- TwitchCoins.Size = UDim2.new(0.9, 0, 0, 40)
- TwitchCoins.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
- TwitchCoins.Font = Enum.Font.SciFi
- TwitchCoins.FontSize = Enum.FontSize.Size36
- TwitchCoins.Text = "Give Twitch Coins"
- TwitchCoins.TextColor3 = Color3.new(1, 1, 1)
- TwitchCoins.TextScaled = true
- TwitchCoins.TextSize = 36
- TwitchCoins.TextStrokeTransparency = 0
- TwitchCoins.TextWrapped = true
- Regular.Name = "Regular"
- Regular.BackgroundColor3 = Color3.new(1, 1, 1)
- Regular.BorderColor3 = Color3.new(0, 0, 0)
- Regular.Position = UDim2.new(0, 1, 0, 205)
- Regular.Size = UDim2.new(0.9, 0, 0, 40)
- Regular.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
- Regular.Font = Enum.Font.SciFi
- Regular.FontSize = Enum.FontSize.Size36
- Regular.Text = "Open Regular Box"
- Regular.TextColor3 = Color3.new(1, 1, 1)
- Regular.TextScaled = true
- Regular.TextSize = 36
- Regular.TextStrokeTransparency = 0
- Regular.TextWrapped = true
- Unreal.Name = "Unreal"
- Unreal.BackgroundColor3 = Color3.new(1, 1, 1)
- Unreal.BorderColor3 = Color3.new(0, 0, 0)
- Unreal.Position = UDim2.new(0, 1, 0, 245)
- Unreal.Size = UDim2.new(0.9, 0, 0, 40)
- Unreal.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
- Unreal.Font = Enum.Font.SciFi
- Unreal.FontSize = Enum.FontSize.Size36
- Unreal.Text = "Open Unreal Box"
- Unreal.TextColor3 = Color3.new(1, 1, 1)
- Unreal.TextScaled = true
- Unreal.TextSize = 36
- Unreal.TextStrokeTransparency = 0
- Unreal.TextWrapped = true
- Inferno.Name = "Inferno"
- Inferno.BackgroundColor3 = Color3.new(1, 1, 1)
- Inferno.BorderColor3 = Color3.new(0, 0, 0)
- Inferno.Position = UDim2.new(0, 1, 0, 285)
- Inferno.Size = UDim2.new(0.9, 0, 0, 40)
- Inferno.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
- Inferno.Font = Enum.Font.SciFi
- Inferno.FontSize = Enum.FontSize.Size36
- Inferno.Text = "Open Inferno Box"
- Inferno.TextColor3 = Color3.new(1, 1, 1)
- Inferno.TextScaled = true
- Inferno.TextSize = 36
- Inferno.TextStrokeTransparency = 0
- Inferno.TextWrapped = true
- AutoTPCrate.Name = "AutoTPCrate"
- AutoTPCrate.BackgroundColor3 = Color3.new(1, 1, 1)
- AutoTPCrate.BorderColor3 = Color3.new(0, 0, 0)
- AutoTPCrate.Position = UDim2.new(0, 1, 0, 325)
- AutoTPCrate.Size = UDim2.new(0.9, 0, 0, 40)
- AutoTPCrate.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
- AutoTPCrate.Font = Enum.Font.SciFi
- AutoTPCrate.FontSize = Enum.FontSize.Size36
- AutoTPCrate.Text = "Auto-TP Crates: OFF"
- AutoTPCrate.TextColor3 = Color3.new(1, 1, 1)
- AutoTPCrate.TextScaled = true
- AutoTPCrate.TextSize = 36
- AutoTPCrate.TextStrokeTransparency = 0
- AutoTPCrate.TextWrapped = true
- ToggleRemote.Name = "ToggleRemote"
- ToggleRemote.BackgroundColor3 = Color3.new(1, 1, 1)
- ToggleRemote.BorderColor3 = Color3.new(0, 0, 0)
- ToggleRemote.Position = UDim2.new(0, 1, 0, 370)
- ToggleRemote.Size = UDim2.new(0.9, 0, 0, 40)
- ToggleRemote.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
- ToggleRemote.Font = Enum.Font.SciFi
- ToggleRemote.FontSize = Enum.FontSize.Size36
- ToggleRemote.Text = "Toggle Drop: OFF"
- ToggleRemote.TextColor3 = Color3.new(1, 1, 1)
- ToggleRemote.TextScaled = true
- ToggleRemote.TextSize = 36
- ToggleRemote.TextStrokeTransparency = 0
- ToggleRemote.TextWrapped = true
- AutoSetup.Name = "AutoSetup"
- AutoSetup.BackgroundColor3 = Color3.new(1, 1, 1)
- AutoSetup.BorderColor3 = Color3.new(0, 0, 0)
- AutoSetup.Position = UDim2.new(0, 1, 0, 415)
- AutoSetup.Size = UDim2.new(0.9, 0, 0, 40)
- AutoSetup.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
- AutoSetup.Font = Enum.Font.SciFi
- AutoSetup.FontSize = Enum.FontSize.Size36
- AutoSetup.Text = "Auto-Setup: OFF"
- AutoSetup.TextColor3 = Color3.new(1, 1, 1)
- AutoSetup.TextScaled = true
- AutoSetup.TextSize = 36
- AutoSetup.TextStrokeTransparency = 0
- AutoSetup.TextWrapped = true
- local function OnClick(btt, func) btt.MouseButton1Click:connect(function() func() end) end
- local function Place(ItemName, cf) PlaceItem:InvokeServer(ItemName, Factory.Value, cf) end
- local function GetTycoon(place)
- if place ~= nil then return workspace.Tycoons:FindFirstChild(place) end
- for _, tyc in pairs(workspace.Tycoons:GetChildren()) do
- local owner = tyc:FindFirstChild'Owner'
- if tyc.Name:sub(1, 7) == "Factory" and tyc:IsA'Model' and owner.Value == player.Name then
- return tyc
- end
- end
- return nil
- end
- local droppedfolder = workspace.DroppedParts:FindFirstChild(GetTycoon().Name)
- local function HandleCrates()
- if not autocrate then return end
- local crates = {DiamondCrate=true, ResearchCrate=true, GoldenCrate=true, CrystalCrate=true, LuckyCrate=true, ExecutiveCrate=true, GiftCrate=true}
- local halloween = {Pumpkin=true, MegaPumpkin=true, ShadowCrate=true}
- for _,z in pairs(workspace:GetChildren()) do
- if crates[z.name] or halloween[z.Name] then
- z.CFrame = player.Character.HumanoidRootPart.CFrame+Vector3.new(0, 0, 0)
- z.CanCollide = false
- z.Transparency = 1
- for _,v in pairs(workspace.Shadows:GetChildren()) do
- if halloween[v.Name] then
- v.CFrame = player.Character.HumanoidRootPart.CFrame + Vector3.new(0, 0, 0)
- v.CanCollide = false
- v.Transparency = 1
- end
- end
- end
- end
- end
- local function GetReversible()
- local reverse = GetTycoon():FindFirstChild'Reversible Conveyor'
- local part = reverse.Model:FindFirstChild'Part'
- if part then
- return part
- end
- return nil
- end
- local function PlaceAll()
- for _, itm in pairs(allitems) do
- if itm[3] == nil then
- Place(itm[1], itm[2])
- else
- Place(itm[1], itm[3])
- end
- wait(0.1)
- end
- end
- local function DoIt() PlaceAll() wait(1) Click:FireServer(GetReversible()) end
- local function SetUpList()
- local Factory1 = GetTycoon('Factory1')
- local CurrentTycoon = GetTycoon(nil)
- if Factory1 == nil or CurrentTycoon == nil then return end
- local isfactory1 = (Factory1.Name == CurrentTycoon.Name)
- local CurrBase, Fac1Base = CurrentTycoon.Base, Factory1.Base
- local CurrTopLeft = CurrBase.CFrame * cf(vec(CurrBase.Size.x / 2, 0, CurrBase.Size.z / 2))
- local Fac1TopLeft = Fac1Base.CFrame * cf(vec(Fac1Base.Size.x / 2, 0, Fac1Base.Size.z / 2))
- local items = {
- {'Symcorpium Mine', CFrame.new(-497.5, 704.2, 633.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)},
- {"Orange Teleporter (Receiver)", CFrame.new(-482.5, 704.2, 638, 0, 0, 1, 0, 1, 0, -1, 0, 0)},
- {"Basic Conveyor", CFrame.new(-473.5, 702.7, 639.5, -1, 0, 0, 0, 1, 0, 0, 0, -1)},
- {"Basic Conveyor", CFrame.new(-473.5, 702.7, 633.5, 0, 0, 1, 0, 1, 0, -1, 0, 0)},
- {"Premium Tracker", CFrame.new(-467.5, 704.2, 633.5, 0, 0, 1, 0, 1, 0, -1, 0, 0)},
- {"Catalyzed Star", CFrame.new(-455.5, 705.7, 633.5, 0, 0, 1, 0, 1, 0, -1, 0, 0)},
- {"Reversible Conveyor", CFrame.new(-442, 702.7, 633.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)},
- {"Orange Teleporter (Sender)", CFrame.new(-443.5, 704.2, 627.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)},
- {"Basic Conveyor", CFrame.new(-443.5, 702.7, 639.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)},
- {"Aether Refiner", CFrame.new(-443.5, 705.8, 650, 0, 0, -1, 0, 1, 0, 1, 0, 0)},
- }
- for _, itm in pairs(items) do
- if isfactory1 then
- allitems[#allitems + 1] = {itm[1], itm[2], nil}
- else
- local fac1diff = (itm[2] - Fac1TopLeft.p)
- local currbasepos = (fac1diff - (CurrTopLeft.p * Vector3.new(-1, -1, -1)))
- allitems[#allitems + 1] = {itm[1], itm[2], currbasepos}
- end
- end
- end
- SetUpList()
- OnClick(Speed, function() player.Character:FindFirstChild'Humanoid'.WalkSpeed = 80 end)
- OnClick(JumpPower, function() player.Character:FindFirstChild'Humanoid'.JumpPower = 180 end)
- OnClick(Clovers, function() player.Clovers.Value = player.Clovers.Value + 50 end)
- OnClick(TwitchCoins, function() player.TwitchPoints.Value = player.TwitchPoints.Value + 50 end)
- OnClick(Regular, function() MysteryBox:InvokeServer("Regular") end)
- OnClick(Unreal, function() MysteryBox:InvokeServer("Unreal") end)
- OnClick(Inferno, function() MysteryBox:InvokeServer("Inferno") end)
- OnClick(MaskedMan, function() player.Character.HumanoidRootPart.CFrame = workspace.Market.Torso.CFrame end)
- OnClick(LuxOpen, function() Main.Visible = not Main.Visible end)
- OnClick(ToggleRemote, function()
- isdropping = not isdropping
- if isdropping then
- ToggleRemote.Text = "Toggle Drop: ON"
- else
- ToggleRemote.Text = "Toggle Drop: OFF"
- end
- end)
- OnClick(AutoTPCrate, function()
- autocrate = not autocrate
- if autocrate then
- AutoTPCrate.Text = "Auto-TP Crates: ON"
- else
- AutoTPCrate.Text = "Auto-TP Crates: OFF"
- end
- HandleCrates()
- end)
- OnClick(AutoSetup, function()
- autosetup = not autosetup
- if autosetup then
- AutoSetup.Text = "Auto-Setup: ON"
- else
- AutoSetup.Text = "Auto-Setup: OFF"
- end
- DoIt()
- end)
- workspace.ChildAdded:connect(HandleCrates)
- workspace.Shadows.ChildAdded:connect(HandleCrates)
- mouse.KeyDown:connect(function(key) if key:byte() == 92 then DoIt() end end)
- while wait(0.1) do
- if isdropping then RemoteDrop:FireServer() end
- local bop = Rebirth:InvokeServer()
- if bop == true and autosetup then wait(3) DoIt() end
- local droppedpart = droppedfolder:FindFirstChild'DroppedPart'
- if droppedpart then
- if droppedpart.Cash.Value > 1e+33 then
- Click:FireServer(GetReversible())
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement