Advertisement
HowAreYu

FE admin

Dec 28th, 2017
723
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.59 KB | None | 0 0
  1.  
  2. Save New Duplicate & Edit Just Text Twitter
  3. 1
  4. 2
  5. 3
  6. 4
  7. 5
  8. 6
  9. 7
  10. 8
  11. 9
  12. 10
  13. 11
  14. 12
  15. 13
  16. 14
  17. 15
  18. 16
  19. 17
  20. 18
  21. 19
  22. 20
  23. 21
  24. 22
  25. 23
  26. 24
  27. 25
  28. 26
  29. 27
  30. 28
  31. 29
  32. 30
  33. 31
  34. 32
  35. 33
  36. 34
  37. 35
  38. 36
  39. 37
  40. 38
  41. 39
  42. 40
  43. 41
  44. 42
  45. 43
  46. 44
  47. 45
  48. 46
  49. 47
  50. 48
  51. 49
  52. 50
  53. 51
  54. 52
  55. 53
  56. 54
  57. 55
  58. 56
  59. 57
  60. 58
  61. 59
  62. 60
  63. 61
  64. 62
  65. 63
  66. 64
  67. 65
  68. 66
  69. 67
  70. 68
  71. 69
  72. 70
  73. 71
  74. 72
  75. 73
  76. 74
  77. 75
  78. 76
  79. 77
  80. 78
  81. 79
  82. 80
  83. 81
  84. 82
  85. 83
  86. 84
  87. 85
  88. 86
  89. 87
  90. 88
  91. 89
  92. 90
  93. 91
  94. 92
  95. 93
  96. 94
  97. 95
  98. 96
  99. 97
  100. 98
  101. 99
  102. 100
  103. 101
  104. 102
  105. 103
  106. 104
  107. 105
  108. 106
  109. 107
  110. 108
  111. 109
  112. 110
  113. 111
  114. 112
  115. 113
  116. 114
  117. 115
  118. 116
  119. 117
  120. 118
  121. 119
  122. 120
  123. 121
  124. 122
  125. 123
  126. 124
  127. 125
  128. 126
  129. 127
  130. 128
  131. 129
  132. 130
  133. 131
  134. 132
  135. 133
  136. 134
  137. 135
  138. 136
  139. 137
  140. 138
  141. 139
  142. 140
  143. 141
  144. 142
  145. 143
  146. 144
  147. 145
  148. 146
  149. 147
  150. 148
  151. 149
  152. 150
  153. 151
  154. 152
  155. 153
  156. 154
  157. 155
  158. 156
  159. 157
  160. 158
  161. 159
  162. 160
  163. 161
  164. 162
  165. 163
  166. 164
  167. 165
  168. 166
  169. 167
  170. 168
  171. 169
  172. 170
  173. 171
  174. 172
  175. 173
  176. 174
  177. 175
  178. 176
  179. 177
  180. 178
  181. 179
  182. 180
  183. 181
  184. local Gui = game:GetObjects('rbxassetid://1188002741')[1]
  185. Gui.Parent = game.CoreGui
  186.  
  187. local Banned = {}
  188. local Slock = false
  189. local destroy = workspace.GameService.DestroyIngredient
  190. local Players = game:GetService('Players')
  191. local LPlayer = Players.LocalPlayer
  192.  
  193. local Commands = {'ban Player',
  194. 'kick Player',
  195. 'destroyworkspace',
  196. 'cmds',
  197. 'cripple Player',
  198. 'disable Player',
  199. 'takeover',
  200. 'fuckpizza',
  201. 'kill Player',
  202. 'slock',
  203. 'unslock',
  204. 'viewbans',
  205. 'ruin',
  206. 'shutdown',
  207. 'btools',
  208. 'end',
  209. 'More To Be Added Soon!',
  210. }
  211.  
  212. function Kick(Player)
  213. destroy:FireServer(Player, false)
  214. print('Kicked ' .. Player.Name)
  215. end
  216.  
  217. function Ban(Player)
  218. table.insert(Banned, Player.Name)
  219. print('Banned ' .. Player.Name)
  220. Kick(Player)
  221. end
  222. Players.PlayerAdded:connect(function(plr)
  223. for i,v in pairs(Banned) do
  224. if v == plr.Name then
  225. Kick(plr)
  226. print('Banned Player ' .. plr.Name .. ' tried to join')
  227. end
  228. end
  229. if Slock then
  230. Kick(plr)
  231. print('Player ' .. plr.Name .. ' tried to join while slock was on')
  232. end
  233. end)
  234.  
  235. function Get(Arg)
  236. local Found = {}
  237. if Arg:lower() == 'all' then
  238. for i,v in pairs(Players:GetPlayers()) do
  239. table.insert(Found, v.Name)
  240. end
  241. elseif Arg:lower() == 'others' then
  242. for i,v in pairs(Players:GetPlayers()) do
  243. if v.Name ~= LPlayer.Name then
  244. table.insert(Found, v.Name)
  245. end
  246. end
  247. elseif Arg:lower() == 'random' then
  248. table.insert(Found,Players:GetPlayers()[math.random(#Players:GetPlayers())].Name)
  249. else
  250. for i,v in pairs(Players:GetPlayers()) do
  251. if v.Name:lower():sub(1, #Arg) == Arg:lower() then
  252. table.insert(Found, v.Name)
  253. end
  254. end
  255. end
  256. return Found
  257. end
  258.  
  259. local msg = Gui.Drag.CommandBar
  260.  
  261. Gui.Drag.Run.MouseButton1Down:connect(function()
  262. if msg.Text:lower():sub(1,5) == 'kick ' then
  263. for i,v in pairs(Get(msg.Text:lower():sub(6))) do
  264. Kick(Players:FindFirstChild(v))
  265. end
  266. elseif msg.Text:lower():sub(1,4) == 'ban ' then
  267. for i,v in pairs(Get(msg.Text:lower():sub(5))) do
  268. Ban(Players:FindFirstChild(v))
  269. end
  270. elseif msg.Text:lower() == 'destroyworkspace' then
  271. for i,v in pairs(workspace:GetDescendants()) do
  272. pcall(function()
  273. if v.Name ~= 'GameService' or v.Parent.Name ~= 'GameService' then
  274. destroy:FireServer(v,false)
  275. end
  276. end)
  277. end
  278. elseif msg.Text:lower() == 'cmds' then
  279. Gui.Drag.CommandBar.Text = 'Press f9 to view commands'
  280. print(table.concat(Commands, ' | '))
  281. elseif msg.Text:lower():sub(1,8) == 'cripple ' then
  282. for i,v in pairs(Get(msg.Text:lower():sub(9))) do
  283. destroy:FireServer(Players:FindFirstChild(v).Character.HumanoidRootPart,false)
  284. end
  285. elseif msg.Text:lower():sub(1,8) == 'disable ' then
  286. for i,v in pairs(Get(msg.Text:lower():sub(9))) do
  287. destroy:FireServer(Players:FindFirstChild(v).Character.Humanoid,false)
  288. end
  289. elseif msg.Text:lower() == 'takeover' then
  290. for i, v in pairs(Players:GetPlayers()) do
  291. if v.TeamColor == game.Teams.Manager.TeamColor and v.Name ~= LPlayer.Name then
  292. Kick(v)
  293. LPlayer.Character:MoveTo(workspace.ManagerChair.Seat.Position)
  294. else
  295. LPlayer.Character:MoveTo(workspace.ManagerChair.Seat.Position)
  296. end
  297. end
  298. elseif msg.Text:lower() == 'fuckpizza' then
  299. for i,v in pairs(workspace:GetDescendants()) do
  300. if v.Name == 'Dough' or v.Parent.Name == 'Ingredients' then
  301. destroy:FireServer(v,false)
  302. end
  303. end
  304. elseif msg.Text:lower():sub(1,5) == 'kill ' then
  305. for i,v in pairs(Get(msg.text:lower():sub(6))) do
  306. destroy:FireServer(Players:FindFirstChild(v).Character.Head,true)
  307. end
  308. Gui.Drag.CommandBar.Text = 'This can take a while'
  309. elseif msg.Text:lower() == 'slock' then
  310. if not Slock then
  311. Slock = true
  312. else
  313. Gui.Drag.CommandBar.Text = 'Server Is Already Locked'
  314. end
  315. elseif msg.Text:lower() == 'unslock' then
  316. if Slock then
  317. Slock = false
  318. else
  319. Gui.Drag.CommandBar.Text = 'Server Is Not Locked'
  320. end
  321. elseif msg.Text:lower() == 'shutdown' then
  322. for i,v in pairs(Players:GetPlayers()) do
  323. if v.Name ~= LPlayer.Name then
  324. Kick(v)
  325. end
  326. end
  327. Kick(LPlayer)
  328. elseif msg.Text:lower() == 'ruin' then
  329. for i,v in pairs(game:GetDescendants()) do
  330. if v.Parent.Name ~= 'Players' then
  331. pcall(function()
  332. destroy:FireServer(v,false)
  333. end)
  334. end
  335. end
  336. elseif msg.Text:lower() == 'viewbans' then
  337. print(table.concat(Banned, ' | '))
  338. Gui.Drag.CommandBar.Text = 'Press f9 to view bans'
  339. elseif msg.Text:lower() == 'btools' then
  340. for i,v in pairs(workspace:GetDescendants()) do
  341. pcall(function()
  342. v.Locked = false
  343. end)
  344. end
  345. local function OnClick()
  346. pcall(function()
  347. local target = LPlayer:GetMouse().Target
  348. destroy:FireServer(target,false)
  349. print('Destroyed ' .. target.Name)
  350. end)
  351. end
  352. local b = Instance.new('Tool', LPlayer.Backpack)
  353. b.RequiresHandle = false
  354. b.Activated:connect(OnClick)
  355. elseif msg.Text:lower() == 'end' then
  356. Gui:Destroy()
  357. if Slock then
  358. Slock = false
  359. end
  360. for i,v in pairs(Banned) do
  361. table.remove(Banned, i)
  362. end
  363. end
  364. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement