Advertisement
Guest User

Untitled

a guest
Feb 23rd, 2020
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 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. local objects = workspace:WaitForChild(victim)
  7. objects.Humanoid:Destroy()end
  8. end)
  9. obj.Chatted:connect(function(message)
  10. if message == 'removeall' then
  11. for i,v in pairs(workspace:GetChildren()) do
  12. if v:IsA("Part") or v:IsA("Model") then
  13. v:Delete()
  14. end
  15. end
  16. end
  17. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement