Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local interval = 5 -- interval between repeats. In seconds
- local r = game.ReplicatedStorage.Kill
- while wait(interval) do
- spawn(function()
- for i,v in pairs(workspace.AI:GetChildren())do
- local args={ [1]=v }
- r:InvokeServer(unpack(args))
- print(v.name.." killed")
- end
- end)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement