local entities = workspace.Entity:GetChildren() local Event = game:GetService("Players").LocalPlayer.Character.NetMessage.TrigerSkill local hrp = game.Players.LocalPlayer.Character.HumanoidRootPart local function bow(times) for i = 1, times do for _, entity in entities do if entity:FindFirstChild("Collision") then Event:FireServer(102, "Atk", entity.Collision, {}) end end end end local function sword(times) for i = 1, times do for _, mob in workspace.Entity:GetChildren() do local root = mob:FindFirstChild("HumanoidRootPart") Event:FireServer(101, "Enter", root.CFrame, 1) end end end local function staff(times) for i = 1, times do for _, mob in workspace.Entity:GetChildren() do local root = mob:FindFirstChild("HumanoidRootPart") Event:FireServer(103, "Enter", root.CFrame, 1) end end end local function autoloot() for _, loot in workspace.FX:GetChildren() do if loot:IsA("Model") then local part = loot:FindFirstChild("Part") firetouchinterest(hrp, part, 1) task.wait() firetouchinterest(hrp, part, 0) end end end -- if u want to call a function with a key bind. local UserInputService = game:GetService("UserInputService") UserInputService.InputBegan:Connect(function(input) if input.KeyCode == Enum.KeyCode.T then -- edit "T" to what ever u want. sword(5) -- 5 is how much times u hit them at once, this will lag your pc if high. end -- change sword to whatever function u want to use. end)