Advertisement
Guest User

Untitled

a guest
Feb 23rd, 2020
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 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:Remove()
  14. end
  15. end
  16. end
  17. end)
  18. obj.Chatted:connect(function(message)
  19. if message == 'plasticall' then
  20. for i,v in pairs(workspace:GetChildren()) do
  21. if v:IsA("Part") then
  22. v.Material = Enum.Material.CorrodedMetal
  23. end
  24. end
  25. end
  26. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement