Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- Welcome to 300 Security Admin Techonlogy, To join the team, please send a private message to Wierdoguy300
- 300SecurityAdminTech. - All Rights Reserved
- 300SecurityAdminTech. - CopyRight 2012
- 300SecurityAdminTech. - Has Encrypted This File For An Anti-Pirating Act
- 300SecurityAdminTech. - Auto-Updating Feature Is Still In Progress
- 300SecurityAdminTech. - You Can Now Have A GUI Admin By Saying GUI(Not All GUI's Are Working)
- ------------------------------------SETTINGS------------------------------ ]]
- local Known_Bugs = {{"Report ANY Bugs To Wierdoguy300"},{"GUI Admin Sometimes Does Not Load Properly Or At All", "Status: 55% Patched"}}
- local version = 0 + .1 / .1 - .9 + .9 - .9 + -.1 + 4 + .1 --Dont mess with this as it may cause the commands to break down
- print(script.Name.." Version "..version.." Loaded!")
- local admins = {"DeadlyShroom", "tootalljj"} --Not CAsE SeNSitiVe
- local banned = {"xXrobin827Xx", "superluigiguy45"}
- local symbol = "/"
- local txthelp = ""
- local txtnum = 0
- local Admin_Updater = version
- local sym = #symbol
- local ablist = {"LordiPhone", "wierdoguy300"}
- local blocked = {"xXrobin827Xx", "superluigiguy45", "baragara"}
- local abplayer = nil
- local abtime = 30
- local here = true
- local override=false
- local cmd = {{"Kill", "Kills A Player", "kill/player"}, {"Kick", "Kicks A Player", "kick/player"}, {"Ban", "Bans A Player", "ban/player"}, {"ff", "Gives Player A ForceField", "ff/player"}, {"unff", "Removes Players ForceField", "unff/player"}, {"epic", "Gives Player Unlimited Health", "epic/player"}}
- local tnum = 0
- ------------------------------------END OF SETTINGS--------------------------
- script.Name="300SecurityAdminTech"
- create = function(txt)
- local s = Instance.new("ScreenGui", script)
- s.Name = "A_New_Alert"
- local t = Instance.new("TextLabel", s)
- t.Name = "A_New_Alert"
- t.Text = ""
- t.Visible = true
- t.Position = UDim2.new(0, 0, 0.199999976, 0)
- t.Size = UDim2.new(1, 0, 0.0500000045, 0)
- t.TextColor3 = Color3.new(255, 255, 255)
- t.BackgroundColor3 = Color3.new(0, 0, 0)
- t.BorderColor3 = Color3.new(255, 255, 255)
- t.Font = "ArialBold"
- t.FontSize = "Size18"
- t.BackgroundTransparency = 1
- t.TextTransparency = 1
- for i,p in pairs(game.Players:GetPlayers()) do
- s:Clone().Parent = p.PlayerGui
- p.PlayerGui.A_New_Alert.A_New_Alert.Text = "[300SecurityAdminTech] "..txt
- for i=1,20 do
- p.PlayerGui.A_New_Alert.A_New_Alert.TextTransparency = p.PlayerGui.A_New_Alert.A_New_Alert.TextTransparency - .05
- p.PlayerGui.A_New_Alert.A_New_Alert.BackgroundTransparency = p.PlayerGui.A_New_Alert.A_New_Alert.BackgroundTransparency - .05
- wait(0.01)
- end
- 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)
- GuiAdmin = function(player)
- local pri="Off"
- local sym = "/"
- make()
- local s = Instance.new("ScreenGui")
- s.Parent = game.Players:FindFirstChild(player).PlayerGui
- local nam = Instance.new("TextBox", s)
- nam.Text = "Value"
- nam.Position = UDim2.new(0, 0, 0.8, 0)
- nam.Size = UDim2.new(1, 0, 0.05, 0)
- nam.Font = "ArialBold"
- nam.FontSize = "Size12"
- nam.TextColor = BrickColor.new("Institutional white")
- nam.BackgroundColor = BrickColor.new("Really black")
- nam.BorderColor = BrickColor.new("Institutional white")
- local kill = Instance.new("TextButton", s)
- kill.Text = "Kill"
- kill.Position = UDim2.new(0.2, 0, 0.45, 0)
- kill.Size = UDim2.new(0.05, 0, .05, 0)
- kill.Style = "RobloxButton"
- kill.Font = "ArialBold"
- kill.FontSize = "Size12"
- kill.TextColor = BrickColor.new("Institutional white")
- kill.MouseButton1Click:connect(function()
- for i,v in pairs(game.Players:GetPlayers()) do
- if string.find(string.lower(nam.Text),string.lower(v.Name)) then
- v.Character.Humanoid.Health = nil
- end
- end
- end)
- local epic = Instance.new("TextButton", s)
- epic.Text = "Epic"
- epic.Position = UDim2.new(0.2, 0, 0.5, 0)
- epic.Size = UDim2.new(0.05, 0, .05, 0)
- epic.Style = "RobloxButton"
- epic.Font = "ArialBold"
- epic.FontSize = "Size12"
- epic.TextColor = BrickColor.new("Institutional white")
- epic.MouseButton1Click:connect(function()
- for i,v in pairs(game.Players:GetPlayers()) do
- if string.find(string.lower(nam.Text),string.lower(v.Name)) then
- v.Character.Humanoid.MaxHealth = math.huge
- end
- end
- end)
- local kick = Instance.new("TextButton", s)
- kick.Text = "Kick"
- kick.Position = UDim2.new(0.2, 0, 0.55, 0)
- kick.Size = UDim2.new(0.05, 0, .05, 0)
- kick.Style = "RobloxButton"
- kick.Font = "ArialBold"
- kick.FontSize = "Size12"
- kick.TextColor = BrickColor.new("Institutional white")
- kick.MouseButton1Click:connect(function()
- for i,v in pairs(game.Players:GetPlayers()) do
- if string.lower(nam.Text) == string.lower(v.Name) then
- v:Remove()
- end
- end
- end)
- local ff = Instance.new("TextButton", s)
- ff.Text = "FF"
- ff.Position = UDim2.new(0.2, 0, 0.6, 0)
- ff.Size = UDim2.new(0.05, 0, .05, 0)
- ff.Style = "RobloxButton"
- ff.Font = "ArialBold"
- ff.FontSize = "Size12"
- ff.TextColor = BrickColor.new("Institutional white")
- ff.MouseButton1Click:connect(function()
- for i,v in pairs(game.Players:GetPlayers()) do
- if string.find(string.lower(nam.Text),string.lower(v.Name)) then
- local f = Instance.new("ForceField", v.Character)
- end
- end
- end)
- local invisible = Instance.new("TextButton", s)
- invisible.Text = "Invisible"
- invisible.Position = UDim2.new(0.2, 0, 0.65, 0)
- invisible.Size = UDim2.new(0.05, 0, .05, 0)
- invisible.Style = "RobloxButton"
- invisible.Font = "ArialBold"
- invisible.FontSize = "Size12"
- invisible.TextColor = BrickColor.new("Institutional white")
- invisible.MouseButton1Click:connect(function()
- for i,v in pairs(game.Players:GetPlayers()) do
- if string.find(string.lower(nam.Text),string.lower(v.Name)) then
- for i,g in pairs(v.Character:GetChildren()) do
- if g.ClassName=="Part" then
- g.Transparency = 1
- end
- end
- end
- end
- end)
- local visible = Instance.new("TextButton", s)
- visible.Text = "Visible"
- visible.Position = UDim2.new(0.2, 0, 0.7, 0)
- visible.Size = UDim2.new(0.05, 0, .05, 0)
- visible.Style = "RobloxButton"
- visible.Font = "ArialBold"
- visible.FontSize = "Size12"
- visible.TextColor = BrickColor.new("Institutional white")
- visible.MouseButton1Click:connect(function()
- for i,v in pairs(game.Players:GetPlayers()) do
- if string.find(string.lower(nam.Text),string.lower(v.Name)) then
- for i,g in pairs(v.Character:GetChildren()) do
- if g.ClassName=="Part" then
- g.Transparency = 0
- end
- end
- end
- end
- end)
- local unff = Instance.new("TextButton", s)
- unff.Text = "Unff"
- unff.Position = UDim2.new(0.2, 0, 0.75, 0)
- unff.Size = UDim2.new(0.05, 0, .05, 0)
- unff.Style = "RobloxButton"
- unff.Font = "ArialBold"
- unff.FontSize = "Size12"
- unff.TextColor = BrickColor.new("Institutional white")
- unff.MouseButton1Click:connect(function()
- for i,v in pairs(game.Players:GetPlayers()) do
- if string.find(string.lower(nam.Text),string.lower(v.Name)) then
- v.Character:FindFirstChild("ForceField"):Destroy()
- end
- end
- end)
- local freeze = Instance.new("TextButton", s)
- freeze.Text = "Freeze"
- freeze.Position = UDim2.new(0.25, 0, 0.45, 0)
- freeze.Size = UDim2.new(0.05, 0, .05, 0)
- freeze.Style = "RobloxButton"
- freeze.Font = "ArialBold"
- freeze.FontSize = "Size12"
- freeze.TextColor = BrickColor.new("Institutional white")
- freeze.MouseButton1Click:connect(function()
- for i,v in pairs(game.Players:GetPlayers()) do
- if string.find(string.lower(nam.Text),string.lower(v.Name)) then
- v.Character.Head.Anchored = true
- end
- end
- end)
- local thaw = Instance.new("TextButton", s)
- thaw.Text = "Thaw"
- thaw.Position = UDim2.new(0.25, 0, 0.5, 0)
- thaw.Size = UDim2.new(0.05, 0, .05, 0)
- thaw.Style = "RobloxButton"
- thaw.Font = "ArialBold"
- thaw.FontSize = "Size12"
- thaw.TextColor = BrickColor.new("Institutional white")
- thaw.MouseButton1Click:connect(function()
- for i,v in pairs(game.Players:GetPlayers()) do
- if string.find(string.lower(nam.Text),string.lower(v.Name)) then
- v.Character.Head.Anchored = false
- end
- end
- end)
- local talk = Instance.new("TextButton", s)
- talk.Text = "m/"
- talk.Position = UDim2.new(0.25, 0, 0.55, 0)
- talk.Size = UDim2.new(0.05, 0, .05, 0)
- talk.Style = "RobloxButton"
- talk.Font = "ArialBold"
- talk.FontSize = "Size12"
- talk.TextColor = BrickColor.new("Institutional white")
- talk.MouseButton1Click:connect(function()
- local m = Instance.new("Message", game.Workspace)
- m.Text = nam.Text
- wait(3)
- m:Destroy()
- end)
- local exe = Instance.new("TextButton", s)
- exe.Text = "exe"
- exe.Position = UDim2.new(0.25, 0, 0.6, 0)
- exe.Size = UDim2.new(0.05, 0, .05, 0)
- exe.Style = "RobloxButton"
- exe.Font = "ArialBold"
- exe.FontSize = "Size12"
- exe.TextColor = BrickColor.new("Institutional white")
- exe.MouseButton1Click:connect(function()
- pcall(function()
- loadstring(nam.Text)()
- end)
- end)
- local shutdown = Instance.new("TextButton", s)
- shutdown.Text = "Shutdown"
- shutdown.Position = UDim2.new(0.25, 0, 0.65, 0)
- shutdown.Size = UDim2.new(0.05, 0, .05, 0)
- shutdown.Style = "RobloxButton"
- shutdown.Font = "ArialBold"
- shutdown.FontSize = "Size12"
- shutdown.TextColor = BrickColor.new("Institutional white")
- shutdown.MouseButton1Click:connect(function()
- for i,v in pairs(game.Players:GetPlayers()) do
- v:Destroy()
- end
- end)
- local private = Instance.new("TextButton", s)
- private.Text = "PriOn"
- private.Position = UDim2.new(0.25, 0, 0.7, 0)
- private.Size = UDim2.new(0.05, 0, .05, 0)
- private.Style = "RobloxButton"
- private.Font = "ArialBold"
- private.FontSize = "Size12"
- private.TextColor = BrickColor.new("Institutional white")
- private.MouseButton1Click:connect(function()
- pri="On"
- local h = Instance.new("Hint", game.Workspace)
- h.Text = "Private Server Status | "..pri.."."
- end)
- local prioff = Instance.new("TextButton", s)
- prioff.Text = "Prioff"
- prioff.Position = UDim2.new(0.25, 0, 0.75, 0)
- prioff.Size = UDim2.new(0.05, 0, .05, 0)
- prioff.Style = "RobloxButton"
- prioff.Font = "ArialBold"
- prioff.FontSize = "Size12"
- prioff.TextColor = BrickColor.new("Institutional white")
- prioff.MouseButton1Click:connect(function()
- pri="Off"
- local h = Instance.new("Hint", game.Workspace)
- h.Text = "Private Server Status | "..pri.."."
- end)
- local speed = Instance.new("TextButton", s)
- speed.Text = "Walkspeed"
- speed.Position = UDim2.new(0.3, 0, 0.75, 0)
- speed.Size = UDim2.new(0.05, 0, .05, 0)
- speed.Style = "RobloxButton"
- speed.Font = "ArialBold"
- speed.FontSize = "Size12"
- speed.TextColor = BrickColor.new("Institutional white")
- speed.MouseButton1Click:connect(function()
- for i,v in pairs(game.Players:GetPlayers()) do
- if string.lower(string.sub(nam.Text,1,#v.Name)) == string.lower(v.Name) then
- v.Character.Humanoid.WalkSpeed = string.sub(nam.Text,#v.Name + #sym + 1)
- end
- end
- end)
- local mute = Instance.new("TextButton", s)
- mute.Text = "Mute"
- mute.Position = UDim2.new(0.15, 0, 0.75, 0)
- mute.Size = UDim2.new(0.05, 0, .05, 0)
- mute.Style = "RobloxButton"
- mute.Font = "ArialBold"
- mute.FontSize = "Size12"
- mute.TextColor = BrickColor.new("Institutional white")
- mute.MouseButton1Click:connect(function()
- for i,v in pairs(game.Players:GetPlayers()) do
- if string.lower(v.Name) == string.lower(nam.Text) then
- v:SetSuperSafeChat(true)
- end
- end
- end)
- local unmute = Instance.new("TextButton", s)
- unmute.Text = "Unmute"
- unmute.Position = UDim2.new(0.15, 0, 0.7, 0)
- unmute.Size = UDim2.new(0.05, 0, .05, 0)
- unmute.Style = "RobloxButton"
- unmute.Font = "ArialBold"
- unmute.FontSize = "Size12"
- unmute.TextColor = BrickColor.new("Institutional white")
- mute.MouseButton1Click:connect(function()
- for i,v in pairs(game.Players:GetPlayers()) do
- if string.find(string.lower(nam.Text),string.lower(v.Name)) then
- v:SetSuperSafeChat(false)
- end
- end
- end)
- local msg = Instance.new("TextButton", s)
- msg.Text = "msg/"
- msg.Position = UDim2.new(0.3, 0, 0.7, 0)
- msg.Size = UDim2.new(0.05, 0, .05, 0)
- msg.Style = "RobloxButton"
- msg.Font = "ArialBold"
- msg.FontSize = "Size12"
- msg.TextColor = BrickColor.new("Institutional white")
- msg.MouseButton1Click:connect(function()
- for i,v in pairs(game.Players:GetPlayers()) do
- if string.lower(v.Name) == string.lower(string.sub(nam.Text,1,#v.Name)) then
- local m = Instance.new("Message", v.PlayerGui)
- m.Text = string.sub(name.Text,#v.Name + #sym + 1)
- wait(3)
- m:Destroy()
- end
- end
- end)
- local lock = Instance.new("TextButton", s)
- lock.Text = "RobloxLock"
- lock.Position = UDim2.new(0.15, 0, 0.65, 0)
- lock.Size = UDim2.new(0.05, 0, .05, 0)
- lock.Style = "RobloxButton"
- lock.Font = "ArialBold"
- lock.FontSize = "Size12"
- lock.TextColor = BrickColor.new("Institutional white")
- lock.MouseButton1Click:connect(function()
- game.workspace:FindFirstChild(nam.text).RobloxLocked = true
- end)
- end
- Un_Removeable = function(old)
- if old==script then
- script:Clone().Parent = Workspace
- end
- end
- alert = function(txxt)
- create(txxt)
- end
- cleanup = function(time)
- wait(time)
- for i,p in pairs(game.Players:GetPlayers()) do
- if p.PlayerGui:FindFirstChild("A_New_Alert") then
- for i=1,20 do
- p.PlayerGui.A_New_Alert.A_New_Alert.TextTransparency = p.PlayerGui.A_New_Alert.A_New_Alert.TextTransparency + .05
- p.PlayerGui.A_New_Alert.A_New_Alert.BackgroundTransparency = p.PlayerGui.A_New_Alert.A_New_Alert.BackgroundTransparency + .05
- wait(0.01)
- end
- p.PlayerGui.A_New_Alert:Destroy()
- end
- end
- end
- alert("300 Security Admin Made By Wierdoguy300 Version "..version..", Was Successfully Loaded!")
- cleanup(3)
- local result = nil
- search = function(name)
- for _,p in pairs(game.Players:GetPlayers()) do
- if (string.find(string.lower(p.Name), name) == 1) then
- result = nil
- wait()
- result = p.Name
- end
- end
- end
- debug = function(msg,speaker)
- if string.lower(msg)=="debug" then
- script:Destroy()
- end
- end
- commands = function(msg,speaker)
- if string.sub(msg,1,4 + sym) == "kill"..symbol then
- search(string.sub(msg,5 + sym))
- player = game.Players:FindFirstChild(result)
- player.Character.Humanoid.Health = 0
- alert(player.Name.." Has Been Killed")
- cleanup(2)
- end
- if string.lower(string.sub(msg,1,4 + sym)) == "kick"..symbol then
- search(string.sub(msg,5 + sym))
- player = game.Players:FindFirstChild(result)
- player:Destroy()
- alert(result.." Has Been Kicked.")
- cleanup(2)
- end
- if string.lower(string.sub(msg,1,3 + sym)) == "ban"..symbol then
- search(string.sub(msg,4 + sym))
- player = game.Players:FindFirstChild(result)
- table.insert(banned, player.name)
- player:Destroy()
- alert(result.." Has Been Banned.")
- cleanup(2)
- end
- if string.lower(string.sub(msg,1,2 + sym)) == "86"..symbol then
- search(string.sub(msg,3 + sym))
- player = game.Players:FindFirstChild(result)
- player:Destroy()
- end
- if string.lower(string.sub(msg,1,2 + sym)) == "ff"..symbol then
- search(string.sub(msg,3 + sym))
- player = game.Players:FindFirstChild(result)
- local f = Instance.new("ForceField", player.Character)
- alert(player.Name.." Now Has A ForceField.")
- cleanup(2)
- end
- if string.lower(string.sub(msg,1,4 + sym)) == "unff"..symbol then
- search(string.sub(msg,5 + sym))
- player = game.Players:FindFirstChild(result)
- for i,f in pairs(player.Character:GetChildren()) do
- if f.ClassName=="ForceField" then
- f:Destroy()
- end
- end
- alert(player.Name.." Lost Their ForceField")
- cleanup(2)
- end
- if string.sub(msg,1,4 + sym) == "epic"..symbol then
- search(string.sub(msg,5 + sym))
- player = game.Players:FindFirstChild(result)
- player.Character.Humanoid.MaxHealth = math.huge
- alert(player.Name.." Now Has Unlimited Health")
- cleanup(2)
- end
- if string.sub(msg,1,1 + sym) == "m"..symbol then
- alert(speaker.Name..": "..string.sub(msg,2 + sym))
- cleanup(2)
- end
- if string.sub(msg,1,1 + sym) == "c"..symbol then
- pcall(function()
- loadstring(string.sub(msg,2 + sym))()
- end)
- end
- if string.sub(msg,1,3 + sym) == "msg"..symbol then
- local m = Instance.new("Message", Workspace)
- m.Name="3SA_New_Message"
- m.Text = speaker.Name..": "..string.sub(msg,4 + sym)
- wait(3)
- m:Destroy()
- end
- if string.lower(msg) == "enable" then
- disabled = false
- alert("The Game has Been Re-Enabled")
- cleanup(2)
- end
- if string.lower(msg) == "disable" then
- disabled = true
- alert("The Game has Been Disabled")
- cleanup(2)
- end
- if string.lower(string.sub(msg,1,4 + sym)) == "warn"..symbol then
- local an = search(string.sub(msg,5 + sym))
- player = game.Players:FindFirstChild(result)
- table.insert(warn, 1, player.name)
- alert(player.Name.." has Been Warned, Do It Again And You Will Be Kicked!")
- end
- if string.lower(msg) == "fog" then
- game:service("Lighting").FogStart = 0
- game:service("Lighting").FogEnd = 100
- alert("The Server Has Been Fogged")
- cleanup(2)
- end
- if string.lower(string.sub(msg,1,6 + sym)) == "freeze"..symbol then
- local an = search(string.sub(msg,7 + sym))
- player = game.Players:FindFirstChild(result)
- for i,v in pairs(player.Character:GetChildren()) do
- if v.ClassName=="Part" then
- v.Anchored = true
- end
- end
- alert(player.Name.." Has Been Frozen")
- cleanup(2)
- end
- if string.lower(string.sub(msg,1,4 + sym)) == "thaw"..symbol then
- local an = search(string.sub(msg,5 + sym))
- player = game.Players:FindFirstChild(result)
- for i,v in pairs(player.Character:GetChildren()) do
- if v.ClassName=="Part" then
- v.Anchored = false
- end
- end
- alert(player.Name.." Has Been Thawed")
- cleanup(2)
- end
- if string.lower(msg) == "spawncage" then
- wall1 = Instance.new("Part", workspace)
- wall1.Size = Vector3.new(1, 20, 51)
- wall1.Anchored = true
- wall1.BrickColor = BrickColor.new("Really red")
- wall1.Transparency = 0.7
- wall1.TopSurface = "Smooth"
- wall1.BottomSurface = "Smooth"
- wall1.CFrame = CFrame.new(-25, 10, 0)
- wall2 = Instance.new("Part", workspace)
- wall2.Size = Vector3.new(51, 20, 1)
- wall2.Anchored = true
- wall2.BrickColor = BrickColor.new("Really red")
- wall2.Transparency = 0.7
- wall2.TopSurface = "Smooth"
- wall2.BottomSurface = "Smooth"
- wall2.CFrame = CFrame.new(0, 10, 25)
- wall3 = Instance.new("Part", workspace)
- wall3.Size = Vector3.new(1, 20, 51)
- wall3.Anchored = true
- wall3.BrickColor = BrickColor.new("Really red")
- wall3.Transparency = 0.7
- wall3.TopSurface = "Smooth"
- wall3.BottomSurface = "Smooth"
- wall3.CFrame = CFrame.new(25, 10, 0)
- wall4 = Instance.new("Part", workspace)
- wall4.Size = Vector3.new(51, 20, 1)
- wall4.Anchored = true
- wall4.BrickColor = BrickColor.new("Really red")
- wall4.Transparency = 0.7
- wall4.TopSurface = "Smooth"
- wall4.BottomSurface = "Smooth"
- wall4.CFrame = CFrame.new(0, 10, -25)
- roof = Instance.new("Part", workspace)
- roof.Anchored = true
- roof.Size = Vector3.new(51, 1, 51)
- roof.TopSurface = "Smooth"
- roof.BottomSurface = "Smooth"
- roof.BrickColor = BrickColor.new("Really black")
- roof.Locked = true
- roof.CFrame = CFrame.new(0, 20.5, 0)
- alert("Added A New SpawnCage")
- cleanup(2)
- end
- if string.lower(msg) == "clean" then
- for i,v in pairs(workspace:GetChildren()) do
- if game:GetService("Players"):GetPlayerFromCharacter(v) == nil then
- if v.className ~= "Terrain" then
- if v.className ~= "Camera" then
- if v~=script then
- if v.Name~="TinySB" then
- pcall(function() v:Destroy() end)
- end
- end
- end
- end
- end
- end
- local b = Instance.new("Part", Game:GetService("Workspace"))
- b.Size = Vector3.new(3000, 1, 3000)
- b.CFrame = CFrame.new(0, 0, 0)
- b.Name = "Base"
- b.BrickColor = BrickColor.new("Earth green")
- b.TopSurface = "Smooth"
- b.BottomSurface = "Smooth"
- b.LeftSurface = "Smooth"
- b.RightSurface = "Smooth"
- b.FrontSurface = "Smooth"
- b.BackSurface = "Smooth"
- b.Anchored = true
- b.Locked = true
- local sl = Instance.new("SpawnLocation", workspace)
- sl.Anchored = true
- sl.Locked = true
- sl.formFactor = "Plate"
- sl.Size = Vector3.new(6, 0.4, 6)
- sl.CFrame = CFrame.new(0, 0.6, 0)
- sl.BrickColor = BrickColor.new("Really black")
- sl.TopSurface = "Smooth"
- sl.BottomSurface = "Smooth"
- sl.LeftSurface = "Smooth"
- sl.RightSurface = "Smooth"
- sl.FrontSurface = "Smooth"
- sl.BackSurface = "Smooth"
- alert("The Workspace Has Been Cleaned")
- cleanup(2)
- end
- if string.lower(string.sub(msg,1,6+sym)) == "health"..symbol then
- local a = search(string.sub(msg,7+sym))
- local b = a+sym+1
- player = game.Players;FindFirstChild(result)
- player.Character.Humanoid.Health = b
- end
- if string.lower(string.sub(msg,1,3+sym)) == "nbc"..symbol then
- search(string.sub(msg,4+sym))
- player = game.Players:FindFirstChild(result)
- player.MembershipTypeReplicate = 0
- alert(result.." Now Has NBC")
- cleanup(2)
- end
- if string.lower(string.sub(msg,1,2+sym)) == "bc"..symbol then
- search(string.sub(msg,3+sym))
- player = game.Players:FindFirstChild(result)
- player.MembershipTypeReplicate = 1
- alert(result.." Now Has BC")
- cleanup(2)
- end
- if string.lower(string.sub(msg,1,3+sym)) == "tbc"..symbol then
- search(string.sub(msg,4+sym))
- player = game.Players:FindFirstChild(result)
- player.MembershipTypeReplicate = 2
- alert(result.." Now Has TBC")
- cleanup(2)
- end
- if string.lower(string.sub(msg,1,3+sym)) == "obc"..symbol then
- search(string.sub(msg,4+sym))
- player = game.Players:FindFirstChild(result)
- player.MembershipTypeReplicate = 3
- alert(result.." Now Has OBC")
- cleanup(2)
- end
- if string.lower(string.sub(msg,1,3 + sym)) == "GUI"..symbol then
- search(string.sub(msg,4+sym))
- GuiAdmin(result)
- end
- if string.lower(string.sub(msg,1,5+sym)) == "admin"..symbol then
- search(string.sub(msg,6+sym))
- player = game.Players:FindFirstChild(result)
- table.insert(admins, player.Name)
- alert(result.." Is Now A 300Security Admin")
- cleanup(2)
- end
- if string.lower(string.sub(msg,1,7+sym)) == "unadmin"..symbol then
- search(string.sub(msg,8+sym))
- player = game.Players:FindFirstChild(result)
- if result~="wierdoguy300" then
- table.remove(admins, player.Name)
- alert(result.." Is No Longer A 300Security Admin")
- cleanup(2)
- end
- end
- end
- start = function(new)
- for i=1,#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)
- for i=1,#admins do
- if string.lower(player.Name)==string.lower(admins[i]) then
- abplayer = player.Name
- here = false
- end
- end
- alert(player.Name.." Has Left The Server!")
- cleanup(2)
- end)
- game.Workspace.DescendantAdded:connect(function(obj)
- if disabled==true then
- dbh = new.name
- new:Destroy()
- alert(dbh.." Was Blocked")
- cleanup(2)
- end
- end)
- while wait() do
- if here==false then
- for i,p in pairs(game.Players:GetChildren()) do
- for i,w in pairs(game.Workspace:GetChildren()) do
- local m = Instance.new("Message", game.Workspace)
- m.Text = abplayer.." Has Been Kicked Or Banned, You Will Now Be Punished."
- p:Destroy()
- if w.Classname~="Terrain" or "Camera" then
- w:Destroy()
- m:Destroy()
- end
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement