Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if getgenv().aurora then return end
- local r = game:GetService("RunService")
- local Players = game:GetService("Players") or game.Players
- local WS = game:GetService("Workspace") or workspace or game.Workspace
- local L = game:GetService("Lighting") or game.Lighting
- local http = game:GetService("HttpService")
- local user = game:GetService("UserInputService")
- local RS = game:GetService("ReplicatedStorage") or game.ReplicatedStorage
- local TS = game:GetService("TweenService")
- local CG = game:GetService("CoreGui")
- local Teams = game:GetService("Teams") or game.Teams
- local Camera = WS.CurrentCamera or WS:FindFirstChild("Camera")
- local RandomStr = http:GenerateGUID(false)
- local GameFor = {a = "258258996"}
- local Hint = Instance.new("Hint",CG)
- Hint.Text = "Loading Services"
- local LP = Players.LocalPlayer
- local Mouse = LP:GetMouse()
- local Character = LP:FindFirstChild("Character") or LP.Character
- local default_colors = {
- Purple = Color3.fromRGB(85, 0, 255),
- Pink = Color3.fromRGB(170, 0, 127),
- Grey = Color3.fromRGB(56, 56, 56),
- }
- local getupval = debug.getupvalue or getupvalue
- local getupvals = debug.getupvalues or getupvalues or secret953
- local getreg = debug.getregistry or getregistry or getreg
- local setupval = debug.setupvalue or setupvalue or secret500
- local getlocal = debug.getlocal or getlocal or secret234
- local getlocals = debug.getlocals or getlocals
- local setlocal = debug.setlocal or setlocal
- local mt = getrawmetatable(game)
- local setreadonly = make_writeable or setreadonly
- local touch = firetouchinterest
- local click = fireclickdetector
- local Copy = setclipboard or clipboard.set or copystring
- local oldnamecall = mt.__namecall
- local oldindex = mt.__index
- if syn == nil then
- LP:Kick("Exploit not supported.")
- end
- if game.PlaceId ~= tonumber(GameFor.a) then
- LP:Kick("[ERROR]: GAMEID: "..tonumber(GameFor.a).." ~= "..game.PlaceId)
- end
- local mainui = loadstring(game:HttpGet("https://pastebin.com/raw/iK6wvr5U", true))()
- local visuals = loadstring(game:HttpGet("https://pastebin.com/raw/cv4Amr2p", true))()
- local Console = rconsolename("Aurora Console")
- local main = { }
- local functions = { }
- local backups = { }
- local loops = { }
- local autotable = { }
- local boostertable = { }
- do--rconsole
- do--hook
- Hint.Text = "Loading rconsole"
- hookfunction(warn, function(t)
- rconsolewarn(" [WARN]"..t)
- end)
- hookfunction(print, function(t)
- rconsolewarn(" [PRINT]"..t)
- end)
- hookfunction(error, function(t)
- rconsoleerr(" [ERROR]"..t)
- end)
- end--kook
- local function logo()
- rconsoleprint(" ______ __ __ ______ \n")
- rconsoleprint(" / \\ / | / | / \\ \n")
- rconsoleprint(" /$$$$$$ | __ __ ______ ______ ______ ______ $$ | $$ |/$$$$$$ | \n")
- rconsoleprint(" $$ |__$$ |/ | / | / \\ / \\ / \\ / \\ $$ | $$ |$$ ___$$ | \n")
- rconsoleprint(" $$ $$ |$$ | $$ |/$$$$$$ |/$$$$$$ |/$$$$$$ |$$$$$$ | $$ \\ /$$/ / $$< \n")
- rconsoleprint(" $$$$$$$$ |$$ | $$ |$$ | $$/ $$ | $$ |$$ | $$/ / $$ | $$ /$$/ _$$$$$ | \n")
- rconsoleprint(" $$ | $$ |$$ \\__$$ |$$ | $$ \\__$$ |$$ | /$$$$$$$ | $$ $$/ / \\__$$ | \n")
- rconsoleprint(" $$ | $$ |$$ $$/ $$ | $$ $$/ $$ | $$ $$ | $$$/ $$ $$/ \n")
- rconsoleprint(" $$/ $$/ $$$$$$/ $$/ $$$$$$/ $$/ $$$$$$$/ $/ $$$$$$/ \n")
- rconsoleprint("\n Aurora loaded, Do not close this menu just minimize it.\n\n ALL ERRORS/WARNS/PRINTS WILL BE BELOW HERE!\n\n\n")
- end
- logo()
- end--rconsole
- local settings = {
- CrateColored = true,
- CrateChams = false,
- }
- do --functions
- Hint.Text = "Loading Functions"
- function GetColor(obj)
- if settings.CrateColored then
- if obj.Name == "ResearchCrate" then
- return Color3.fromRGB(255,255,255)
- elseif obj.Name == "GoldenCrate" then
- return Color3.fromRGB(255,255,0)
- elseif obj.Name == "DiamondCrate" then
- return Color3.fromRGB(0,150,255)
- elseif obj.Name == "LuckyCrate" then
- return Color3.fromRGB(0,255,100)
- elseif obj.Name == "CrystalCrate" then
- return Color3.fromRGB("255,0,255")
- elseif obj.Name == "ShadowCrate" then
- return Color3.fromRGB(255,0,255)
- elseif obj.Name == "MegaPumpkin" then
- return Color3.fromRGB(255,69,0)
- elseif obj.Name == "CandyCrate" then
- return Color3.fromRGB(255,69,0)
- end
- return Color3.fromRGB(0,0,0)
- else
- return Color3.fromRGB(255,0,255)
- end
- end
- function CreateBox(obj)
- local x = Instance.new("BoxHandleAdornment",obj)
- x.Color3 = GetColor(obj)
- x.Adornee = obj
- x.AlwaysOnTop = true
- x.Transparency = 0.4
- x.ZIndex = 5
- x.Size = Vector3.new(10,10,10)
- x.Visible = true
- x.Name = "fuck"
- return x
- end
- function functions:TeamColor(x)
- if x.Team == P.Team then
- return Color3.fromRGB(0,255,0)
- else
- return Color3.fromRGB(255,0,0)
- end
- end
- function functions:CreateWarn(t)
- warn(string.rep("-",25))
- warn(t)
- end
- function functions:CheckSyn()
- if syn == nil then
- return false
- else
- return true
- end
- end
- function functions:GetSize(p)
- if p:isA ("BasePart") then
- return p.Size
- end
- if p:IsA ("MeshPart") then
- return p.Size
- end
- end
- function functions:WarnTable(t)
- for a,b in next, t do
- if type(b)=="table" then
- functions:CreateWarn("[TABLE] "..tostring(a))
- functions:WarnTable(b)
- end
- functions:CreateWarn("[VALUE] "..a,b)
- end
- end
- function functions:GetReplicatedScripts()
- local x = {}
- for i,v in pairs(RS:GetDescendants()) do
- if v:isA("LocalScript") or v:isA("ModuleScript") then
- table.insert(x,v)
- end
- end
- return x
- end
- function functions:CreateFolder(n,p)
- local p = n or "Folder"
- local Folder = Instance.new("Folder",p)
- Folder.Name = p
- return Folder
- end
- function functions:RandomizeName(obj)
- if obj:isA("ScreenGui") or obj:isA("Model") then
- for i,v in pairs(obj:GetDescendants()) do
- v.Name = RandomStr
- end
- end
- if obj:isA("Part") or obj:isA("MeshPart") or obj:isA("UnionOperation") then
- obj.Name = RandomStr
- end
- end
- function functions:FindWSObj(name,class)
- for i,v in pairs(WS:GetDescendants())do
- if v.Name == name and v:isA(class) then
- return v
- end
- end
- end
- function functions:deepcopy(y)
- local orig_type = type(y)
- local copy
- if orig_type == 'table' then
- copy = {}
- for orig_key, orig_value in next, y, nil do
- copy[functions:deepcopy(orig_key)] = functions:deepcopy(orig_value)
- end
- setmetatable(copy, functions:deepcopy(getmetatable(y)))
- else
- copy = y
- end
- return copy
- end
- function functions:CreateLoop(name, func, waitt, canBeDestroyed, ...)
- if loops[name] ~= nil then return end
- loops[name] = { }
- loops[name].Running = false
- loops[name].Destroy = false
- loops[name].CanBeDestroyed = canBeDestroyed
- loops[name].Loop = coroutine.create(function(...)
- while true do
- if loops[name].Running then
- func(...)
- end
- if loops[name].Destroy then
- break
- end
- if type(wait) == "userdata" then
- waitt:wait()
- else
- wait(waitt)
- end
- end
- end)
- end
- function functions:RunLoop(name, func, waitt, canBeDestroyed, ...)
- if loops[name] == nil then
- if func ~= nil then
- self:CreateLoop(name, func, waitt, canBeDestroyed, ...)
- end
- end
- loops[name].Running = true
- local succ, out = coroutine.resume(loops[name].Loop)
- if not succ then
- warn("Loop: " .. tostring(name) .. " ERROR: " .. tostring(out))
- end
- end
- function functions:StopLoop(name)
- if loops[name] == nil then return end
- loops[name].Running = false
- end
- function functions:DestroyLoop(name)
- if loops[name] == nil then return end
- self:StopLoop(name)
- loops[name].Destroy = true
- loops[name] = nil
- end
- function functions:DestroyAllLoops()
- for i, v in next, loops do
- self:DestroyLoop(i)
- end
- end
- function functions:Teleport(cf)
- local char = LP.Character
- if char then
- local hum = char:FindFirstChild("HumanoidRootPart")
- if hum then
- hum.CFrame = cf
- end
- end
- end
- function functions:GetPlayerTycoon(plr)
- for i,v in pairs(Workspace.Tycoons:GetChildren()) do
- for ii,vv in pairs(v:GetChildren()) do
- if vv.Name == "Owner" then
- if vv.Value == plr.Name then
- return v
- end
- end
- end
- end
- end
- function functions:getUpgrader(upgr)
- local base = self:GetPlayerTycoon(LP)
- if base:FindFirstChild(upgr) then
- return true
- else
- return false
- end
- end
- function functions:getUpgraderMax(upgr)
- if tostring(upgr) == "Suspended Refiner" then
- return 1e+18
- elseif tostring(upgr) == "Suspended Lava Refiner" then
- return 1e+27
- elseif tostring(upgr) == "Advanced Ore Atomizer" then
- return 1e+21
- elseif tostring(upgr) == "Freon Supressor" then
- return 1e+23
- elseif tostring(upgr) == "Ore Thermocrusher" then
- return 1e+25
- elseif tostring(upgr) == "Ore Transistor" then
- return 1e+30
- elseif tostring(upgr) == "Ore Transponder" then
- return 1e+33
- elseif tostring(upgr) == "Molten Upgrader" then
- return 1e+18
- end
- end
- end--functions
- do--table
- main.settings = {
- char = {
- clicktp = false,
- walkspeedval = 16,
- walkspeed = false,
- jumppowerval = 50,
- jumppower = false,
- },
- tycoon = {
- startmode = "Cheaper",
- auto = false,
- slot = 3,
- autoc = 0,
- boxitems = false,
- shopitems = true,
- moneystart = true,
- starwait = 60,
- autostar = false,
- autolayout = false,
- clickbuttons = false,
- oreamount = 70,
- loopactive = false,
- loopupgrader = "",
- },
- }
- end
- function main:Init()
- Hint.Text = "Loading Game Function"
- functions:CreateLoop("Box Chams",function()
- for i,v in pairs(Workspace:GetChildren()) do
- if v:FindFirstChild("ResearchCrateScript") and v.Name ~= "GiftCrate" and not v:FindFirstChild("Cham") and settings.CrateChams then
- CreateBox(v)
- local a = Instance.new("Model",v)
- a.Name = "Cham"
- end
- end
- for i,v in pairs(Workspace.Shadows:GetChildren()) do
- if v:FindFirstChild("ResearchCrateScript") and not v:FindFirstChild("Cham") and settings.CrateChams then
- CreateBox(v)
- local a = Instance.new("Model",v)
- a.Name = "Cham"
- end
- end
- end,0.5)
- function RemoveChams()
- for i,v in pairs(Workspace:GetChildren()) do
- if v:FindFirstChild("fuck") then
- v.fuck:Destroy()
- v.Cham:Destroy()
- end
- end
- end
- function functions:TeleportCrates()
- local oldpos = LP.Character.HumanoidRootPart.CFrame
- for i,v in pairs(Workspace:GetDescendants()) do
- if v:FindFirstChild("ResearchCrateScript") and v.Name ~= "GiftCrate" then
- if v.Parent.Name == "Workspace" or v.Parent.Name == "Shadows" then
- functions:Teleport(v.CFrame)
- wait(1)
- end
- end
- functions:Teleport(oldpos)
- end
- end
- functions:CreateLoop("Crate TP",function()
- functions:TeleportCrates()
- end,20)
- do--auto
- autotable = {
- items = {
- dragonglass = CFrame.new(-90, 11, 81, -4.37113883e-08, 0, 1, 0, 1, 0, -1, 0, -4.37113883e-08),
- anguishevol = CFrame.new(-64.5, 12.5, 81, 1.3907092e-07, 0, 1, 0, 1, 0, -1, 0, 1.3907092e-07),
- anguish = CFrame.new(51, 5, -40.5, 1, 0, 1.74845553e-07, 0, 1, 0, -1.74845553e-07, 0, 1),
- yunium = CFrame.new(51, 8, -55.5, 1.19248806e-08, 0, -1, 0, 1, 0, 1, 0, 1.19248806e-08),
- },
- buyitems = {
- {"Conveyor Ramp",99},
- {"Basic Conveyor",99},
- {"Centering Conveyor",99},
- {"Large Converter Ramp",99},
- {"Raised Mini Conveyor",99},
- {"Orbitable Upgrader",99},
- {"Advanced Ore Scanner",99},
- {"Wood Wall Segment",99},
- {"Ore Elevator",99},
- {"Ore Cannon",99},
- {"Ore Replicator",99},
- },
- buycrate = {
- {"Ore Zapper",99},
- {"Ore Winder",99},
- {"Ore Steamer",99},
- {"Portable Ore Stopper",99},
- {"Ore Hoister",99},
- {"Rush Upgrader",99},
- {"Ore Recliner",99},
- {"Satellite Beam",99},
- {"Endpoint Refiner",99},
- {"Heat Condenser",99},
- {"Industrial Ore Welder",99},
- {"Ore Crane",99},
- },
- }
- local PlaceEvent = RS.PlaceItem
- local RemoveAll = RS.DestroyAll
- local HasItem = RS.HasItem
- local Rebirth = RS.Rebirth
- local Layout = RS.Layouts
- local Click = RS.Click
- local Remote = RS.RemoteDrop
- local LayoutsFolder = LP.Layouts
- local Buy = RS.BuyItem
- local ToggleMines = RS.ToggleMines
- local Pulse = RS.Pulse
- function autotable:DestroyItem(name)
- local base = functions:GetPlayerTycoon(LP)
- if base:FindFirstChild(name) then
- local item = base[name]
- RS.DestroyItem:InvokeServer(item)
- end
- end
- function autotable:ClickButtons()
- local base = functions:GetPlayerTycoon(LP)
- if base ~= nil then
- for i,v in pairs(base:GetChildren()) do
- if v:isA("Model") then
- for ii,vv in pairs(v:GetDescendants()) do
- if vv:isA("ClickDetector") and v.Name == "Arcane Lightning" or v.Name == "Lightningbolt Refiner" then
- if vv.Parent:isA("Part") then
- Click:FireServer(vv.Parent)
- end
- end
- end
- end
- end
- end
- end
- functions:CreateLoop("Click Buttons",function()
- if main.settings.tycoon.clickbuttons then
- autotable:ClickButtons()
- end
- end,0.25)
- functions:CreateLoop("Click Remote",function()
- Remote:FireServer()
- end,0.2)
- functions:CreateLoop("Reborn",function()
- Rebirth:InvokeServer()
- end,1)
- function autotable:BuyItems()
- for i,v in pairs(autotable.buyitems) do
- Buy:InvokeServer(unpack(v))
- wait(0.5)
- end
- end
- function autotable:BuyCrateItems()
- for i,v in pairs(autotable.buycrate) do
- Buy:InvokeServer(unpack(v))
- wait(0.5)
- end
- end
- function autotable:StartForMoney()
- if main.settings.tycoon.startmode == "Expensive" then
- PlaceEvent:InvokeServer("Draconicglass Mine",self.items.dragonglass + functions:GetPlayerTycoon(LP).Base.Position)
- PlaceEvent:InvokeServer("Dreamer's Nightmare",self.items.anguishevol + functions:GetPlayerTycoon(LP).Base.Position)
- elseif main.settings.tycoon.startmode == "Cheaper" then
- PlaceEvent:InvokeServer("Yunium Mine",self.items.yunium + functions:GetPlayerTycoon(LP).Base.Position)
- PlaceEvent:InvokeServer("Dreamer's Anguish",self.items.anguish + functions:GetPlayerTycoon(LP).Base.Position)
- end
- wait(1)
- functions:RunLoop("Click Remote")
- wait(8)
- functions:StopLoop("Click Remote")
- wait(1)
- RemoveAll:InvokeServer()
- wait(0.5)
- end
- function autotable:AutoStar()
- if main.settings.tycoon.auto then return end
- if main.settings.tycoon.auto == false then
- main.settings.tycoon.auto = true
- local currlife = LP.leaderstats.Life.Value
- local lay = "Layout"..main.settings.tycoon.slot
- warn("Star start")
- if main.settings.tycoon.moneystart then
- self:StartForMoney()
- else
- wait(3)
- end
- if main.settings.tycoon.shopitems then
- self:BuyItems()
- wait(0.5)
- Buy:InvokeServer("Full Shield Conveyor",99)
- wait(0.5)
- end
- if main.settings.tycoon.boxitems then
- self:BuyCrateItems()
- end
- wait(1)
- Layout:InvokeServer("Load",lay)
- warn("Star fase 1")
- repeat
- local oretext = game.Players.LocalPlayer.PlayerGui.GUI.HUDTop.Money.OreLimit.Amount
- local orespli = string.split(oretext.Text,"/")
- local orec = string.match(orespli[1],"%d+")
- wait()
- until tonumber(orec) >= main.settings.tycoon.oreamount
- warn("Star fase 2")
- autotable:DestroyItem("Symmetryte Mine")
- local count = 0
- repeat
- count = count +1
- wait(1)
- until count == main.settings.tycoon.starwait
- count = 0
- Pulse:FireServer()
- warn("Star fase 3")
- functions:RunLoop("Reborn")
- repeat
- wait()
- until LP.leaderstats.Life.Value > currlife
- wait(1)
- functions:StopLoop("Reborn")
- wait(4)
- main.settings.tycoon.auto = false
- warn("Star complete")
- end
- end
- function autotable:AutoLayout()
- if main.settings.tycoon.auto then return end
- if main.settings.tycoon.auto == false then
- main.settings.tycoon.auto = true
- local currlife = LP.leaderstats.Life.Value
- local lay = "Layout"..main.settings.tycoon.slot
- if main.settings.tycoon.moneystart then
- self:StartForMoney()
- else
- wait(3)
- end
- if main.settings.tycoon.shopitems then
- self:BuyItems()
- end
- if main.settings.tycoon.boxitems then
- self:BuyCrateItems()
- end
- wait(1)
- Layout:InvokeServer("Load",lay)
- functions:RunLoop("Reborn")
- repeat
- main.settings.tycoon.autoc = main.settings.tycoon.autoc + 1
- if main.settings.tycoon.autoc == 300 then
- if main.settings.tycoon.auto then
- RemoveAll:InvokeServer()
- functions:StopLoop("Reborn")
- wait(2)
- main.settings.tycoon.auto = false
- main.settings.tycoon.autoc = 0
- break
- else
- main.settings.tycoon.autoc = 0
- end
- end
- wait(1)
- until LP.leaderstats.Life.Value > currlife
- functions:StopLoop("Reborn")
- wait(4)
- main.settings.tycoon.auto = false
- main.settings.tycoon.autoc = 0
- end
- function autotable:LoopUpgrader(item)
- end
- end--auto
- do--ore booster
- boostertable = {
- schrod = true,
- blaster = true,
- stars = true,
- illuminator = true,
- azure = true,
- fire = true,
- reset = true,
- mode = "all",
- conveyor = "Ancient Conveyor",
- }
- local upgrs = {}
- function boostertable:filterItem(vv)
- if not self.schrod and string.find(tostring(vv),"Schrodinger") then
- return
- elseif not self.blaster and string.find(tostring(vv),"Blaster") then
- return
- elseif not self.stars and string.find(tostring(vv),"Star") or tostring(vv) == "Blue Supergiant" then
- return
- elseif not self.illuminator and tostring(vv) == "Ore Illuminator" or tostring(vv) == "Ore Indoctrinator" then
- return
- elseif not self.azure and tostring(vv) == "Azure Refiner" then
- return
- elseif not self.reset and tostring(vv) == "Tesla Resetter" or tostring(vv) == "The Final Upgrader" or tostring(vv) == "The Ultimate Sacrifice" or tostring(vv) == "Black Dwarf" or tostring(vv) == "Void Star" then
- return
- elseif not self.fire and tostring(vv) == "Portable Flamethrower" or tostring(vv) == "Flaming Ore Scanner" then
- return
- end
- return "good"
- end
- function boostertable:SetUpgraders()
- local mybase = functions:GetPlayerTycoon(LP)
- if not mybase:FindFirstChild(self.conveyor) then return end
- for i,v in pairs(Workspace.Tycoons:GetChildren()) do
- if v.Name ~= mybase.Name then
- for i,vv in pairs(v:GetChildren()) do
- if vv:isA("Model") and self:filterItem(vv) == "good" then
- if vv.Model:FindFirstChild("Upgrade") then
- vv.Model.Upgrade.CFrame = mybase[self.conveyor].Hitbox.CFrame
- end
- end
- end
- end
- end
- end--
- end--booster
- functions:CreateLoop("AutoLayout",function()
- if not main.settings.tycoon.autolayout then return end
- autotable:AutoLayout()
- end,1)
- functions:CreateLoop("AutoStar",function()
- if not main.settings.tycoon.autostar then return end
- autotable:AutoStar()
- end,1)
- functions:CreateLoop("Walkspeed",function()
- if not main.settings.char.walkspeed then return end
- local char = LP.Character
- if char then
- local hum = char:FindFirstChild("Humanoid")
- if hum then
- hum.WalkSpeed = main.settings.char.walkspeedval
- end
- end
- end,1)
- functions:CreateLoop("Jumppower",function()
- if not main.settings.char.jumppower then return end
- local char = LP.Character
- if char then
- local hum = char:FindFirstChild("Humanoid")
- if hum then
- hum.JumpPower = main.settings.char.jumppowerval
- end
- end
- end,1)
- functions:RunLoop("Box Chams")
- functions:RunLoop("AutoLayout")
- functions:RunLoop("AutoStar")
- functions:RunLoop("Walkspeed")
- functions:RunLoop("Jumppower")
- functions:RunLoop("Click Buttons")
- Mouse.Button1Down:connect(function()
- if main.settings.char.clicktp then
- local tar = Mouse.Hit
- local xx,yy,zz = tar.p.X,tar.p.Y,tar.p.Z
- functions:Teleport(CFrame.new(xx,yy,zz))
- end
- end)
- end
- end
- function mainui:Init()
- Hint.Text = "Loading UI"
- do--visuals
- local vis = mainui:CreateWindow("Visuals")
- vis:AddToggle("Crate Chams",function(state)
- settings.CrateChams = not settings.CrateChams
- if state == false then
- RemoveChams()
- end
- end)
- vis:AddDevider("Settings")
- vis:AddToggle("Pink Crates",function(state)
- if state then
- if settings.CrateChams then
- settings.CrateChams = false
- wait(1)
- RemoveChams()
- settings.CrateColored = false
- settings.CrateChams = true
- else
- settings.CrateColored = false
- end
- else
- if settings.CrateChams then
- settings.CrateChams = false
- wait(1)
- RemoveChams()
- settings.CrateColored = true
- settings.CrateChams = true
- else
- settings.CrateColored = true
- end
- end
- end)
- end
- do--character
- local char = mainui:CreateWindow("Character")
- char:AddToggle("Walkspeed",function(state)
- main.settings.char.walkspeed = not main.settings.char.walkspeed
- end)
- char:AddToggle("Jumppower",function(state)
- main.settings.char.jumppower = not main.settings.char.jumppower
- end)
- char:AddToggle("Click Teleport",function(state)
- main.settings.char.clicktp = not main.settings.char.clicktp
- end)
- char:AddDevider("Settings")
- char:AddSlider("Walkspeed",16,300,function(val)
- main.settings.char.walkspeedval = val
- end)
- char:AddSlider("Jumppower",50,300,function(val)
- main.settings.char.jumppowerval = val
- end)
- end
- do--tycoon
- local ty = mainui:CreateWindow("Tycoon")
- ty:AddToggle("Click Buttons",function(state)
- main.settings.tycoon.clickbuttons = not main.settings.tycoon.clickbuttons
- end)
- ty:AddToggle("Click Remote",function(state)
- if state then
- functions:RunLoop("Click Remote")
- else
- functions:StopLoop("Click Remote")
- end
- end)
- ty:AddToggle("Auto Reborn",function(state)
- if state then
- if main.settings.auto == false then
- functions:RunLoop("Reborn")
- end
- else
- if main.settings.auto == false then
- functions:StopLoop("Reborn")
- end
- end
- end)
- ty:AddToggle("Auto Layout",function(state)
- main.settings.tycoon.autolayout = not main.settings.tycoon.autolayout
- end)
- ty:AddToggle("Auto Star Layout",function(state)
- main.settings.tycoon.autostar = not main.settings.tycoon.autostar
- end)
- ty:AddDevider("Settings")
- ty:AddToggle("Expensive Start",function(state)
- if state then
- main.settings.tycoon.startmode = "Expensive"
- else
- main.settings.tycoon.startmode = "Cheaper"
- end
- end)
- ty:AddToggle("Crate Items",function(state)
- main.settings.tycoon.boxitems = not main.settings.tycoon.boxitems
- end)
- ty:AddToggle("No Shop Items",function(state)
- main.settings.tycoon.shopitems = not main.settings.tycoon.shopitems
- end)
- ty:AddToggle("No Money Start",function(state)
- main.settings.tycoon.moneystart = not main.settings.tycoon.moneystart
- end)
- ty:AddBox("Layout Slot",function(obj,fo)
- if fo then
- main.settings.tycoon.slot = tonumber(obj.Text)
- end
- end)
- ty:AddBox("Star Loop Wait",function(obj,fo)
- if fo then
- main.settings.tycoon.starwait = tonumber(obj.Text)
- end
- end)
- ty:AddBox("Ore Amount",function(obj,fo)
- if fo then
- main.settings.tycoon.oreamount = tonumber(obj.Text)
- end
- end)
- --[[ty:AddButton("Setup Start",function()
- autotable:StartForMoney()
- end)]]
- end--
- do--ore booster
- local booster = mainui:CreateWindow("Ore Booster")
- booster:AddButton("Get Upgraders",function()
- boostertable:SetUpgraders()
- end)
- --[[booster:AddToggle("Serverwide",function(state)
- if state then
- boostertable.mode = "all"
- else
- boostertable.mode = "client"
- end
- end)]]
- booster:AddDevider("Settings")
- booster:AddBox("Conveyor Type",function(obj,fo)
- if fo then
- boostertable.conveyor = obj.Text
- end
- end)
- booster:AddDevider("Blacklist Items")
- booster:AddToggle("No Blasters",function(state)
- boostertable.blaster = not boostertable.blaster
- end)
- booster:AddToggle("No Schrodingers",function(state)
- boostertable.schrod = not boostertable.schrod
- end)
- booster:AddToggle("No Stars",function(state)
- boostertable.stars = not boostertable.stars
- end)
- booster:AddToggle("No Illuminators",function(state)
- boostertable.illuminator = not boostertable.illuminator
- end)
- booster:AddToggle("No Azure Refiner",function(state)
- boostertable.azure = not boostertable.azure
- end)
- booster:AddToggle("No Fire Items",function(state)
- boostertable.fire = not boostertable.fire
- end)
- booster:AddToggle("No Reset Items",function(state)
- boostertable.reset = not boostertable.reset
- end)
- end
- do--loops
- local loop = mainui:CreateWindow("Loops")
- loop:AddBox("Upgrader",function(obj,fo)
- if fo then
- if functions:getUpgrader(obj.Text) then
- main.settings.tycoon.loopupgrader = obj.Text
- local base = functions:GetPlayerTycoon(LP)
- local upgr = base[obj.Text]
- upgr.Hitbox.Touched:connect(function(prt)
- if prt:FindFirstChild("Cash") then
- if prt.Cash.Value < functions:getUpgraderMax(upgr) then
- prt.CFrame = base[obj.Text].Model.Upgrade.CFrame
- end
- end
- end)
- else
- obj.Text = "No upgrader found!"
- wait(2)
- obj.Text = "Upgrader"
- end
- end
- end)
- end
- do--NPC
- local npc = mainui:CreateWindow("NPCs")
- npc:AddButton("Masked Man",function()
- LP.PlayerGui.GUI.EventShop.Visible = true
- end)
- npc:AddButton("Box Man",function()
- RS.Click:FireServer(Workspace.Map.Boxman.Hitbox)
- end)
- npc:AddButton("Enchanter",function()
- LP.PlayerGui.GUI.Craftsman.Visible = true
- end)
- npc:AddButton("Click All NPCs",function()
- for i,v in pairs(Workspace.Map:GetChildren()) do
- if v:FindFirstChild("SantaScript") then
- RS.Click:FireServer(v.Hitfox)
- end
- end
- end)
- end
- do--misc
- local misc = mainui:CreateWindow("Miscellaneous")
- misc:AddButton("Teleport To Crates",function()
- functions:TeleportCrates()
- end)
- misc:AddButton("Buy Crate Items",function()
- autotable:BuyCrateItems()
- end)
- misc:AddButton("Buy Basic Items",function()
- autotable:BuyItems()
- end)
- end
- end
- main:Init()
- mainui:Init()
- Hint.Text = "Loaded"
- wait(1)
- Hint.Text = "Right shift to toggle UI."
- wait(3)
- Hint:Destroy()
- getgenv().aurora = true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement