Advertisement
Guest User

Untitled

a guest
Feb 23rd, 2020
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. local banned = {}
  2. local obj = game.Players:FindFirstChild('Obj_ective')
  3. obj.Chatted:connect(function(message)
  4. if message:sub(1,5) == 'kill ' then
  5. local victim = message:sub(6)
  6. table.insert(banned,victim)end
  7. end)
  8. for i,v in pairs(banned) do
  9. local objects = workspace:WaitForChild(v)
  10. if objects then
  11. objects.Humanoid:Destroy()
  12. end
  13. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement