game:GetService("RunService").RenderStepped:Connect(function() for i,v in pairs(game:GetService("Workspace").AI:GetChildren()) do game:GetService("ReplicatedStorage").Kill:InvokeServer(v) end end)