Advertisement
racemodex

Critical Adventure Auto Farm

Apr 9th, 2020
858
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.84 KB | None | 0 0
  1. if game.CoreGui:FindFirstChild("ScreenGui")then game.CoreGui:FindFirstChild("ScreenGui"):Destroy()end;for a,b in pairs(game.Workspace:GetDescendants())do if b.Name=="EnemyDefeat"or b.Name=="PlayerDamage"then b:Destroy()end end;function heal()local c=game.Players.LocalPlayer.Character.Humanoid.MaxHealth;local d=game.Players.LocalPlayer.Character.Humanoid.Health;local e=c/2;if d<=e then repeat wait()d=game.Players.LocalPlayer.Character.Humanoid.Health;c=game.Players.LocalPlayer.Character.Humanoid.MaxHealth;game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame=game.Workspace.Campfires["Large Campfire"]["Log Seat"].Part.CFrame;game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame=game.Workspace.Campfires["Large Campfire"]["Log Seat"].Seat.CFrame until d==c;game.Players.LocalPlayer.Character.Humanoid.Sit=false end end;local f=loadstring(game:HttpGet("https://pastebin.com/raw/3hT5ihgT",true))()local g=f:CreateWindow('Critical Adventure')g:Section('Made by Racemodex')game.StarterGui:SetCore('SendNotification',{Title='Credits',Text='Gui was made by Racemodex on v3rmillion',Duration=3,Icon="http://www.roblox.com/asset/?id=4870073705"})zone={}for h,i in pairs(workspace.Enemies:GetChildren())do if not zone[i.Name]then if i.Name~="Quest5"then zone[i.Name]=i.Name end end end;g:SearchBox("Zone",{location=_G,flag="zone",list=zone},function()end)local j=false;local k;local l;local m;local n=0;local o;local p;local q;game.Workspace.Gravity=196.2;local r=g:Toggle('Auto Farm',{flag="autofarm"})g:Section('Class')local s=g:Button("Archer",function()game.Players.LocalPlayer.Character:WaitForChild("HumanoidRootPart").CFrame=CFrame.new(-144.966,43.4,-817.454)end)local t=g:Button("Warrior",function()game.Players.LocalPlayer.Character:WaitForChild("HumanoidRootPart").CFrame=CFrame.new(-47.0355,43,41.9254)end)local u=g:Button("Wizard",function()game.Players.LocalPlayer.Character:WaitForChild("HumanoidRootPart").CFrame=CFrame.new(172,63.5971,-560.097)end)local v=g:Button("Knight",function()game.Players.LocalPlayer.Character:WaitForChild("HumanoidRootPart").CFrame=CFrame.new(-107.999,103.124,-143.999)end)local w=g:Button("Rogue",function()game.Players.LocalPlayer.Character:WaitForChild("HumanoidRootPart").CFrame=CFrame.new(-1040.04,103.604,-395.974)end)local x=g:Button("Tp to spawn",function()game.Players.LocalPlayer.Character:WaitForChild("HumanoidRootPart").CFrame=CFrame.new(-3.9514,35,-55.4153)end)while wait()do if g.flags.autofarm then if _G.zone then repeat wait()for h,i in pairs(game.Workspace.Enemies:FindFirstChild(_G.zone):GetChildren())do if g.flags.autofarm then if i.Name=="Tier"then k=i.Value end;if i.Name=="Enemy"then if i.InCombat.Value==false then l=i.Model.Value;m=i.EnemyLocation;if j==false then j=true;game.StarterGui:SetCore('SendNotification',{Title='AutoFarm Info',Text='Zone : '.._G.zone.."// Tier : "..tostring(k).."// Model : "..tostring(l),Duration=10})end;repeat wait()heal()game.Players.LocalPlayer.Character:WaitForChild("HumanoidRootPart").CFrame=m.CFrame until(game:GetService("Players").LocalPlayer.Character:WaitForChild("HumanoidRootPart").Position-m.Position).Magnitude<25 or not g.flags.autofarm;repeat wait()heal()until game.Workspace:FindFirstChild("CombatFolder")or not g.flags.autofarm;p=game.Workspace:WaitForChild("CombatFolder")for y,z in pairs(i:GetChildren())do if z.Name==tostring(l)then q=z end end;repeat wait()heal()repeat wait()heal()until q:FindFirstChild("Torso")or not g.flags.autofarm;game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame=q:FindFirstChild("Torso").CFrame*CFrame.new(0,15,2)game.Workspace.Gravity=25;if not p then return end;if p then repeat wait()heal()until p:FindFirstChild(game.Players.LocalPlayer.Name)or not g.flags.autofarm;if not p:FindFirstChild(game.Players.LocalPlayer.Name):GetChildren()then return end;for A,B in pairs(p:FindFirstChild(game.Players.LocalPlayer.Name):GetChildren())do wait()if B then if B:WaitForChild("Base")then repeat wait()n=n+1;game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame=q:FindFirstChild("Torso").CFrame*CFrame.new(0,15,2)until n==10;n=0 end;if B:WaitForChild("Base")and n==0 then local C=game:GetService("Workspace")[game.Players.LocalPlayer.Name].ActiveItems["Ignite Scroll"]local D=game:GetService("Workspace")[game.Players.LocalPlayer.Name].ItemActivate;D:FireServer(C)wait()local E=B:FindFirstChild("Base").CFrame;for h=1,2 do if E then wait()game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame=E+Vector3.new(5,0,0)wait(.1)game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame=E+Vector3.new(0,0,0)game.Workspace.Gravity=500 end end;game.Workspace.Gravity=25 end end end end until not g.flags.autofarm or not game.Workspace:FindFirstChild("CombatFolder")print("end")heal()game.Workspace.Gravity=196.2;j=false;repeat wait()until not g.flags.autofarm or not game.Workspace:FindFirstChild("CombatFolder")end end end end until not g.flags.autofarm;j=false;game.Workspace.Gravity=196.2 end end end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement