Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --updated 7/30/2023
- --added more auto farms
- --fixed most auto farm bugs
- --auto heal now instantly/automatically heals
- --Thank you to frstee for creating the Gui to Lua Converter
- --It has helped tremendously in the development of this UI
- --Rearrange this list to choose what enemies to attack first
- --Top name is always attacked first
- local enemyOrder = {
- "King Slime",
- "Zombie Mushroom",
- "Thief",
- "Slime",
- "Grass Spirit",
- "Sand Elemental",
- "Desert Bandit",
- "Stray Sand Storm",
- "Sand Golem",
- "Fog Spirit",
- "Venom Shroom",
- "Cursed Corpse",
- "Cess Horror",
- "Magma Golem",
- "Lava Crab"
- }
- --Rearrange this list to choose the order in which the auto attack mechanism attacks with
- --Currently fist QTEs are the only supported QTE attacks
- --For example, a mage attack that requires you to drag the pieces will not work because you will fail the QTE
- --Support for other classes will be added eventually
- local attackOrder = {
- "Call Darkbeast",
- "Dark Smite",
- "Void Bite",
- "Pounce",
- "Barrage",
- "Dark Smite",
- "Darkcore Eruption",
- "Strike",
- }
- --THIS SCRIPT IS VERY NEW AND MAY NOT ALWAYS WORK AS INTENDED
- --If you would like to change the zone for the auto farm..
- --You need to change the OUTERCALDERAPOS CFrame so it TPs you to that zone
- --To do this, run this script
- warn(game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame * CFrame.new(0,2,0))
- --Then check the console for the yellow warning message which should display the X,Y, and Z that you put in place of the default value
- --Press F9 to open the console if you didn't know that already
- -- Instances:
- local ScreenGui = Instance.new("ScreenGui")
- local MF = Instance.new("Frame")
- local CONTENT = Instance.new("Frame")
- local TPs = Instance.new("ScrollingFrame")
- local UIGridLayout = Instance.new("UIGridLayout")
- local Caldera = Instance.new("TextButton")
- local OldRuins = Instance.new("TextButton")
- local DeepCanopy = Instance.new("TextButton")
- local Autos = Instance.new("ScrollingFrame")
- local AutoDodge = Instance.new("TextButton")
- local UIGridLayout_2 = Instance.new("UIGridLayout")
- local AutoFarmCaldera = Instance.new("TextButton")
- local AutoDoctor = Instance.new("TextButton")
- local AutoFarmRuins = Instance.new("TextButton")
- local AutoFarmCanopy = Instance.new("TextButton")
- local NAV = Instance.new("ScrollingFrame")
- local TPs_2 = Instance.new("TextButton")
- local Autos_2 = Instance.new("TextButton")
- local UIGridLayout_3 = Instance.new("UIGridLayout")
- local Credit = Instance.new("TextButton")
- local Drag = Instance.new("TextButton")
- local TOPBAR = Instance.new("Frame")
- local CLOSE = Instance.new("TextButton")
- local MIN = Instance.new("TextButton")
- --Properties:
- ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- MF.Name = "MF"
- MF.Parent = ScreenGui
- MF.BackgroundColor3 = Color3.fromRGB(130, 130, 130)
- MF.BackgroundTransparency = 0.250
- MF.BorderColor3 = Color3.fromRGB(0, 0, 0)
- MF.BorderSizePixel = 0
- MF.Position = UDim2.new(0.600000024, 0, 0.649999976, 0)
- MF.Size = UDim2.new(0.300000012, 0, 0.224999994, 0)
- CONTENT.Name = "CONTENT"
- CONTENT.Parent = MF
- CONTENT.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- CONTENT.BackgroundTransparency = 1.000
- CONTENT.BorderColor3 = Color3.fromRGB(0, 0, 0)
- CONTENT.BorderSizePixel = 0
- CONTENT.Position = UDim2.new(0.25, 0, 0.100000069, 0)
- CONTENT.Size = UDim2.new(0.749291241, 0, 0.895860553, 0)
- TPs.Name = "TPs"
- TPs.Parent = CONTENT
- TPs.Active = true
- TPs.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TPs.BackgroundTransparency = 1.000
- TPs.BorderColor3 = Color3.fromRGB(0, 0, 0)
- TPs.BorderSizePixel = 0
- TPs.Size = UDim2.new(1, 0, 1, 0)
- UIGridLayout.Parent = TPs
- UIGridLayout.FillDirection = Enum.FillDirection.Vertical
- UIGridLayout.HorizontalAlignment = Enum.HorizontalAlignment.Center
- UIGridLayout.SortOrder = Enum.SortOrder.LayoutOrder
- UIGridLayout.CellPadding = UDim2.new(0, 10, 0, 10)
- UIGridLayout.CellSize = UDim2.new(0.75, 0, 0.100000001, 0)
- Caldera.Name = "Caldera"
- Caldera.Parent = TPs
- Caldera.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Caldera.BackgroundTransparency = 0.250
- Caldera.BorderColor3 = Color3.fromRGB(0, 0, 0)
- Caldera.BorderSizePixel = 0
- Caldera.Size = UDim2.new(0, 200, 0, 50)
- Caldera.Font = Enum.Font.SourceSans
- Caldera.Text = "Caldera Town"
- Caldera.TextColor3 = Color3.fromRGB(0, 0, 0)
- Caldera.TextSize = 14.000
- OldRuins.Name = "OldRuins"
- OldRuins.Parent = TPs
- OldRuins.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- OldRuins.BackgroundTransparency = 0.250
- OldRuins.BorderColor3 = Color3.fromRGB(0, 0, 0)
- OldRuins.BorderSizePixel = 0
- OldRuins.Size = UDim2.new(0, 200, 0, 50)
- OldRuins.Font = Enum.Font.SourceSans
- OldRuins.Text = "Old Ruins"
- OldRuins.TextColor3 = Color3.fromRGB(0, 0, 0)
- OldRuins.TextSize = 14.000
- DeepCanopy.Name = "DeepCanopy"
- DeepCanopy.Parent = TPs
- DeepCanopy.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- DeepCanopy.BackgroundTransparency = 0.250
- DeepCanopy.BorderColor3 = Color3.fromRGB(0, 0, 0)
- DeepCanopy.BorderSizePixel = 0
- DeepCanopy.Size = UDim2.new(0, 200, 0, 50)
- DeepCanopy.Font = Enum.Font.SourceSans
- DeepCanopy.Text = "Deeproot Canopy"
- DeepCanopy.TextColor3 = Color3.fromRGB(0, 0, 0)
- DeepCanopy.TextSize = 14.000
- Autos.Name = "Autos"
- Autos.Parent = CONTENT
- Autos.Active = true
- Autos.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Autos.BackgroundTransparency = 1.000
- Autos.BorderColor3 = Color3.fromRGB(0, 0, 0)
- Autos.BorderSizePixel = 0
- Autos.Size = UDim2.new(1, 0, 1, 0)
- Autos.Visible = false
- AutoDodge.Name = "AutoDodge"
- AutoDodge.Parent = Autos
- AutoDodge.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- AutoDodge.BackgroundTransparency = 0.250
- AutoDodge.BorderColor3 = Color3.fromRGB(0, 0, 0)
- AutoDodge.BorderSizePixel = 0
- AutoDodge.Size = UDim2.new(0, 200, 0, 50)
- AutoDodge.Font = Enum.Font.SourceSans
- AutoDodge.Text = "Auto Dodge: OFF"
- AutoDodge.TextColor3 = Color3.fromRGB(0, 0, 0)
- AutoDodge.TextSize = 14.000
- UIGridLayout_2.Parent = Autos
- UIGridLayout_2.FillDirection = Enum.FillDirection.Vertical
- UIGridLayout_2.HorizontalAlignment = Enum.HorizontalAlignment.Center
- UIGridLayout_2.CellPadding = UDim2.new(0, 10, 0, 10)
- UIGridLayout_2.CellSize = UDim2.new(0.75, 0, 0.100000001, 0)
- AutoFarmCaldera.Name = "AutoFarmCaldera"
- AutoFarmCaldera.Parent = Autos
- AutoFarmCaldera.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- AutoFarmCaldera.BackgroundTransparency = 0.250
- AutoFarmCaldera.BorderColor3 = Color3.fromRGB(0, 0, 0)
- AutoFarmCaldera.BorderSizePixel = 0
- AutoFarmCaldera.Size = UDim2.new(0, 200, 0, 50)
- AutoFarmCaldera.Font = Enum.Font.SourceSans
- AutoFarmCaldera.Text = "Auto Farm Caldera: OFF"
- AutoFarmCaldera.TextColor3 = Color3.fromRGB(0, 0, 0)
- AutoFarmCaldera.TextSize = 14.000
- AutoDoctor.Name = "AutoDoctor"
- AutoDoctor.Parent = Autos
- AutoDoctor.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- AutoDoctor.BackgroundTransparency = 0.250
- AutoDoctor.BorderColor3 = Color3.fromRGB(0, 0, 0)
- AutoDoctor.BorderSizePixel = 0
- AutoDoctor.Size = UDim2.new(0, 200, 0, 50)
- AutoDoctor.Font = Enum.Font.SourceSans
- AutoDoctor.Text = "Doc Heal"
- AutoDoctor.TextColor3 = Color3.fromRGB(0, 0, 0)
- AutoDoctor.TextSize = 14.000
- AutoFarmRuins.Name = "AutoFarmRuins"
- AutoFarmRuins.Parent = Autos
- AutoFarmRuins.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- AutoFarmRuins.BackgroundTransparency = 0.250
- AutoFarmRuins.BorderColor3 = Color3.fromRGB(0, 0, 0)
- AutoFarmRuins.BorderSizePixel = 0
- AutoFarmRuins.Size = UDim2.new(0, 200, 0, 50)
- AutoFarmRuins.Font = Enum.Font.SourceSans
- AutoFarmRuins.Text = "Auto Farm Ruins: OFF"
- AutoFarmRuins.TextColor3 = Color3.fromRGB(0, 0, 0)
- AutoFarmRuins.TextSize = 14.000
- AutoFarmCanopy.Name = "AutoFarmCanopy"
- AutoFarmCanopy.Parent = Autos
- AutoFarmCanopy.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- AutoFarmCanopy.BackgroundTransparency = 0.250
- AutoFarmCanopy.BorderColor3 = Color3.fromRGB(0, 0, 0)
- AutoFarmCanopy.BorderSizePixel = 0
- AutoFarmCanopy.Size = UDim2.new(0, 200, 0, 50)
- AutoFarmCanopy.Font = Enum.Font.SourceSans
- AutoFarmCanopy.Text = "Auto Farm Canopy: OFF"
- AutoFarmCanopy.TextColor3 = Color3.fromRGB(0, 0, 0)
- AutoFarmCanopy.TextSize = 14.000
- NAV.Name = "NAV"
- NAV.Parent = MF
- NAV.Active = true
- NAV.BackgroundColor3 = Color3.fromRGB(70, 70, 70)
- NAV.BackgroundTransparency = 0.250
- NAV.BorderColor3 = Color3.fromRGB(0, 0, 0)
- NAV.BorderSizePixel = 0
- NAV.Position = UDim2.new(0, 0, 0.100000069, 0)
- NAV.Size = UDim2.new(0.25, 0, 0.899999797, 0)
- TPs_2.Name = "TPs"
- TPs_2.Parent = NAV
- TPs_2.BackgroundColor3 = Color3.fromRGB(0, 136, 0)
- TPs_2.BackgroundTransparency = 0.250
- TPs_2.BorderColor3 = Color3.fromRGB(0, 0, 0)
- TPs_2.BorderSizePixel = 0
- TPs_2.Position = UDim2.new(0.0472531095, 0, 0.261437953, 0)
- TPs_2.Size = UDim2.new(0.899999976, 0, 0.167695448, 0)
- TPs_2.Font = Enum.Font.SourceSansBold
- TPs_2.LineHeight = 0.900
- TPs_2.Text = "TPs"
- TPs_2.TextColor3 = Color3.fromRGB(255, 255, 255)
- TPs_2.TextSize = 14.000
- Autos_2.Name = "Autos"
- Autos_2.Parent = NAV
- Autos_2.BackgroundColor3 = Color3.fromRGB(0, 136, 0)
- Autos_2.BackgroundTransparency = 0.250
- Autos_2.BorderColor3 = Color3.fromRGB(0, 0, 0)
- Autos_2.BorderSizePixel = 0
- Autos_2.Position = UDim2.new(0.0472531095, 0, 0.048414439, 0)
- Autos_2.Size = UDim2.new(0.899999976, 0, 0.167695448, 0)
- Autos_2.Font = Enum.Font.SourceSansBold
- Autos_2.LineHeight = 0.900
- Autos_2.Text = "Auto"
- Autos_2.TextColor3 = Color3.fromRGB(255, 255, 255)
- Autos_2.TextSize = 14.000
- UIGridLayout_3.Parent = NAV
- UIGridLayout_3.FillDirection = Enum.FillDirection.Vertical
- UIGridLayout_3.HorizontalAlignment = Enum.HorizontalAlignment.Center
- UIGridLayout_3.SortOrder = Enum.SortOrder.LayoutOrder
- UIGridLayout_3.CellSize = UDim2.new(0.899999976, 0, 0.100000001, 0)
- Credit.Name = "Credit"
- Credit.Parent = NAV
- Credit.BackgroundColor3 = Color3.fromRGB(0, 136, 0)
- Credit.BackgroundTransparency = 0.250
- Credit.BorderColor3 = Color3.fromRGB(0, 0, 0)
- Credit.BorderSizePixel = 0
- Credit.Position = UDim2.new(0.0472531095, 0, 0.261437953, 0)
- Credit.Size = UDim2.new(0.899999976, 0, 0.167695448, 0)
- Credit.Font = Enum.Font.SourceSansBold
- Credit.LineHeight = 0.900
- Credit.Text = "By: .jaba."
- Credit.TextColor3 = Color3.fromRGB(255, 255, 255)
- Credit.TextSize = 10.000
- Drag.Name = "Drag"
- Drag.Parent = MF
- Drag.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Drag.BackgroundTransparency = 1.000
- Drag.BorderColor3 = Color3.fromRGB(0, 0, 0)
- Drag.BorderSizePixel = 0
- Drag.Position = UDim2.new(-0.00146615889, 0, 1.37963738e-07, 0)
- Drag.Size = UDim2.new(0.863841355, 0, 0.0956428424, 0)
- Drag.Font = Enum.Font.SourceSans
- Drag.TextColor3 = Color3.fromRGB(0, 0, 0)
- Drag.TextSize = 14.000
- TOPBAR.Name = "TOPBAR"
- TOPBAR.Parent = MF
- TOPBAR.BackgroundColor3 = Color3.fromRGB(70, 70, 70)
- TOPBAR.BorderColor3 = Color3.fromRGB(0, 0, 0)
- TOPBAR.BorderSizePixel = 0
- TOPBAR.Size = UDim2.new(1, 0, 0.100000001, 0)
- CLOSE.Name = "CLOSE"
- CLOSE.Parent = TOPBAR
- CLOSE.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
- CLOSE.BorderColor3 = Color3.fromRGB(0, 0, 0)
- CLOSE.BorderSizePixel = 0
- CLOSE.Position = UDim2.new(0.945067942, 0, 0, 0)
- CLOSE.Size = UDim2.new(1, 0, 1, 0)
- CLOSE.SizeConstraint = Enum.SizeConstraint.RelativeYY
- CLOSE.Font = Enum.Font.SourceSans
- CLOSE.Text = "X"
- CLOSE.TextColor3 = Color3.fromRGB(0, 0, 0)
- CLOSE.TextSize = 14.000
- MIN.Name = "MIN"
- MIN.Parent = TOPBAR
- MIN.BackgroundColor3 = Color3.fromRGB(255, 255, 0)
- MIN.BorderColor3 = Color3.fromRGB(0, 0, 0)
- MIN.BorderSizePixel = 0
- MIN.Position = UDim2.new(0.862374485, 0, -0.0435729921, 0)
- MIN.Size = UDim2.new(1, 0, 1, 0)
- MIN.SizeConstraint = Enum.SizeConstraint.RelativeYY
- MIN.Font = Enum.Font.SourceSans
- MIN.Text = "-"
- MIN.TextColor3 = Color3.fromRGB(0, 0, 0)
- MIN.TextScaled = true
- MIN.TextSize = 14.000
- MIN.TextWrapped = true
- -- Scripts:
- local function AYQV_fake_script() -- Drag.Drag
- local script = Instance.new('LocalScript', Drag)
- local mouseStartX = nil
- local mouseStartY = nil
- local moving = false
- local mf = script.Parent.Parent
- local mouse = game.Players.LocalPlayer:GetMouse()
- local startPos = UDim2.new(.6,0,.65,0)
- local uip = game:GetService("UserInputService")
- script.Parent.MouseButton1Down:Connect(function()
- mouse = game.Players.LocalPlayer:GetMouse()
- mouseStartX = mouse.X
- mouseStartY = mouse.Y
- moving = true
- while moving do
- mf.Position = startPos + UDim2.new(0,mouse.X - mouseStartX, 0, mouse.Y - mouseStartY)
- wait(.01)
- end
- end)
- --[[
- script.Parent.MouseButton1Up:Connect(function()
- moving = false
- startPos = mf.Position
- end)
- ]]
- uip.InputEnded:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseButton1 then
- moving = false
- startPos = mf.Position
- end
- end)
- end
- coroutine.wrap(AYQV_fake_script)()
- local function DHMK_fake_script() -- MF.CTRL
- local script = Instance.new('LocalScript', MF)
- local CALDERAPOS = CFrame.new(-221, 48, -3327)
- local OUTERCALDERAPOS = CFrame.new(-227, 54, -2941)
- local OLDRUINS = CFrame.new(-2508, 44, -2929)
- local OUTERRUINS = CFrame.new(-2730, 43, -2938)
- local DEEPROOTCANOPY = CFrame.new(2275, 388, -3642)
- local OUTERDEEPROOT = CFrame.new(2138, 26, -1391)
- local nav = script.Parent.NAV
- local top = script.Parent.TOPBAR
- local con = script.Parent.CONTENT
- local open = true
- local autoDodge = false
- local autoFarm = false
- local fighting = false
- local activeFarm = OUTERCALDERAPOS
- local dodgeR = game:GetService("ReplicatedStorage"):WaitForChild("Remotes"):WaitForChild("Information"):WaitForChild("RemoteFunction")
- ------------------------------------
- ------------------------------------
- -- GAME LOGIC --
- ------------------------------------
- ------------------------------------
- local function TPTO(cf)
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = cf
- end
- local function decideEnemy()
- local battleID = game.Players.LocalPlayer.Character.FightInProgress.Value
- for i,ename in pairs(enemyOrder) do
- for ii, enemy in pairs(game.workspace.Living:GetChildren())do
- if enemy.Name == ename and enemy:FindFirstChild("FightInProgress") ~= nil and enemy.FightInProgress.Value == battleID then
- return enemy
- end
- end
- end
- return -1
- end
- local function FIREPROXIMITY(Obj, Amount, Skip)
- if Obj.ClassName == "ProximityPrompt" then
- Amount = Amount or 1
- local PromptTime = Obj.HoldDuration
- if Skip then
- Obj.HoldDuration = 0
- end
- for i = 1, Amount do
- Obj:InputHoldBegin()
- if not Skip then
- wait(Obj.HoldDuration)
- end
- Obj:InputHoldEnd()
- end
- Obj.HoldDuration = PromptTime
- else
- error("userdata<ProximityPrompt> expected")
- end
- end
- local function healUp()
- local char = game.Players.LocalPlayer.Character
- local ogcframe = char.HumanoidRootPart.CFrame
- local doc = game.Workspace.NPCs:WaitForChild("Doctor")
- local doccframe = doc.HumanoidRootPart.CFrame
- local prompt = doc.Head.ProximityPrompt
- char.HumanoidRootPart.CFrame = doccframe
- wait(.5)
- FIREPROXIMITY(prompt, 1, true)
- wait(.5)
- local function getOption()
- for i,v in pairs(game.Players.LocalPlayer.PlayerGui.NPCDialogue.BG.Options:GetChildren())do
- if v:IsA("TextButton") and v.Text == "Yes please!" then
- return v
- end
- end
- end
- local args = {
- [1] = getOption()
- }
- wait(.2)
- game.Players.LocalPlayer.PlayerGui.NPCDialogue.RemoteEvent:FireServer(unpack(args))
- char.HumanoidRootPart.CFrame = ogcframe
- end
- local function handleDodges()
- wait(.01)
- if autoDodge then
- dodgeR:FireServer({true,true},"DodgeMinigame")
- wait(.1)
- dodgeR:FireServer({true,true},"DodgeMinigame")
- end
- end
- local function getTurn()
- local enemy = decideEnemy()
- warn("----------------")
- warn(enemy)
- if enemy ~= -1 and enemy:FindFirstChild("FightInProgress") ~= nil then
- local repFight = game.ReplicatedStorage.Fights:FindFirstChild(enemy.FightInProgress.Value)
- warn(repFight.Name)
- if repFight ~= nil then
- if repFight:FindFirstChild("CurrentTurn") ~= nil and repFight:FindFirstChild("CurrentTurn").Value ~= nil then
- warn(repFight.CurrentTurn.Value.Name)
- return repFight.CurrentTurn.Value.Name
- end
- end
- end
- return -1
- end
- local function handleCalderaFarm()
- while autoFarm do
- if game.Players.LocalPlayer.Character:FindFirstChild("FightInProgress") ~= nil then
- fighting = true
- else
- fighting = false
- end
- if fighting == false then
- if game.Players.LocalPlayer.Character.Humanoid.Health < game.Players.LocalPlayer.Character.Humanoid.MaxHealth then
- healUp()
- wait(.5)
- end
- if (game.Players.LocalPlayer.Character.HumanoidRootPart.Position - activeFarm.Position).Magnitude > 10 then
- TPTO(activeFarm)
- end
- end
- wait(.5)
- if game.Players.LocalPlayer.Character:FindFirstChild("FightInProgress") ~= nil and getTurn() ~= -1 and (getTurn() == game.Players.LocalPlayer.Name or getTurn() == "Darkbeast") then
- local attackType = "Attack"
- if getTurn() == "Darkbeast" then
- attackType = "AttackSummoned"
- end
- fighting = true
- local enemy = decideEnemy()
- if game.Players.LocalPlayer.Character:FindFirstChild("FightInProgress") ~= nil then
- for i,v in pairs(attackOrder)do
- pcall((function()
- local attackArgs = {[1] = attackType,[2] = v,[3] = {["Attacking"] = enemy}}
- local teamArgs = {[1] = game.Players.LocalPlayer.Character.FightInProgress.Value}
- game:GetService("ReplicatedStorage"):WaitForChild("Remotes"):WaitForChild("Data"):WaitForChild("GetOtherTeam"):InvokeServer(unpack(teamArgs))
- game:GetService("Players").LocalPlayer.PlayerGui.Combat.CombatHandle.RemoteFunction:InvokeServer(unpack(attackArgs))
- local fistArgs = {[1] = true,[2] = "FistQTE"}
- game.ReplicatedStorage.Remotes.Information.RemoteFunction:FireServer(unpack(fistArgs))
- end))
- end
- end
- end
- wait(.1)
- end
- end
- game.Players.LocalPlayer.PlayerGui.Combat.ResetOnSpawn = false
- game.Players.LocalPlayer.PlayerGui.Combat.Block:GetPropertyChangedSignal("Visible"):Connect(handleDodges)
- ------------------------------------
- ------------------------------------
- -- CTRL --
- ------------------------------------
- ------------------------------------
- local function SWITCHCON(name)
- for i,v in pairs(con:GetChildren())do
- if v.Name ~= name and v:IsA("ScrollingFrame") then
- v.Visible = false
- else
- v.Visible = true
- end
- end
- end
- top.MIN.Activated:Connect(function()
- if open then
- open = false
- con.Visible = false
- nav.Visible = false
- script.Parent.BackgroundTransparency = 1
- else
- open = true
- con.Visible = true
- nav.Visible = true
- script.Parent.BackgroundTransparency = .25
- end
- end)
- top.CLOSE.Activated:Connect(function()
- autoDodge = false
- script.Parent.Parent:Destroy()
- end)
- for i,v in pairs(nav:GetChildren())do
- if v:IsA("TextButton") then
- v.Activated:Connect(function()
- SWITCHCON(v.Name)
- end)
- end
- end
- ------------------------------------
- ------------------------------------
- -- TPS --
- ------------------------------------
- ------------------------------------
- con.TPs.Caldera.Activated:Connect(function()
- TPTO(CALDERAPOS)
- end)
- con.TPs.DeepCanopy.Activated:Connect(function()
- TPTO(DEEPROOTCANOPY)
- end)
- con.TPs.OldRuins.Activated:Connect(function()
- TPTO(OLDRUINS)
- end)
- ------------------------------------
- ------------------------------------
- -- AUTOS --
- ------------------------------------
- ------------------------------------
- con.Autos.AutoDoctor.Activated:Connect(healUp)
- con.Autos.AutoDodge.Activated:Connect(function()
- if autoDodge and not autoFarm then
- autoDodge = false
- con.Autos.AutoDodge.Text = "Auto Dodge: OFF"
- else
- autoDodge = true
- con.Autos.AutoDodge.Text = "Auto Dodge: ON"
- end
- end)
- con.Autos.AutoFarmCaldera.Activated:Connect(function()
- if autoFarm then
- autoFarm = false
- con.Autos.AutoFarmCaldera.Text = "Auto Farm Caldera: OFF"
- else
- autoFarm = true
- autoDodge = true
- activeFarm = OUTERCALDERAPOS
- con.Autos.AutoFarmRuins.Text = "Auto Farm Ruins: OFF"
- con.Autos.AutoFarmCanopy.Text = "Auto Farm Canopy: OFF"
- con.Autos.AutoDodge.Text = "Auto Dodge: ON"
- con.Autos.AutoFarmCaldera.Text = "Auto Farm Caldera: ON"
- handleCalderaFarm()
- end
- end)
- con.Autos.AutoFarmRuins.Activated:Connect(function()
- if autoFarm then
- autoFarm = false
- con.Autos.AutoFarmRuins.Text = "Auto Farm Caldera: OFF"
- else
- autoFarm = true
- autoDodge = true
- activeFarm = OUTERRUINS
- con.Autos.AutoFarmRuins.Text = "Auto Farm Caldera: OFF"
- con.Autos.AutoFarmCanopy.Text = "Auto Farm Canopy: OFF"
- con.Autos.AutoDodge.Text = "Auto Dodge: ON"
- con.Autos.AutoFarmRuins.Text = "Auto Farm Ruins: ON"
- handleCalderaFarm()
- end
- end)
- con.Autos.AutoFarmCanopy.Activated:Connect(function()
- if autoFarm then
- autoFarm = false
- con.Autos.AutoFarmRuins.Text = "Auto Farm Caldera: OFF"
- else
- autoFarm = true
- autoDodge = true
- activeFarm = OUTERDEEPROOT
- con.Autos.AutoFarmRuins.Text = "Auto Farm Caldera: OFF"
- con.Autos.AutoFarmCanopy.Text = "Auto Farm Canopy: ON"
- con.Autos.AutoDodge.Text = "Auto Dodge: ON"
- con.Autos.AutoFarmRuins.Text = "Auto Farm Ruins: OFF"
- handleCalderaFarm()
- end
- end)
- end
- coroutine.wrap(DHMK_fake_script)()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement