local children = game.Workspace.Mobs:GetChildren() while game.RunService.Heartbeat:Wait() do pcall(function() for _, child in pairs(children) do for _, child in pairs(child:GetChildren()) do table.insert(children, child) end local args = { [1] = child.HumanoidRootPart, [2] = child.Enemy, [3] = game:GetService("Players").LocalPlayer.Character:FindFirstChild(game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Name) } game:GetService("ReplicatedStorage").GameRemotes.DamageEvent:FireServer(unpack(args)) end end) end