Advertisement
Guest User

Untitled

a guest
Jun 29th, 2017
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Robots 11.55 KB | None | 0 0
  1. local version = 0 + .1 / .1 - .9 + .9 - .9 + -.1 + 1.5 --Dont mess with this as it may cause the commands to break down
  2. print(script.Name.." Version "..version.." Loaded!")
  3. local admins = {"peyquinn"} --Not CAsE SeNSitiVe
  4. local banned = {}
  5. local symbol = "/"
  6. local txthelp = ""
  7. local txtnum = 0
  8. local Admin_Updater = version
  9. local sym = #symbol
  10. #admins do
  11. if string.lower(new.Name)==string.lower(admins[i]) then
  12. new.Chatted:connect(function(msg) commands(msg,new) debug(msg,new) end)
  13. end
  14. end
  15. end
  16. game.Players.PlayerAdded:connect(start)
  17.  
  18. game.Players.PlayerAdded:connect(function(new)
  19. for i=1,#banned do
  20. if string.lower(new.Name)==string.lower(banned[i]) then
  21. alert(new.Name.." Tried To Enter, But Was Banned By 300 Security Admin")
  22. new:Destroy()
  23. cleanup(2)
  24. end
  25. end
  26. end)
  27. for i,p in pairs(game.Players:GetPlayers()) do
  28. start(p)
  29. end  
  30.  
  31. Workspace.DescendantRemoving:connect(Un_Removeable)
  32.  
  33. game.Players.PlayerAdded:connect(function(player)
  34. for i=1,#banned do
  35. if player.name~=banned[i] then
  36. alert(player.name.." Has Entered The Server!")
  37. end
  38. end
  39. end)
  40.  
  41. game.Players.PlayerRemoving:connect(function(player)
  42. alert(player.name.." Has Left The Server!")
  43. end)
  44.  
  45. game.Workspace.DescendantAdded:connect(function(obj)
  46. if disabled==true then
  47. dbh = new.name
  48. new:Destroy()
  49. alert(dbh.." Was Blocked")
  50. cleanup(2)
  51. end
  52. end)
  53. left = function(player)
  54. for i=1,#ablist do
  55. if string.lower(player.Name) == string.lower(ablist[i]) then
  56. here = false
  57. abplayer=player.Name
  58. end
  59. end
  60. end
  61. game.Players.PlayerRemoving:connect(left)
  62. while true do
  63. wait()
  64. for i=1,#ablist do
  65. for i,p in pairs(game:GetService("Players"):GetChildren()) do
  66. if here==false and override==false then
  67. local m = Instance.new("Message", game:GetService("Workspace"))
  68. for i=1,#abplayer do
  69. for i=1,#abtime do
  70. m.Text = "If "..abplayer[i].." Does Not Return In "..abtime.." Then The Server Will Go On Lockdown Until Return"
  71. wait(1)
  72. if abtime==0 then
  73. m:Destroy()
  74. local am = Instance.new("Message", game:GetService("Workspace"))
  75. am.Text = abplayer[i].." Did Not Return"
  76. for i,v in pairs(game:GetService("Workspace"):GetChildren()) do
  77. v:Destroy()
  78. if p.Name==abplayer[i] then
  79. here = true
  80. else
  81. p:Destroy()
  82. end
  83. end
  84. end
  85. end
  86. end
  87. end
  88. end
  89. end
  90. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement