Advertisement
signvelvety_pastebin

reddit messed up the codeblocks so im using pastebin

Jan 9th, 2022
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. local interval = 5 -- interval between repeats. In seconds
  2. local r = game.ReplicatedStorage.Kill
  3. while wait(interval) do
  4. spawn(function()
  5. for i,v in pairs(workspace.AI:GetChildren())do
  6. local args={ [1]=v }
  7. r:InvokeServer(unpack(args))
  8. print(v.name.." killed")
  9. end
  10. end)
  11. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement