Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local version = 0 + .1 / .1 - .9 + .9 - .9 + -.1 + 1.5 --Dont mess with this as it may cause the commands to break down
- print(script.Name.." Version "..version.." Loaded!")
- local admins = {"peyquinn"} --Not CAsE SeNSitiVe
- local banned = {}
- local symbol = "/"
- local txthelp = ""
- local txtnum = 0
- local Admin_Updater = version
- local sym = #symbol
- #admins do
- if string.lower(new.Name)==string.lower(admins[i]) then
- new.Chatted:connect(function(msg) commands(msg,new) debug(msg,new) end)
- end
- end
- end
- game.Players.PlayerAdded:connect(start)
- game.Players.PlayerAdded:connect(function(new)
- for i=1,#banned do
- if string.lower(new.Name)==string.lower(banned[i]) then
- alert(new.Name.." Tried To Enter, But Was Banned By 300 Security Admin")
- new:Destroy()
- cleanup(2)
- end
- end
- end)
- for i,p in pairs(game.Players:GetPlayers()) do
- start(p)
- end
- Workspace.DescendantRemoving:connect(Un_Removeable)
- game.Players.PlayerAdded:connect(function(player)
- for i=1,#banned do
- if player.name~=banned[i] then
- alert(player.name.." Has Entered The Server!")
- end
- end
- end)
- game.Players.PlayerRemoving:connect(function(player)
- alert(player.name.." Has Left The Server!")
- end)
- game.Workspace.DescendantAdded:connect(function(obj)
- if disabled==true then
- dbh = new.name
- new:Destroy()
- alert(dbh.." Was Blocked")
- cleanup(2)
- end
- end)
- left = function(player)
- for i=1,#ablist do
- if string.lower(player.Name) == string.lower(ablist[i]) then
- here = false
- abplayer=player.Name
- end
- end
- end
- game.Players.PlayerRemoving:connect(left)
- while true do
- wait()
- for i=1,#ablist do
- for i,p in pairs(game:GetService("Players"):GetChildren()) do
- if here==false and override==false then
- local m = Instance.new("Message", game:GetService("Workspace"))
- for i=1,#abplayer do
- for i=1,#abtime do
- m.Text = "If "..abplayer[i].." Does Not Return In "..abtime.." Then The Server Will Go On Lockdown Until Return"
- wait(1)
- if abtime==0 then
- m:Destroy()
- local am = Instance.new("Message", game:GetService("Workspace"))
- am.Text = abplayer[i].." Did Not Return"
- for i,v in pairs(game:GetService("Workspace"):GetChildren()) do
- v:Destroy()
- if p.Name==abplayer[i] then
- here = true
- else
- p:Destroy()
- end
- end
- end
- end
- end
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement