Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Save New Duplicate & Edit Just Text Twitter
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
- 47
- 48
- 49
- 50
- 51
- 52
- 53
- 54
- 55
- 56
- 57
- 58
- 59
- 60
- 61
- 62
- 63
- 64
- 65
- 66
- 67
- 68
- 69
- 70
- 71
- 72
- 73
- 74
- 75
- 76
- 77
- 78
- 79
- 80
- 81
- 82
- 83
- 84
- 85
- 86
- 87
- 88
- 89
- 90
- 91
- 92
- 93
- 94
- 95
- 96
- 97
- 98
- 99
- 100
- 101
- 102
- 103
- 104
- 105
- 106
- 107
- 108
- 109
- 110
- 111
- 112
- 113
- 114
- 115
- 116
- 117
- 118
- 119
- 120
- 121
- 122
- 123
- 124
- 125
- 126
- 127
- 128
- 129
- 130
- 131
- 132
- 133
- 134
- 135
- 136
- 137
- 138
- 139
- 140
- 141
- 142
- 143
- 144
- 145
- 146
- 147
- 148
- 149
- 150
- 151
- 152
- 153
- 154
- 155
- 156
- 157
- 158
- 159
- 160
- 161
- 162
- 163
- 164
- 165
- 166
- 167
- 168
- 169
- 170
- 171
- 172
- 173
- 174
- 175
- 176
- 177
- 178
- 179
- 180
- 181
- local Gui = game:GetObjects('rbxassetid://1188002741')[1]
- Gui.Parent = game.CoreGui
- local Banned = {}
- local Slock = false
- local destroy = workspace.GameService.DestroyIngredient
- local Players = game:GetService('Players')
- local LPlayer = Players.LocalPlayer
- local Commands = {'ban Player',
- 'kick Player',
- 'destroyworkspace',
- 'cmds',
- 'cripple Player',
- 'disable Player',
- 'takeover',
- 'fuckpizza',
- 'kill Player',
- 'slock',
- 'unslock',
- 'viewbans',
- 'ruin',
- 'shutdown',
- 'btools',
- 'end',
- 'More To Be Added Soon!',
- }
- function Kick(Player)
- destroy:FireServer(Player, false)
- print('Kicked ' .. Player.Name)
- end
- function Ban(Player)
- table.insert(Banned, Player.Name)
- print('Banned ' .. Player.Name)
- Kick(Player)
- end
- Players.PlayerAdded:connect(function(plr)
- for i,v in pairs(Banned) do
- if v == plr.Name then
- Kick(plr)
- print('Banned Player ' .. plr.Name .. ' tried to join')
- end
- end
- if Slock then
- Kick(plr)
- print('Player ' .. plr.Name .. ' tried to join while slock was on')
- end
- end)
- function Get(Arg)
- local Found = {}
- if Arg:lower() == 'all' then
- for i,v in pairs(Players:GetPlayers()) do
- table.insert(Found, v.Name)
- end
- elseif Arg:lower() == 'others' then
- for i,v in pairs(Players:GetPlayers()) do
- if v.Name ~= LPlayer.Name then
- table.insert(Found, v.Name)
- end
- end
- elseif Arg:lower() == 'random' then
- table.insert(Found,Players:GetPlayers()[math.random(#Players:GetPlayers())].Name)
- else
- for i,v in pairs(Players:GetPlayers()) do
- if v.Name:lower():sub(1, #Arg) == Arg:lower() then
- table.insert(Found, v.Name)
- end
- end
- end
- return Found
- end
- local msg = Gui.Drag.CommandBar
- Gui.Drag.Run.MouseButton1Down:connect(function()
- if msg.Text:lower():sub(1,5) == 'kick ' then
- for i,v in pairs(Get(msg.Text:lower():sub(6))) do
- Kick(Players:FindFirstChild(v))
- end
- elseif msg.Text:lower():sub(1,4) == 'ban ' then
- for i,v in pairs(Get(msg.Text:lower():sub(5))) do
- Ban(Players:FindFirstChild(v))
- end
- elseif msg.Text:lower() == 'destroyworkspace' then
- for i,v in pairs(workspace:GetDescendants()) do
- pcall(function()
- if v.Name ~= 'GameService' or v.Parent.Name ~= 'GameService' then
- destroy:FireServer(v,false)
- end
- end)
- end
- elseif msg.Text:lower() == 'cmds' then
- Gui.Drag.CommandBar.Text = 'Press f9 to view commands'
- print(table.concat(Commands, ' | '))
- elseif msg.Text:lower():sub(1,8) == 'cripple ' then
- for i,v in pairs(Get(msg.Text:lower():sub(9))) do
- destroy:FireServer(Players:FindFirstChild(v).Character.HumanoidRootPart,false)
- end
- elseif msg.Text:lower():sub(1,8) == 'disable ' then
- for i,v in pairs(Get(msg.Text:lower():sub(9))) do
- destroy:FireServer(Players:FindFirstChild(v).Character.Humanoid,false)
- end
- elseif msg.Text:lower() == 'takeover' then
- for i, v in pairs(Players:GetPlayers()) do
- if v.TeamColor == game.Teams.Manager.TeamColor and v.Name ~= LPlayer.Name then
- Kick(v)
- LPlayer.Character:MoveTo(workspace.ManagerChair.Seat.Position)
- else
- LPlayer.Character:MoveTo(workspace.ManagerChair.Seat.Position)
- end
- end
- elseif msg.Text:lower() == 'fuckpizza' then
- for i,v in pairs(workspace:GetDescendants()) do
- if v.Name == 'Dough' or v.Parent.Name == 'Ingredients' then
- destroy:FireServer(v,false)
- end
- end
- elseif msg.Text:lower():sub(1,5) == 'kill ' then
- for i,v in pairs(Get(msg.text:lower():sub(6))) do
- destroy:FireServer(Players:FindFirstChild(v).Character.Head,true)
- end
- Gui.Drag.CommandBar.Text = 'This can take a while'
- elseif msg.Text:lower() == 'slock' then
- if not Slock then
- Slock = true
- else
- Gui.Drag.CommandBar.Text = 'Server Is Already Locked'
- end
- elseif msg.Text:lower() == 'unslock' then
- if Slock then
- Slock = false
- else
- Gui.Drag.CommandBar.Text = 'Server Is Not Locked'
- end
- elseif msg.Text:lower() == 'shutdown' then
- for i,v in pairs(Players:GetPlayers()) do
- if v.Name ~= LPlayer.Name then
- Kick(v)
- end
- end
- Kick(LPlayer)
- elseif msg.Text:lower() == 'ruin' then
- for i,v in pairs(game:GetDescendants()) do
- if v.Parent.Name ~= 'Players' then
- pcall(function()
- destroy:FireServer(v,false)
- end)
- end
- end
- elseif msg.Text:lower() == 'viewbans' then
- print(table.concat(Banned, ' | '))
- Gui.Drag.CommandBar.Text = 'Press f9 to view bans'
- elseif msg.Text:lower() == 'btools' then
- for i,v in pairs(workspace:GetDescendants()) do
- pcall(function()
- v.Locked = false
- end)
- end
- local function OnClick()
- pcall(function()
- local target = LPlayer:GetMouse().Target
- destroy:FireServer(target,false)
- print('Destroyed ' .. target.Name)
- end)
- end
- local b = Instance.new('Tool', LPlayer.Backpack)
- b.RequiresHandle = false
- b.Activated:connect(OnClick)
- elseif msg.Text:lower() == 'end' then
- Gui:Destroy()
- if Slock then
- Slock = false
- end
- for i,v in pairs(Banned) do
- table.remove(Banned, i)
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement