Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[ Miners Haven Ore Booster
- only works on vip server (takes tycoon1 upgraders)
- setup required: fireproof ore leading to a basic conveyor, then stars and upgraders anywhere on the base. furnace anywhere on the base.
- edits required: name of furnace and cap of your star loop (https://minershaven.fandom.com/wiki/Cash_Suffixes)
- edit it below
- ]]
- local furnace = "Dreamer's Terror"
- local starmax = 1e+90
- --[[no need to edit below]]
- -- when the ore hits conveyor
- game.Players.LocalPlayer.PlayerTycoon.Value["Basic Conveyor"].Hitbox.Touched:connect(function(hit)
- if hit:FindFirstChild("Cash") then
- --star loop
- while hit.Cash.Value < starmax do
- for i,v in pairs(game.Workspace.Tycoons.Factory1:GetDescendants()) do
- if v.Name == "Morning Star" or v.Name == "Blue Supergiant" or v.Name == "Nova Star" or v.Name == "Catalyzed Star" or v.Name == "Red Giant" then
- hit.CFrame = v.Model.Upgrade.CFrame
- hit.Velocity = Vector3.new(0,0,0)
- wait()
- wait()
- end
- if v.Name == "Neutron Star" then
- hit.CFrame = v.Model.Upgrade2.CFrame
- hit.Velocity = Vector3.new(0,0,0)
- wait()
- hit.CFrame = v.Model.Upgrade.CFrame
- hit.Velocity = Vector3.new(0,0,0)
- wait()
- end
- end
- wait()
- end
- --upgraders
- for i,v in pairs(game.Workspace.Tycoons.Factory1:GetDescendants()) do
- if v.Name == "Upgrade" and v.Parent.Parent.Name ~= "Tesla Refuter" and v.Parent.Parent.Name ~= "Tesla Resetter" and v.Parent.Parent.Name ~= "The Final Upgrader" and v.Parent.Parent.Name ~= "The Ultimate Sacrifice" then
- hit.CFrame = v.CFrame
- hit.Velocity = Vector3.new(0,0,0)
- wait(0.25)
- end
- end
- -- tesla
- for i,v in pairs(game.Workspace.Tycoons.Factory1:GetDescendants()) do
- if v.Name == "Tesla Resetter" or v.Name == "Tesla Refuter" then
- hit.CFrame = v.Model.Upgrade.CFrame
- hit.Velocity = Vector3.new(0,0,0)
- wait(0.25)
- end
- end
- -- upgraders
- for i,v in pairs(game.Workspace.Tycoons.Factory1:GetDescendants()) do
- if v.Name == "Upgrade" and v.Parent.Parent.Name ~= "Tesla Refuter" and v.Parent.Parent.Name ~= "Tesla Resetter" and v.Parent.Parent.Name ~= "The Final Upgrader" and v.Parent.Parent.Name ~= "The Ultimate Sacrifice" then
- hit.CFrame = v.CFrame
- hit.Velocity = Vector3.new(0,0,0)
- wait(0.25)
- end
- end
- -- final upgraders
- for i,v in pairs(game.Workspace.Tycoons.Factory1:GetDescendants()) do
- if v.Name == "The Final Upgrader" or v.Name == "The Ultimate Sacrifice" then
- hit.CFrame = v.Model.Upgrade.CFrame
- hit.Velocity = Vector3.new(0,0,0)
- wait(0.25)
- end
- end
- -- upgraders
- for i,v in pairs(game.Workspace.Tycoons.Factory1:GetDescendants()) do
- if v.Name == "Upgrade" and v.Parent.Parent.Name ~= "Tesla Refuter" and v.Parent.Parent.Name ~= "Tesla Resetter" and v.Parent.Parent.Name ~= "The Final Upgrader" and v.Parent.Parent.Name ~= "The Ultimate Sacrifice" then
- hit.CFrame = v.CFrame
- hit.Velocity = Vector3.new(0,0,0)
- wait(0.25)
- end
- end
- -- furnace
- hit.CFrame = game.Players.LocalPlayer.PlayerTycoon.Value[furnace].Model.Lava.CFrame
- wait(0.25)
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment