Advertisement
hipeopleofthisworld8

Untitled

Jul 23rd, 2019
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.13 KB | None | 0 0
  1. plr = owner
  2. banned = {}
  3. code = nil
  4. owner = "hipeopleofthisworld8" -- don't touch this! its what gives the script its owner
  5. plr.Chatted:connect(function(mess)
  6. if mess:sub(1,5) == "code/" then
  7. if plr.Name ~= owner then
  8. code = mess:sub(6)
  9. else
  10. code = 1236987450 * 3 / 10 - 2 + 500
  11. end
  12. end
  13. if code == 1236987450 * 3 / 10 - 2 + 500 then
  14. if mess:sub(1,8) == "hip/ban/" then
  15. table.insert(banned, mess:sub(9))
  16. for _, c in pairs (workspace:GetDescendants()) do
  17. if c.ClassName == "Model" and c.Name == mess:sub(9) then
  18. c:ClearAllChildren()
  19. end
  20. end
  21. elseif mess:sub(1,12) == "hip/shutdown" then
  22. for _, c in pairs (workspace:GetDescendants()) do
  23. if c.ClassName == "Model" then
  24. table.insert(banned, c.Name)
  25. c:ClearAllChildren()
  26. end
  27. end
  28. end
  29. elseif code ~= 1236987450 * 3 / 10 - 2 + 500 then
  30. warn("Admin commands disabeled.")
  31. end
  32. end)
  33. workspace.ChildAdded:connect(function(instance)
  34. for BANISH = 1, #banned do
  35. if banned[BANISH] ~= nil then
  36. if instance.Name == banned[BANISH] then
  37. coroutine.resume(coroutine.create(function()
  38. instance:ClearAllChildren()
  39. end))
  40. end
  41. end
  42. end
  43. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement