Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local library = loadstring(game:HttpGet("https://pastebin.com/raw/eWKgbdix", true))()
- local w = library:CreateWindow('I forgot the name')
- w:Section('made by Obanai')
- local t = w:Toggle("Autofarm", {flag = "toggle1"})
- w:Dropdown("Autofarm", {
- location = _G;
- flag = "wtf";
- list = {
- "Bandit";
- "Bandit Boss";
- 'Demon';
- }
- }, function(new)
- mob = new
- end)
- function toTarget(pos, targetPos, targetCFrame)
- local tween_s = game:service"TweenService"
- local info = TweenInfo.new((targetPos - pos).Magnitude/80, Enum.EasingStyle.Quad)
- local tic_k = tick()
- local tween, err = pcall(function()
- local tween = tween_s:Create(game.Players.LocalPlayer.Character["HumanoidRootPart"], info, {CFrame = targetCFrame})
- tween:Play()
- end)
- if not tween then return err end
- end
- spawn(function()
- while wait() do
- if w.flags.toggle1 then
- for i,v in pairs(game:GetService("Workspace"):GetChildren()) do
- if string.match(v.Name, mob) then
- local passed = true
- if (mob == "Bandit") and v.Name == 'Bandit Boss' then
- local passed = false
- end
- if v.HumanoidRootPart.Size ~= Vector3.new(60,60,60) then
- v.HumanoidRootPart.Size = Vector3.new(60,60,60)
- end
- if v.HumanoidRootPart.Transparency ~= 1 then
- v.HumanoidRootPart.Transparency = 1
- end
- if v.HumanoidRootPart.CanCollide ~= false then
- v.HumanoidRootPart.CanCollide = false
- end
- if passed == true then
- if v:FindFirstChild("Humanoid").Health > 0 then
- repeat
- wait()
- game:GetService("Players").LocalPlayer.Character:WaitForChild("Humanoid"):ChangeState(11)
- toTarget(game:GetService("Players").LocalPlayer.Character:WaitForChild("HumanoidRootPart").Position, v.HumanoidRootPart.Position, v.HumanoidRootPart.CFrame*CFrame.new(2,0,0))
- until v.Parent == nil or v:FindFirstChildWhichIsA("Humanoid").Health <= 0 or not w.flags.toggle1
- end
- end
- end
- end
- end
- end
- end)
- spawn(function()
- while wait(0.75)do
- if w.flags.toggle1 then
- local oh1 = game:GetService("Players").LocalPlayer
- local oh2 = 12151513
- local oh3 = game:GetService("Players").LocalPlayer
- local oh4 = 12151513
- local oh5 = game:GetService("Players").LocalPlayer
- local oh6 = 12151513
- game:GetService("ReplicatedStorage").Events.Combat.BasicSkills.Barrage:FireServer(oh1, oh2)
- game:GetService("ReplicatedStorage").Events.Combat.BasicSkills.Barrage:FireServer(oh3, oh4)
- game:GetService("ReplicatedStorage").Events.Combat.BasicSkills.Barrage:FireServer(oh5, oh6)
- end
- end
- end)
- spawn(function()
- while wait(4)do
- if w.flags.toggle1 then
- local oh111 = game:GetService("Players").LocalPlayer
- local oh222 = 1
- game:GetService("ReplicatedStorage").Events.Combat.Sword.SwordEquip:FireServer(oh111, oh222)
- end
- end
- end)
- spawn(function()
- while wait()do
- if w.flags.toggle1 then
- for i,v in pairs(workspace.Abilities:GetDescendants()) do
- if v:FindFirstChild("Note") and v.Name == mob then
- toTarget(game.Players.LocalPlayer.Character:WaitForChild("HumanoidRootPart").Position, v.Note.Position, v.Note.CFrame)
- end
- end
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement