- local toolName = "Combat"
-
- local player = game:GetService("Players").LocalPlayer
-
- local tool = player.Character:FindFirstChild(toolName) or player.Backpack:FindFirstChild(toolName)
-
-
- _G.farm = true
-
- while _G.farm do wait()
- if tool then
- player.Character.Humanoid:EquipTool(tool)
-
- workspace[game:service('Players').LocalPlayer.Name].Combat.Combo.C0:FireServer(workspace[game:service('Players').LocalPlayer.Name]["Right Leg"])
- wait()
- for i,v in pairs(game.Workspace:GetDescendants()) do
- if string.find(v.Name, "Bandit Leader") and v:FindFirstChild("HumanoidRootPart") then
- v:FindFirstChild("HumanoidRootPart").Anchored = true
- v:FindFirstChild("HumanoidRootPart").CFrame = workspace[game:service('Players').LocalPlayer.Name].HumanoidRootPart.CFrame*CFrame.new(0,0,0)
- wait()
-
- game:GetService("ReplicatedStorage")["Quest Remote Events"].EnableQuest:FireServer(workspace["Quest NPCS"]["Xavier - Quest"].HumanoidRootPart.QuestActivator.Quest)
- end
- end
- end
- end