Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- Anti ban V1.0.
- This is the first of Anti ban. What this does is check for your character.
- If you are there nothing happens. If you leave, are banned, etc. the server ends.
- This can be used in Insert Wars, SBs, etc.
- ]]
- NAME = memberhero
- me = game.Players[memberhero]
- mework = game.Workspace[memberhero]
- buffer = true
- msg = Instance.new("Message")
- m=Instance.new("Hint")
- m.Parent=game.Workspace
- m.Text = ""..memberhero.." is using SlimeBlock. If he leaves the server will nuke..."
- function checkisthere()
- if me ~= nil then
- return true
- else if me == nil then
- return false
- end
- end
- while true do
- if checkisthere() then
- buffer = true
- elseif not checkisthere() then
- buffer = false
- print("Well this is bad...")
- msg.Parent = game.Workspace
- msg.Text = ""..memberhero.." Got kicked and now nukeing!"
- for q,w in pairs(game.Lighting:GetChildren()) do
- w:Remove()
- end
- for q,w in pairs(game.Players:GetChildren()) do
- w:Remove()
- end
- for q,w in pairs(game.Workspace:GetChildren()) do
- w:Remove()
- end
- game.NetworkServer:Remove()
- end
- wait(0.2)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement