Rxcket

Admin Script Prison Life

Jul 26th, 2021 (edited)
1,020
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 124.46 KB | None | 0 0
  1. local CmdGui = Instance.new("ScreenGui")
  2. local Background = Instance.new("Frame")
  3. local CmdName = Instance.new("TextLabel")
  4. local FindCmd = Instance.new("TextBox")
  5. local CmdHandler = Instance.new("ScrollingFrame")
  6. local CmdText = Instance.new("TextButton")
  7. local UIListLayout = Instance.new("UIListLayout")
  8. local Background2 = Instance.new("Frame")
  9. local Label = Instance.new("TextLabel")
  10. local Execute = Instance.new("TextBox")
  11. local Minimum = Instance.new("TextButton")
  12. local Close = Instance.new("TextButton")
  13. local Background3 = Instance.new("Frame")
  14. local Topbar = Instance.new("TextLabel")
  15. local CmdTitle = Instance.new("TextLabel")
  16. local Background4 = Instance.new("Frame")
  17. local Notify6 = Instance.new("TextLabel")
  18. local Notify5 = Instance.new("TextLabel")
  19. local Notify4 = Instance.new("TextLabel")
  20. local Notify3 = Instance.new("TextLabel")
  21. local Notify2 = Instance.new("TextLabel")
  22. local Notify1 = Instance.new("TextLabel")
  23. local CloseBar = Instance.new("TextButton")
  24. local TransparencyBar = Instance.new("TextButton")
  25. local Prefix = ";"
  26.  
  27. CmdGui.Name = "CmdGui"
  28. CmdGui.Parent = game:GetService("CoreGui")
  29. CmdGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  30.  
  31. Background.Name = "Background"
  32. Background.Parent = CmdGui
  33. Background.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
  34. Background.BorderSizePixel = 0
  35. Background.Position = UDim2.new(0.368556708, 0, 0.11490047, 0)
  36. Background.Size = UDim2.new(0, 350, 0, 350)
  37. Background.Active = true
  38. Background.Draggable = true
  39.  
  40. CmdName.Name = "CmdName"
  41. CmdName.Parent = Background
  42. CmdName.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
  43. CmdName.BorderSizePixel = 0
  44. CmdName.Size = UDim2.new(0, 350, 0, 25)
  45. CmdName.Font = Enum.Font.GothamBlack
  46. CmdName.Text = "Commands"
  47. CmdName.TextColor3 = Color3.fromRGB(255, 255, 255)
  48. CmdName.TextScaled = true
  49. CmdName.TextSize = 14.000
  50. CmdName.TextWrapped = true
  51.  
  52. FindCmd.Name = "FindCmd"
  53. FindCmd.Parent = Background
  54. FindCmd.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
  55. FindCmd.BorderColor3 = Color3.fromRGB(0, 255, 0)
  56. FindCmd.BorderSizePixel = 0
  57. FindCmd.Position = UDim2.new(0.0714285746, 0, 0.0702347234, 0)
  58. FindCmd.Size = UDim2.new(0, 300, 0, 20)
  59. FindCmd.Font = Enum.Font.SourceSans
  60. FindCmd.PlaceholderColor3 = Color3.fromRGB(255, 255, 255)
  61. FindCmd.PlaceholderText = "Search For Command"
  62. FindCmd.Text = ""
  63. FindCmd.TextColor3 = Color3.fromRGB(255, 255, 255)
  64. FindCmd.TextSize = 14.000
  65. FindCmd.TextWrapped = true
  66.  
  67. CmdHandler.Name = "CmdHandler"
  68. CmdHandler.Parent = Background
  69. CmdHandler.Active = true
  70. CmdHandler.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  71. CmdHandler.BackgroundTransparency = 1.000
  72. CmdHandler.BorderSizePixel = 0
  73. CmdHandler.AutomaticCanvasSize = "Y"
  74. CmdHandler.Position = UDim2.new(0.0714285746, 0, 0.142857149, 0)
  75. CmdHandler.Size = UDim2.new(0, 300, 0, 290)
  76. CmdHandler.ScrollBarThickness = 2
  77.  
  78. CmdText.Name = "CmdText"
  79. CmdText.Parent = nil
  80. CmdText.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  81. CmdText.BackgroundTransparency = 1.000
  82. CmdText.BorderSizePixel = 0
  83. CmdText.Size = UDim2.new(0, 300, 0, 25)
  84. CmdText.Font = Enum.Font.SourceSans
  85. CmdText.Text = "Text"
  86. CmdText.TextColor3 = Color3.fromRGB(255, 255, 255)
  87. CmdText.TextScaled = true
  88. CmdText.TextSize = 14.000
  89. CmdText.TextWrapped = true
  90.  
  91. UIListLayout.Parent = CmdHandler
  92. UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
  93.  
  94. Minimum.Name = "Minimum"
  95. Minimum.Parent = Background
  96. Minimum.BackgroundColor3 = Color3.fromRGB(0, 155, 155)
  97. Minimum.BorderSizePixel = 0
  98. Minimum.Position = UDim2.new(0.842857122, 0, 0.00571428565, 0)
  99. Minimum.Size = UDim2.new(0, 20, 0, 20)
  100. Minimum.Font = Enum.Font.SourceSans
  101. Minimum.Text = ""
  102. Minimum.TextColor3 = Color3.fromRGB(255, 255, 255)
  103. Minimum.TextSize = 14.000
  104. Minimum.MouseButton1Click:Connect(function()
  105. if Background.BackgroundTransparency == 0 then
  106. Background.BackgroundTransparency = 1
  107. Background.Size = UDim2.new(0, 350, 0, 25)
  108. FindCmd.Visible = false
  109. CmdHandler.Visible = false
  110. elseif Background.BackgroundTransparency == 1 then
  111. Background.BackgroundTransparency = 0
  112. Background.Size = UDim2.new(0, 350, 0, 350)
  113. FindCmd.Visible = true
  114. CmdHandler.Visible = true
  115. end
  116. end)
  117.  
  118. Close.Name = "Close"
  119. Close.Parent = Background
  120. Close.BackgroundColor3 = Color3.fromRGB(155, 0, 0)
  121. Close.BorderSizePixel = 0
  122. Close.Position = UDim2.new(0.928571403, 0, 0.00571428565, 0)
  123. Close.Size = UDim2.new(0, 20, 0, 20)
  124. Close.Font = Enum.Font.SourceSans
  125. Close.Text = ""
  126. Close.TextColor3 = Color3.fromRGB(255, 255, 255)
  127. Close.TextSize = 14.000
  128. Close.MouseButton1Click:Connect(function()
  129. Background.Visible = false
  130. end)
  131.  
  132. -- New
  133.  
  134. Background2.Name = "Background"
  135. Background2.Parent = CmdGui
  136. Background2.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
  137. Background2.BorderSizePixel = 0
  138. Background2.Position = UDim2.new(0.012, 0, 0.807, 0)
  139. Background2.Size = UDim2.new(0, 250, 0, 80)
  140. Background2.Active = true
  141. Background2.Draggable = true
  142.  
  143. Label.Name = "Label"
  144. Label.Parent = Background2
  145. Label.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
  146. Label.BorderSizePixel = 0
  147. Label.Position = UDim2.new(0, 0, 0, 0)
  148. Label.Size = UDim2.new(0, 250, 0, 25)
  149. Label.Font = Enum.Font.GothamBlack
  150. Label.Text = "Execute Bar"
  151. Label.TextColor3 = Color3.fromRGB(255, 255, 255)
  152. Label.TextScaled = true
  153. Label.TextSize = 14.000
  154. Label.TextWrapped = true
  155.  
  156. Execute.Name = "Execute"
  157. Execute.Parent = Background2
  158. Execute.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
  159. Execute.BorderColor3 = Color3.fromRGB(0, 255, 0)
  160. Execute.Position = UDim2.new(0.097, 0, 0.436, 0)
  161. Execute.Size = UDim2.new(0, 200, 0, 30)
  162. Execute.Font = Enum.Font.SourceSans
  163. Execute.PlaceholderColor3 = Color3.fromRGB(255, 255, 255)
  164. Execute.PlaceholderText = "Press "..Prefix.." To Enter"
  165. Execute.Text = ""
  166. Execute.TextColor3 = Color3.fromRGB(255, 255, 255)
  167. Execute.TextSize = 16.000
  168. Execute.TextWrapped = true
  169.  
  170. Background3.Name = "Background3"
  171. Background3.Parent = CmdGui
  172. Background3.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
  173. Background3.BorderSizePixel = 0
  174. Background3.Position = UDim2.new(0.306701034, 0, 0.288421065, 0)
  175. Background3.Size = UDim2.new(0, 200, 0, 100)
  176. Background3.Active = true
  177. Background3.Visible = false
  178.  
  179. Topbar.Name = "Topbar"
  180. Topbar.Parent = Background3
  181. Topbar.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
  182. Topbar.BorderSizePixel = 0
  183. Topbar.Size = UDim2.new(0, 200, 0, 25)
  184. Topbar.Font = Enum.Font.GothamBlack
  185. Topbar.Text = ""
  186. Topbar.TextColor3 = Color3.fromRGB(255, 255, 255)
  187. Topbar.TextScaled = true
  188. Topbar.TextSize = 14.000
  189. Topbar.TextWrapped = true
  190.  
  191. CmdTitle.Name = "CmdTitle"
  192. CmdTitle.Parent = Background3
  193. CmdTitle.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
  194. CmdTitle.BackgroundTransparency = 1.000
  195. CmdTitle.BorderSizePixel = 0
  196. CmdTitle.Position = UDim2.new(0.0500000007, 0, 0.379999995, 0)
  197. CmdTitle.Size = UDim2.new(0, 180, 0, 40)
  198. CmdTitle.Font = Enum.Font.GothamBlack
  199. CmdTitle.Text = ""
  200. CmdTitle.TextColor3 = Color3.fromRGB(255, 255, 255)
  201. CmdTitle.TextSize = 14.000
  202. CmdTitle.TextWrapped = true
  203.  
  204. Background4.Name = "Background4"
  205. Background4.Parent = CmdGui
  206. Background4.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
  207. Background4.BorderSizePixel = 0
  208. Background4.Position = UDim2.new(0.0154639352, 0, 0.519107938, 0)
  209. Background4.Size = UDim2.new(0, 250, 0, 119)
  210. Background4.Active = true
  211. Background4.Draggable = true
  212.  
  213. Notify6.Name = "Notify6"
  214. Notify6.Parent = Background4
  215. Notify6.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
  216. Notify6.BackgroundTransparency = 1.000
  217. Notify6.BorderSizePixel = 0
  218. Notify6.Position = UDim2.new(0, 0, -0.00512820482, 0)
  219. Notify6.Size = UDim2.new(0, 250, 0, 20)
  220. Notify6.Font = Enum.Font.GothamBlack
  221. Notify6.Text = ""
  222. Notify6.TextColor3 = Color3.fromRGB(255, 255, 255)
  223. Notify6.TextScaled = true
  224. Notify6.TextSize = 14.000
  225. Notify6.TextWrapped = true
  226.  
  227. Notify5.Name = "Notify5"
  228. Notify5.Parent = Background4
  229. Notify5.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
  230. Notify5.BackgroundTransparency = 1.000
  231. Notify5.BorderSizePixel = 0
  232. Notify5.Position = UDim2.new(0, 0, 0.162939027, 0)
  233. Notify5.Size = UDim2.new(0, 250, 0, 20)
  234. Notify5.Font = Enum.Font.GothamBlack
  235. Notify5.Text = ""
  236. Notify5.TextColor3 = Color3.fromRGB(255, 255, 255)
  237. Notify5.TextScaled = true
  238. Notify5.TextSize = 14.000
  239. Notify5.TextWrapped = true
  240.  
  241. Notify4.Name = "Notify4"
  242. Notify4.Parent = Background4
  243. Notify4.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
  244. Notify4.BackgroundTransparency = 1.000
  245. Notify4.BorderSizePixel = 0
  246. Notify4.Position = UDim2.new(0, 0, 0.331006259, 0)
  247. Notify4.Size = UDim2.new(0, 250, 0, 20)
  248. Notify4.Font = Enum.Font.GothamBlack
  249. Notify4.Text = ""
  250. Notify4.TextColor3 = Color3.fromRGB(255, 255, 255)
  251. Notify4.TextScaled = true
  252. Notify4.TextSize = 14.000
  253. Notify4.TextWrapped = true
  254.  
  255. Notify3.Name = "Notify3"
  256. Notify3.Parent = Background4
  257. Notify3.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
  258. Notify3.BackgroundTransparency = 1.000
  259. Notify3.BorderSizePixel = 0
  260. Notify3.Position = UDim2.new(0, 0, 0.499073505, 0)
  261. Notify3.Size = UDim2.new(0, 250, 0, 20)
  262. Notify3.Font = Enum.Font.GothamBlack
  263. Notify3.Text = ""
  264. Notify3.TextColor3 = Color3.fromRGB(255, 255, 255)
  265. Notify3.TextScaled = true
  266. Notify3.TextSize = 14.000
  267. Notify3.TextWrapped = true
  268.  
  269. Notify2.Name = "Notify2"
  270. Notify2.Parent = Background4
  271. Notify2.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
  272. Notify2.BackgroundTransparency = 1.000
  273. Notify2.BorderSizePixel = 0
  274. Notify2.Position = UDim2.new(0, 0, 0.667140722, 0)
  275. Notify2.Size = UDim2.new(0, 250, 0, 20)
  276. Notify2.Font = Enum.Font.GothamBlack
  277. Notify2.Text = ""
  278. Notify2.TextColor3 = Color3.fromRGB(255, 255, 255)
  279. Notify2.TextScaled = true
  280. Notify2.TextSize = 14.000
  281. Notify2.TextWrapped = true
  282.  
  283. Notify1.Name = "Notify1"
  284. Notify1.Parent = Background4
  285. Notify1.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
  286. Notify1.BackgroundTransparency = 1.000
  287. Notify1.BorderSizePixel = 0
  288. Notify1.Position = UDim2.new(0, 0, 0.835207999, 0)
  289. Notify1.Size = UDim2.new(0, 250, 0, 20)
  290. Notify1.Font = Enum.Font.GothamBlack
  291. Notify1.Text = ""
  292. Notify1.TextColor3 = Color3.fromRGB(255, 255, 255)
  293. Notify1.TextScaled = true
  294. Notify1.TextSize = 14.000
  295. Notify1.TextWrapped = true
  296.  
  297. CloseBar.Name = "CloseBar"
  298. CloseBar.Parent = Background4
  299. CloseBar.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
  300. CloseBar.BorderSizePixel = 0
  301. CloseBar.Position = UDim2.new(0.899999976, 0, -0.210084036, 0)
  302. CloseBar.Size = UDim2.new(0, 25, 0, 25)
  303. CloseBar.Font = Enum.Font.GothamBlack
  304. CloseBar.Text = "X"
  305. CloseBar.TextColor3 = Color3.fromRGB(255, 255, 255)
  306. CloseBar.TextScaled = true
  307. CloseBar.TextSize = 14.000
  308. CloseBar.TextWrapped = true
  309. CloseBar.MouseButton1Click:Connect(function()
  310. Background4.Visible = false
  311. end)
  312.  
  313. TransparencyBar.Name = "TransparencyBar"
  314. TransparencyBar.Parent = Background4
  315. TransparencyBar.BackgroundColor3 = Color3.fromRGB(0, 255, 255)
  316. TransparencyBar.BorderSizePixel = 0
  317. TransparencyBar.Position = UDim2.new(0.799999952, 0, -0.210084036, 0)
  318. TransparencyBar.Size = UDim2.new(0, 25, 0, 25)
  319. TransparencyBar.Font = Enum.Font.GothamBlack
  320. TransparencyBar.Text = "="
  321. TransparencyBar.TextColor3 = Color3.fromRGB(255, 255, 255)
  322. TransparencyBar.TextScaled = true
  323. TransparencyBar.TextSize = 14.000
  324. TransparencyBar.TextWrapped = true
  325. TransparencyBar.MouseButton1Click:Connect(function()
  326. if TransparencyBar.Text == "=" then
  327. Background4.BackgroundTransparency = 0.750
  328. CloseBar.BackgroundTransparency = 0.750
  329. TransparencyBar.BackgroundTransparency = 0.750
  330. TransparencyBar.Text = "+"
  331. else
  332. Background4.BackgroundTransparency = 0.000
  333. CloseBar.BackgroundTransparency = 0.000
  334. TransparencyBar.BackgroundTransparency = 0.000
  335. TransparencyBar.Text = "="
  336. end
  337. end)
  338.  
  339. local Versions = "5.0"
  340. local Cmd = {}
  341.  
  342. Cmd[#Cmd + 1] = {Text = "versions "..Versions,Title = "Script versions"}
  343. Cmd[#Cmd + 1] = {Text = "script by LocalPlayer#7434",Title = "Script owner"}
  344. Cmd[#Cmd + 1] = {Text = "cmd / cmds",Title = "Show commands bar"}
  345. Cmd[#Cmd + 1] = {Text = "rejoin / rj",Title = "Rejoin the game"}
  346. Cmd[#Cmd + 1] = {Text = "leave / leaveserver / quit",Title = "Leave the server"}
  347. Cmd[#Cmd + 1] = {Text = "admin / giveadmin [plr]",Title = "Give a commands to player"}
  348. Cmd[#Cmd + 1] = {Text = "unadmin / removeadmin [plr]",Title = "Remove a commands from player"}
  349. Cmd[#Cmd + 1] = {Text = "kill [plr]",Title = "Kill the player"}
  350. Cmd[#Cmd + 1] = {Text = "killall",Title = "Kill all players"}
  351. Cmd[#Cmd + 1] = {Text = "killguard / killsguard",Title = "Kill all guards"}
  352. Cmd[#Cmd + 1] = {Text = "killinmate / killsinmate",Title = "Kill all inmates"}
  353. Cmd[#Cmd + 1] = {Text = "killcriminal / killscriminal",Title = "Kill all criminals"}
  354. Cmd[#Cmd + 1] = {Text = "tase [plr]",Title = "Tase the player"}
  355. Cmd[#Cmd + 1] = {Text = "loopkill / loopkills [plr]",Title = "Loop kills player"}
  356. Cmd[#Cmd + 1] = {Text = "unloopkill / unloopkills [plr]",Title = "Unloop kills player"}
  357. Cmd[#Cmd + 1] = {Text = "loopkillall / loopkillsall",Title = "Loop kills all players"}
  358. Cmd[#Cmd + 1] = {Text = "loopkillguard / loopkillsguard",Title = "Loop kills all guards"}
  359. Cmd[#Cmd + 1] = {Text = "loopkillinmate / loopkillinmates",Title = "Loop kills all inmates"}
  360. Cmd[#Cmd + 1] = {Text = "loopkillcriminal / loopkillcriminals",Title = "Loop kills all criminals"}
  361. Cmd[#Cmd + 1] = {Text = "unloopkillall / unloopkillsall",Title = "Unloop kills all players"}
  362. Cmd[#Cmd + 1] = {Text = "unloopkillguard / unloopkillsguard",Title = "Unloop kills all guards"}
  363. Cmd[#Cmd + 1] = {Text = "unloopkillinmate / unloopkillinmates",Title = "Unloop kills all inmates"}
  364. Cmd[#Cmd + 1] = {Text = "unloopkillcriminal / unloopkillcriminals",Title = "Unloop kills all criminals"}
  365. Cmd[#Cmd + 1] = {Text = "inmate / inmates / prisoner / prisoners",Title = "Become inmate team"}
  366. Cmd[#Cmd + 1] = {Text = "guard / guards / cop / polices",Title = "Become guard team"}
  367. Cmd[#Cmd + 1] = {Text = "crim / criminals / criminal",Title = "Become criminal team"}
  368. Cmd[#Cmd + 1] = {Text = "neutral / neutrals",Title = "Become neutral team"}
  369. Cmd[#Cmd + 1] = {Text = "re / refresh",Title = "Respawn on old position"}
  370. Cmd[#Cmd + 1] = {Text = "res / respawn",Title = "Respawn on respawn pads"}
  371. Cmd[#Cmd + 1] = {Text = "goto / to [plr]",Title = "Teleports to the player"}
  372. Cmd[#Cmd + 1] = {Text = "bring [plr]",Title = "Teleports player to you"}
  373. Cmd[#Cmd + 1] = {Text = "tp / teleport [plr] [plr2]",Title = "Teleports player to another player"}
  374. Cmd[#Cmd + 1] = {Text = "arrest [plr] [time]",Title = "Arrest player that is a criminal"}
  375. Cmd[#Cmd + 1] = {Text = "arrestall / arrestothers",Title = "Arrest all criminals"}
  376. Cmd[#Cmd + 1] = {Text = "spamarrest / looparrest [plr]",Title = "Spam arrest player & lag player and server"}
  377. Cmd[#Cmd + 1] = {Text = "unspamarrest / unlooparrest [plr]",Title = "Stop spam arrest player"}
  378. Cmd[#Cmd + 1] = {Text = "clearloopkill / clearloopkills",Title = "clear all loop kills table"}
  379. Cmd[#Cmd + 1] = {Text = "auto / autore / autorefresh",Title = "Auto respawn on old position when died"}
  380. Cmd[#Cmd + 1] = {Text = "unauto / unautore / unautorefresh",Title = "Stop auto respawn on old position when died"}
  381. Cmd[#Cmd + 1] = {Text = "killaura",Title = "Activate kill aura"}
  382. Cmd[#Cmd + 1] = {Text = "nokillaura / unkillaura",Title = "Unactivate kill aura"}
  383. Cmd[#Cmd + 1] = {Text = "antifling",Title = "Activate anti fling"}
  384. Cmd[#Cmd + 1] = {Text = "unantifling",Title = "Unactivate anti fling"}
  385. Cmd[#Cmd + 1] = {Text = "god",Title = "Become a god mode"}
  386. Cmd[#Cmd + 1] = {Text = "ungod",Title = "Unbecome a god mode"}
  387. Cmd[#Cmd + 1] = {Text = "view / spectate / watch [plr]",Title = "Spectates the player"}
  388. Cmd[#Cmd + 1] = {Text = "unview / unspectate / stopwatch",Title = "Unspectates the player"}
  389. Cmd[#Cmd + 1] = {Text = "fastpunch / speedpunchh",Title = "Activate fast punch"}
  390. Cmd[#Cmd + 1] = {Text = "slowpunch / nofastpunch / normalspeedpunch",Title = "unactivate fast punch"}
  391. Cmd[#Cmd + 1] = {Text = "superpunch / onepunch",Title = "Activate super punch"}
  392. Cmd[#Cmd + 1] = {Text = "nosuperpunch / normalpunch",Title = "Unactivate super punch"}
  393. Cmd[#Cmd + 1] = {Text = "prefix / newprefix / changeprefix [prefix text]",Title = "Changes prefix"}
  394. Cmd[#Cmd + 1] = {Text = "red",Title = "Changes name tag color to red color"}
  395. Cmd[#Cmd + 1] = {Text = "antilag / boostfps",Title = "Boost a little fps"}
  396. Cmd[#Cmd + 1] = {Text = "unantilag",Title = "Stop boost the fps"}
  397. Cmd[#Cmd + 1] = {Text = "noclip / noclips",Title = "Activate no clips"}
  398. Cmd[#Cmd + 1] = {Text = "clip / clips",Title = "Unactivate no clips"}
  399. Cmd[#Cmd + 1] = {Text = "orange",Title = "Changes name tag color to orange color"}
  400. Cmd[#Cmd + 1] = {Text = "blue",Title = "Changes name tag color to blue color"}
  401. Cmd[#Cmd + 1] = {Text = "black",Title = "Changes name tag color to black color"}
  402. Cmd[#Cmd + 1] = {Text = "purple",Title = "Changes name tag color to purple color"}
  403. Cmd[#Cmd + 1] = {Text = "brown",Title = "Changes name tag color to brown color"}
  404. Cmd[#Cmd + 1] = {Text = "white",Title = "Changes name tag color to white color"}
  405. Cmd[#Cmd + 1] = {Text = "pink",Title = "Changes name tag color to pink color"}
  406. Cmd[#Cmd + 1] = {Text = "grey",Title = "Changes name tag color to grey color"}
  407. Cmd[#Cmd + 1] = {Text = "green",Title = "Changes name tag color to green color"}
  408. Cmd[#Cmd + 1] = {Text = "yellow",Title = "Changes name tag color to yellow color"}
  409. Cmd[#Cmd + 1] = {Text = "getpos",Title = "Prints positions"}
  410. Cmd[#Cmd + 1] = {Text = "unload / destroygui",Title = "Unload the scripts"}
  411. Cmd[#Cmd + 1] = {Text = "reload / update",Title = "Reload the script to new version"}
  412. Cmd[#Cmd + 1] = {Text = "How to open console?",Title = "To open console chat /console or press F9 or Fn + F9"}
  413. Cmd[#Cmd + 1] = {Text = "lagserver / disconnect",Title = "Lag server and disconnect after 5 minutes of lagging"}
  414. Cmd[#Cmd + 1] = {Text = "unlagserver / undisconnect",Title = "Stop lag server"}
  415. Cmd[#Cmd + 1] = {Text = "speed / setspeed / walkspeed [count]",Title = "Changes walk speeds"}
  416. Cmd[#Cmd + 1] = {Text = "jumppower / setjumppower [count]",Title = "Changes jump powers"}
  417. Cmd[#Cmd + 1] = {Text = "hipheight / sethipheight [count]",Title = "Changes hip heights"}
  418. Cmd[#Cmd + 1] = {Text = "gravity / setgravity [count]",Title = "Changes gravity"}
  419. Cmd[#Cmd + 1] = {Text = "resetspeed / resetwalkspeed",Title = "Reset walk speeds"}
  420. Cmd[#Cmd + 1] = {Text = "resetjumppower / rejumppower",Title = "Reset jump powers"}
  421. Cmd[#Cmd + 1] = {Text = "resethipheight / rehipheight",Title = "Reset hip heights"}
  422. Cmd[#Cmd + 1] = {Text = "resetgravity / regravity",Title = "Reset gravity"}
  423. Cmd[#Cmd + 1] = {Text = "makecrim [plr]",Title = "Make the player become a criminal"}
  424. Cmd[#Cmd + 1] = {Text = "makecrimall",Title = "Make all players become a criminals"}
  425. Cmd[#Cmd + 1] = {Text = "loopbring [plr]",Title = "Loop bring player"}
  426. Cmd[#Cmd + 1] = {Text = "unloopbring ",Title = "Unloop bring player"}
  427. Cmd[#Cmd + 1] = {Text = "baseballbat / bat",Title = "Gets bat"}
  428. Cmd[#Cmd + 1] = {Text = "superknife",Title = "Gets super knife"}
  429. Cmd[#Cmd + 1] = {Text = "firespeed / setfirespeed [count]",Title = "Changes fire speed for the gun"}
  430. Cmd[#Cmd + 1] = {Text = "autofire",Title = "Changes gun ststes to auto fire"}
  431. Cmd[#Cmd + 1] = {Text = "semifire",Title = "Changes gun ststes to semi fire"}
  432. Cmd[#Cmd + 1] = {Text = "burst / burstbullets / bullets [count]",Title = "Changes a bullets for the gun will come out when shot"}
  433. Cmd[#Cmd + 1] = {Text = "reloadtime / reloadtimes [count]",Title = "Changes reload times for the gun"}
  434. Cmd[#Cmd + 1] = {Text = "gun / guns / allguns",Title = "Obtains all guns"}
  435. Cmd[#Cmd + 1] = {Text = "autogun / autoguns / autoallguns",Title = "Activate auto gun when respawned"}
  436. Cmd[#Cmd + 1] = {Text = "unautogun / unautoguns / unautoallguns",Title = "Unactivate auto gun when respawned"}
  437. Cmd[#Cmd + 1] = {Text = "taserbypass / antitaser / lock",Title = "Bypass taser when got tased"}
  438. Cmd[#Cmd + 1] = {Text = "untaserbypass / notaserbypass / unlock",Title = "Unbypass taser when got tased"}
  439. Cmd[#Cmd + 1] = {Text = "nodoors / deletedoors",Title = "Deletes all doors"}
  440. Cmd[#Cmd + 1] = {Text = "restoredoors / doors",Title = "Restores all doors"}
  441. Cmd[#Cmd + 1] = {Text = "nowalls / deletewalls - delete walls",Title = "Deletes all walls"}
  442. Cmd[#Cmd + 1] = {Text = "walls / restorewalls - restore walls",Title = "Restore all walls"}
  443. Cmd[#Cmd + 1] = {Text = "anticrash / antivest",Title = "Anti crash when someone spamming armor"}
  444. Cmd[#Cmd + 1] = {Text = "unanticrash / unantivest",Title = "Unanti crash when someone spamming armor"}
  445. Cmd[#Cmd + 1] = {Text = "antishield / noshield",Title = "Anti shield users"}
  446. Cmd[#Cmd + 1] = {Text = "unantishield",Title = "Unanti shield users"}
  447. Cmd[#Cmd + 1] = {Text = "gatetower",Title = "Teleports to the gate tower"}
  448. Cmd[#Cmd + 1] = {Text = "tower",Title = "Teleports to the yard tower"}
  449. Cmd[#Cmd + 1] = {Text = "sewer",Title = "Teleports to the sewer"}
  450. Cmd[#Cmd + 1] = {Text = "yard",Title = "Teleports to yard"}
  451. Cmd[#Cmd + 1] = {Text = "backnexus",Title = "Teleports to the back nexus"}
  452. Cmd[#Cmd + 1] = {Text = "nexus",Title = "Teleports to the nexus"}
  453. Cmd[#Cmd + 1] = {Text = "gate",Title = "Teleports to the gate"}
  454. Cmd[#Cmd + 1] = {Text = "findowner / checkscriptowner",Title = "Find a script owner in the server"}
  455. Cmd[#Cmd + 1] = {Text = "getplayer / getplayers",Title = "Get a players counts in the server"}
  456. Cmd[#Cmd + 1] = {Text = "rapidfire",Title = "Activate rapid fire"}
  457. Cmd[#Cmd + 1] = {Text = "autorapidfire",Title = "Auto activate rapid fire"}
  458. Cmd[#Cmd + 1] = {Text = "unautorapidfire",Title = "Unauto activate rapid fire"}
  459. Cmd[#Cmd + 1] = {Text = "armory",Title = "Teleports to the armory"}
  460. Cmd[#Cmd + 1] = {Text = "cafe - teleport to cafe",Title = "Teleports to the cafeteria"}
  461. Cmd[#Cmd + 1] = {Text = "crimbase / criminalbase",Title = "Teleports to the criminals base"}
  462. Cmd[#Cmd + 1] = {Text = "lunchroom",Title = "Teleports to the cafeteria room"}
  463. Cmd[#Cmd + 1] = {Text = "spamchat [delay]",Title = "Spam the chat"}
  464. Cmd[#Cmd + 1] = {Text = "unspamchat",Title = "Unspam the chat"}
  465. Cmd[#Cmd + 1] = {Text = "savepos / saveposition",Title = "Saves positions"}
  466. Cmd[#Cmd + 1] = {Text = "loadpos / loadposition",Title = "Loads positions"}
  467. Cmd[#Cmd + 1] = {Text = "notify",Title = "Send a message when player leave / join"}
  468. Cmd[#Cmd + 1] = {Text = "nonotify",Title = "Stop send a message when player leave / join"}
  469. Cmd[#Cmd + 1] = {Text = "copychat",Title = "Copies all players chats"}
  470. Cmd[#Cmd + 1] = {Text = "uncopychat",Title = "uncopies all players chats"}
  471. Cmd[#Cmd + 1] = {Text = "chatnotify",Title = "Chats when player leave / join"}
  472. Cmd[#Cmd + 1] = {Text = "unchatnotify / nochatnotify",Title = "Stop chat when player leave / join"}
  473. Cmd[#Cmd + 1] = {Text = "opengate",Title = "Open the gate"}
  474. Cmd[#Cmd + 1] = {Text = "antifell / antivoid",Title = "Activate anti fell to the void when respawn as custom team"}
  475. Cmd[#Cmd + 1] = {Text = "unantifell / unantivoid",Title = "Unactivate anti fell to the void when respawn as custom team"}
  476. Cmd[#Cmd + 1] = {Text = "beam [plr]",Title = "Shoot a beam to player"}
  477. Cmd[#Cmd + 1] = {Text = "lagbeam / beam2 [plr]",Title = "Shoot a beam to player but lag"}
  478. Cmd[#Cmd + 1] = {Text = "crash / beam3 [plr]",Title = "Shoot a beam to player but even more lag"}
  479. Cmd[#Cmd + 1] = {Text = "antispamarrest",Title = "Activate anti spam arrest"}
  480. Cmd[#Cmd + 1] = {Text = "unantispamarrest",Title = "Unactivate anti spam arrest"}
  481. Cmd[#Cmd + 1] = {Text = "!getprefix",Title = "If you for get prefix you can type this in chat"}
  482.  
  483. local Mouse = game.Players.LocalPlayer:GetMouse()
  484.  
  485. for i = 1,#Cmd do
  486. local clone = CmdText:Clone()
  487. clone.Text = Cmd[i].Text
  488. clone.Name = "COMMANDS"
  489. local Ins = Instance.new("StringValue", clone)
  490. Ins.Name = "Title"
  491. Ins.Value = Cmd[i].Title
  492. local Ins2 = Instance.new("StringValue", clone)
  493. Ins2.Name = "TopbarName"
  494. Ins2.Value = Cmd[i].Text:split(" ")[1]
  495. clone.Parent = CmdHandler
  496. clone.MouseButton1Click:Connect(function()
  497. Execute:CaptureFocus()
  498. Execute.Text = clone.Text:split(" ")[1]
  499. Execute.CursorPosition = #Execute.Text + 1
  500. end)
  501. end
  502.  
  503. Mouse.Move:Connect(function()
  504. local Guis = game:GetService("CoreGui"):GetGuiObjectsAtPosition(Mouse.X, Mouse.Y)
  505. local Gui
  506. for i,v in pairs(Guis) do
  507. if v.Parent == CmdHandler then
  508. Gui = v
  509. end
  510. end
  511. if Gui ~= nil then
  512. local PositionX
  513. local PositionY
  514. local X = Mouse.X
  515. local Y = Mouse.Y
  516. if Mouse.X > 200 then
  517. PositionX = Mouse.X - 201
  518. else
  519. PositionX = Mouse.X + 21
  520. end
  521. if Mouse.Y > (Mouse.ViewSizeY-96) then
  522. PositionY = Mouse.Y - 97
  523. else
  524. PositionY = Mouse.Y
  525. end
  526. Background3.Visible = true
  527. Background3.Position = UDim2.new(0, PositionX, 0, PositionY)
  528. Topbar.Text = Gui.TopbarName.Value
  529. CmdTitle.Text = Gui.Title.Value
  530. else
  531. Background3.Visible = false
  532. end
  533. end)
  534.  
  535. if DisableScript then
  536. DisableScript()
  537. end
  538.  
  539. local Slient = false
  540. local ScriptDisabled = false
  541. local LoopBeam = {}
  542. local LoopKill = {}
  543. local LoopTase = {}
  544. local Admin = {}
  545. local Watching = nil
  546. local States = {}
  547. local BuyGamepass = game:GetService("MarketplaceService"):UserOwnsGamePassAsync(tonumber((game:GetService("Players").LocalPlayer.CharacterAppearance):split('=')[#((game:GetService("Players").LocalPlayer.CharacterAppearance):split('='))]), 96651)
  548.  
  549. local function GetPlayer(String)
  550. if not String then return end
  551. local Yes = {}
  552. for _, Player in ipairs(game.Players:GetPlayers()) do
  553. if string.lower(Player.Name):match(string.lower(String)) or string.lower(Player.DisplayName):match(string.lower(String)) then
  554. table.insert(Yes, Player)
  555. end
  556. end
  557. if #Yes > 0 then
  558. return Yes[1]
  559. elseif #Yes < 1 then
  560. return nil
  561. end
  562. end
  563.  
  564. local function GetPos()
  565. return game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  566. end
  567.  
  568. local function GetCamPos()
  569. return workspace.CurrentCamera.CFrame
  570. end
  571.  
  572. local function GetTeam()
  573. return game.Players.LocalPlayer.TeamColor.Name
  574. end
  575.  
  576. function Goto(Player, Distance)
  577. local Distance = Distance or CFrame.new(0, 0, 0)
  578. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = Player.Character.HumanoidRootPart.CFrame * Distance
  579. end
  580.  
  581. function Split(Arguaments, Split)
  582. if not Arguaments or not Split then return end
  583. return Arguaments:split(Split)
  584. end
  585.  
  586. function ChatNotify(Message, Colors, Size)
  587. game.StarterGui:SetCore("ChatMakeSystemMessage", {
  588. Text = Message,
  589. Color = Colors or Color3.fromRGB(255, 255, 255),
  590. Font = Enum.Font.SourceSans,
  591. FontSize = Size or Enum.FontSize.Size48
  592. })
  593. end
  594.  
  595. function Chat(Message, Whisper)
  596. game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(Message, Whisper or "ALl")
  597. end
  598.  
  599. function WaitForChild(Time, Parent, Child)
  600. if not Parent or not Child then return end
  601. if Parent == "LocalPlayer" then Parent = game.Players.LocalPlayer end
  602. if Parent == "Character" then Parent = game.Players.LocalPlayer.Character end
  603. if Parent == "Backpack" then Parent = game.Players.LocalPlayer.Character.Backpack end
  604. local Times = Time * 10 or 1
  605. repeat wait(.1)
  606. Time = Time - 1
  607. until Parent:FindFirstChild(Child) or Time <= 0
  608. if Parent and Parent:FindFirstChild(Child) then
  609. return Parent:FindFirstChild(Child)
  610. else
  611. return nil
  612. end
  613. end
  614.  
  615. function Kill(Player)
  616. pcall(function()
  617. if Player.Character:FindFirstChild("ForceField") or not workspace:FindFirstChild(Player.Name) or not workspace:FindFirstChild(Player.Name):FindFirstChild("Head") or Player == nil or Player.Character.Parent ~= workspace then return end
  618. workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["Remington 870"].ITEMPICKUP)
  619.  
  620. local MyTeam = GetTeam()
  621. if Player.TeamColor.Name == game.Players.LocalPlayer.TeamColor.Name then
  622. local savedcf = GetPos()
  623. local savedcamcf = GetCamPos()
  624. workspace.Remote.loadchar:InvokeServer(nil, BrickColor.random().Name)
  625. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf
  626. workspace.CurrentCamera.CFrame = savedcamcf
  627. workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["Remington 870"].ITEMPICKUP)
  628. end
  629.  
  630. local Gun = game.Players.LocalPlayer.Character:FindFirstChild("Remington 870") or game.Players.LocalPlayer.Backpack:FindFirstChild("Remington 870")
  631.  
  632. local FireEvent = {
  633. [1] = {
  634. ["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),
  635. ["Distance"] = 0,
  636. ["Cframe"] = CFrame.new(),
  637. ["Hit"] = workspace[Player.Name].Head
  638. }, [2] = {
  639. ["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),
  640. ["Distance"] = 0,
  641. ["Cframe"] = CFrame.new(),
  642. ["Hit"] = workspace[Player.Name].Head
  643. }, [3] = {
  644. ["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),
  645. ["Distance"] = 0,
  646. ["Cframe"] = CFrame.new(),
  647. ["Hit"] = workspace[Player.Name].Head
  648. }, [4] = {
  649. ["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),
  650. ["Distance"] = 0,
  651. ["Cframe"] = CFrame.new(),
  652. ["Hit"] = workspace[Player.Name].Head
  653. }, [5] = {
  654. ["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),
  655. ["Distance"] = 0,
  656. ["Cframe"] = CFrame.new(),
  657. ["Hit"] = workspace[Player.Name].Head
  658. }, [6] = {
  659. ["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),
  660. ["Distance"] = 0,
  661. ["Cframe"] = CFrame.new(),
  662. ["Hit"] = workspace[Player.Name].Head
  663. }, [7] = {
  664. ["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),
  665. ["Distance"] = 0,
  666. ["Cframe"] = CFrame.new(),
  667. ["Hit"] = workspace[Player.Name].Head
  668. }, [8] = {
  669. ["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),
  670. ["Distance"] = 0,
  671. ["Cframe"] = CFrame.new(),
  672. ["Hit"] = workspace[Player.Name].Head
  673. }
  674. }
  675.  
  676. game:GetService("ReplicatedStorage").ShootEvent:FireServer(FireEvent, Gun)
  677. Gun.Parent = game.Players.LocalPlayer.Character
  678. game.Players.LocalPlayer.Character["Remington 870"]:Destroy()
  679. end)
  680. end
  681.  
  682. function Tase(Player)
  683. if Player.TeamColor.Name == "Bright blue" or not workspace:FindFirstChild(Player.Name) or not workspace:FindFirstChild(Player.Name):FindFirstChild("Head") or Player == nil or Player.Character.Parent ~= workspace then return end
  684. pcall(function()
  685. local savedcf = GetPos()
  686. local savedteam
  687.  
  688. local Gun = game.Players.LocalPlayer.Backpack:FindFirstChild("Taser") or game.Players.LocalPlayer.Character:FindFirstChild("Taser")
  689.  
  690. local changedteam = false
  691. if game.Players.LocalPlayer.TeamColor.Name ~= "Bright blue" or not Gun then
  692. savedteam = GetTeam()
  693. workspace.Remote.loadchar:InvokeServer(nil, BrickColor.new("Bright blue").Name)
  694. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf
  695. changedteam = true
  696. end
  697.  
  698. local Guns = game.Players.LocalPlayer.Backpack:FindFirstChild("Taser") or game.Players.LocalPlayer.Character:FindFirstChild("Taser")
  699.  
  700. local TaseEvent =
  701. {
  702. [1] =
  703. {
  704. ["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),
  705. ["Distance"] = 0,
  706. ["Cframe"] = CFrame.new(),
  707. ["Hit"] = workspace[Player.Name].Torso
  708. }
  709. }
  710.  
  711. game:GetService("ReplicatedStorage").ShootEvent:FireServer(TaseEvent, Guns)
  712. if changedteam then
  713. workspace.Remote.loadchar:InvokeServer(nil, BrickColor.new(savedteam).Name)
  714. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf
  715. end
  716. end)
  717. end
  718.  
  719. function Teleport(Player, Position)
  720. if Player == nil or Position == nil then return end
  721. local savedcf = GetPos()
  722. workspace.Remote.loadchar:InvokeServer()
  723. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf
  724. workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["M9"].ITEMPICKUP)
  725. local CHAR = game.Players.LocalPlayer.Character
  726. CHAR.Humanoid.Name = "1"
  727. local c = CHAR["1"]:Clone()
  728. c.Name = "Humanoid"
  729. c.Parent = CHAR
  730. CHAR["1"]:Destroy()
  731. game.Workspace.CurrentCamera.CameraSubject = CHAR
  732. CHAR.Animate.Disabled = true
  733. wait()
  734. CHAR.Animate.Disabled = false
  735. CHAR.Humanoid.DisplayDistanceType = "None"
  736. game.Players.LocalPlayer:FindFirstChild("Backpack"):FindFirstChild("M9").Parent = CHAR
  737. local STOP = 0
  738. repeat wait(.1)
  739. STOP = STOP + 1
  740. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = Player.Character.HumanoidRootPart.CFrame * CFrame.new(0, 0, 0.75)
  741. until (not game.Players.LocalPlayer.Character:FindFirstChild("M9") or not game.Players.LocalPlayer.Character.HumanoidRootPart or not Player.Character.HumanoidRootPart or not game.Players.LocalPlayer.Character.HumanoidRootPart.Parent or not Player.Character.HumanoidRootPart.Parent or STOP > 500) and STOP > 3
  742. local STOP_2 = 0
  743. repeat wait()
  744. STOP_2 = STOP_2 + 1
  745. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = Position
  746. until STOP_2 > 10
  747. workspace.Remote.loadchar:InvokeServer()
  748. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf
  749. end
  750.  
  751. function TeleportV(Player, Player2)
  752. if Player == nil or Player2 == nil then return end
  753. local savedcf = GetPos()
  754. workspace.Remote.loadchar:InvokeServer()
  755. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf
  756. workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["M9"].ITEMPICKUP)
  757. local CHAR = game.Players.LocalPlayer.Character
  758. CHAR.Humanoid.Name = "1"
  759. local c = CHAR["1"]:Clone()
  760. c.Name = "Humanoid"
  761. c.Parent = CHAR
  762. CHAR["1"]:Destroy()
  763. game.Workspace.CurrentCamera.CameraSubject = CHAR
  764. CHAR.Animate.Disabled = true
  765. wait()
  766. CHAR.Animate.Disabled = false
  767. CHAR.Humanoid.DisplayDistanceType = "None"
  768. game.Players.LocalPlayer:FindFirstChild("Backpack"):FindFirstChild("M9").Parent = CHAR
  769. local STOP = 0
  770. repeat wait(.1)
  771. STOP = STOP + 1
  772. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = Player.Character.HumanoidRootPart.CFrame * CFrame.new(0, 0, 0.75)
  773. until (not game.Players.LocalPlayer.Character:FindFirstChild("M9") or not game.Players.LocalPlayer.Character.HumanoidRootPart or not Player.Character.HumanoidRootPart or not game.Players.LocalPlayer.Character.HumanoidRootPart.Parent or not Player.Character.HumanoidRootPart.Parent or STOP > 500) and STOP > 3
  774. local STOP_2 = 0
  775. repeat wait()
  776. STOP_2 = STOP_2 + 1
  777. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = Player2.Character.HumanoidRootPart.CFrame
  778. until STOP_2 > 10
  779. workspace.Remote.loadchar:InvokeServer()
  780. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf
  781. end
  782.  
  783. function ArrestEvent(Player, Time)
  784. for i = 1,Time do
  785. workspace.Remote.arrest:InvokeServer(Player.Character.Head)
  786. end
  787. end
  788.  
  789. function Arrest(Player, Time)
  790. local Time = Time or 1
  791. local savedcf = GetPos()
  792. local savedcamcf = GetCamPos()
  793. local savedteam = GetTeam()
  794. if Player then
  795. repeat wait()
  796. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = Player.Character.HumanoidRootPart.CFrame * CFrame.new(0, 0, 1)
  797. for i = 1,Time do
  798. coroutine.wrap(function()
  799. workspace.Remote.arrest:InvokeServer(Player.Character.Head)
  800. end)()
  801. end
  802. until Player.Character:FindFirstChild("Head"):FindFirstChild("handcuffedGui")
  803. wait()
  804. end
  805. workspace.Remote.loadchar:InvokeServer(nil, BrickColor.new(savedteam).Name)
  806. game.Players.LocalPlayer.Character.Humanoid.Sit = false
  807. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf
  808. workspace.CurrentCamera.CFrame = savedcamcf
  809. end
  810.  
  811. function CreateBeam(Player, Distance, Position)
  812. if Player then
  813. pcall(function()
  814. local Backpack = game.Players.LocalPlayer.Backpack
  815. local Character = game.Players.LocalPlayer.Character
  816. local Gun = Backpack:FindFirstChild("Remington 870") or Character:FindFirstChild("Remington 870")
  817. if not Gun then
  818. workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["Remington 870"].ITEMPICKUP)
  819. end
  820. Gun = Backpack:FindFirstChild("Remington 870") or Character:FindFirstChild("Remington 870")
  821. local Head = Player.Character.Head
  822. if Head and Player and Character and Backpack and Gun and Distance and Position then
  823. game.ReplicatedStorage.ShootEvent:FireServer({
  824. {["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head},
  825. {["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head},
  826. {["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head},
  827. {["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head},
  828. {["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head},
  829. {["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head},
  830. {["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head},
  831. {["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head}
  832. }, Gun)
  833. end
  834. Gun.Parent = game.Players.LocalPlayer.Character
  835. game.Players.LocalPlayer.Character:FindFirstChild("Remington 870"):Destroy()
  836. end)
  837. end
  838. end
  839.  
  840. function CreateBeam2(Player, Distance, Position)
  841. if Player then
  842. pcall(function()
  843. local Backpack = game.Players.LocalPlayer.Backpack
  844. local Character = game.Players.LocalPlayer.Character
  845. local Gun = Backpack:FindFirstChild("AK-47") or Character:FindFirstChild("AK-47")
  846. if not Gun then
  847. workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["AK-47"].ITEMPICKUP)
  848. end
  849. Gun = Backpack:FindFirstChild("AK-47") or Character:FindFirstChild("AK-47")
  850. local Head = Player.Character.Head
  851. if Head and Player and Character and Backpack and Gun and Distance and Position then
  852. game.ReplicatedStorage.ShootEvent:FireServer({
  853. {["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head},
  854. {["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head},
  855. {["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head},
  856. {["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head},
  857. {["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head},
  858. {["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head},
  859. {["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head},
  860. {["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head},
  861. {["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head},
  862. {["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head},
  863. {["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head},
  864. {["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head},
  865. {["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head},
  866. {["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head},
  867. {["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head},
  868. {["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head},
  869. {["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head},
  870. {["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head},
  871. {["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head},
  872. {["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head},
  873. {["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head},
  874. {["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head},
  875. {["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head},
  876. {["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head},
  877. {["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head},
  878. {["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head},
  879. {["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head},
  880. {["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head},
  881. {["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head},
  882. {["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head},
  883. }, Gun)
  884. end
  885. Gun.Parent = game.Players.LocalPlayer.Character
  886. game.Players.LocalPlayer.Character:FindFirstChild("AK-47"):Destroy()
  887. end)
  888. end
  889. end
  890.  
  891. function CreateBeam3(Player, Distance, Position)
  892. if Player then
  893. pcall(function()
  894. local Backpack = game.Players.LocalPlayer.Backpack
  895. local Character = game.Players.LocalPlayer.Character
  896. local Gun = Backpack:FindFirstChild("M9") or Character:FindFirstChild("M9")
  897. if not Gun then
  898. workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["M9"].ITEMPICKUP)
  899. end
  900. Gun = Backpack:FindFirstChild("M9") or Character:FindFirstChild("M9")
  901. local Head = Player.Character.Head
  902. if Head and Player and Character and Backpack and Gun and Distance and Position then
  903. game.ReplicatedStorage.ShootEvent:FireServer({
  904. {["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head},
  905. {["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head},
  906. {["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head},
  907. {["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head},
  908. {["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head},
  909. {["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head},
  910. {["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head},
  911. {["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head},
  912. {["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head},
  913. {["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head},
  914. {["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head},
  915. {["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head},
  916. {["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head},
  917. {["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head},
  918. {["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head}
  919. }, Gun)
  920. end
  921. Gun.Parent = game.Players.LocalPlayer.Character
  922. game.Players.LocalPlayer.Character:FindFirstChild("M9"):Destroy()
  923. end)
  924. end
  925. end
  926.  
  927. function Beam(Player, Distance, Time)
  928. if Player and Distance then
  929. local RunService = game:GetService("RunService")
  930. RunService:BindToRenderStep(Player.Name, math.huge, function()
  931. coroutine.wrap(function()
  932. CreateBeam(Player, Distance, Player.Character.HumanoidRootPart.CFrame)
  933. end)()
  934. end)
  935. delay(Time, function()
  936. pcall(function()
  937. RunService:UnbindFromRenderStep(Player.Name)
  938. end)
  939. end)
  940. end
  941. end
  942.  
  943. function LagBeam(Player, Distance, Time)
  944. if Player and Distance then
  945. local RunService = game:GetService("RunService")
  946. RunService:BindToRenderStep(Player.Name, math.huge, function()
  947. coroutine.wrap(function()
  948. CreateBeam(Player, Distance, Player.Character.HumanoidRootPart.CFrame)
  949. end)()
  950. coroutine.wrap(function()
  951. CreateBeam2(Player, Distance, Player.Character.HumanoidRootPart.CFrame)
  952. end)()
  953. coroutine.wrap(function()
  954. CreateBeam3(Player, Distance, Player.Character.HumanoidRootPart.CFrame)
  955. end)()
  956. end)
  957. delay(Time, function()
  958. pcall(function()
  959. RunService:UnbindFromRenderStep(Player.Name)
  960. end)
  961. end)
  962. end
  963. end
  964.  
  965. function DetectMove(Player)
  966. local oldpos = Player.Character.HumanoidRootPart.CFrame
  967. local Move
  968. local Time = 0
  969. repeat wait(.1)
  970. Time = Time + 1
  971. if oldpos ~= Player.Character.HumanoidRootPart.CFrame then
  972. Move = true
  973. else
  974. Move = false
  975. end
  976. until (Time >= 500 and Move == false) or Move == true
  977. return Move
  978. end
  979.  
  980. function FeGodMode()
  981. game.Players.LocalPlayer.Character.Humanoid.Name = 1
  982. local l = game.Players.LocalPlayer.Character["1"]:Clone()
  983. l.Parent = game.Players.LocalPlayer.Character
  984. l.Name = "Humanoid"
  985. game.Players.LocalPlayer.Character.Animate.Disabled = true
  986. wait()
  987. game.Players.LocalPlayer.Character.Animate.Disabled = false
  988. game.Players.LocalPlayer.Character["1"]:Destroy()
  989. game.Workspace.CurrentCamera.CameraSubject = game.Players.LocalPlayer.Character
  990. end
  991.  
  992. local function GetPlayerPart(Player)
  993. if not Player then return end
  994. if Player:FindFirstChild("HumanoidRootPart") then
  995. return Player.HumanoidRootPart
  996. elseif Player:FindFirstChild("Torso") then
  997. return Player.Torso
  998. end
  999. end
  1000.  
  1001. local Mouse = game.Players.LocalPlayer:GetMouse()
  1002.  
  1003. function CopyChat(Player)
  1004. Player.Chatted:Connect(function(Message)
  1005. if States.CopyChat then
  1006. Chat("["..Player.DisplayName.."]: "..Message)
  1007. end
  1008. end)
  1009. end
  1010.  
  1011. function Died(Player)
  1012. pcall(function()
  1013. if Player.Character.Humanoid.Health < 1 then
  1014. if States.ChatNotify then
  1015. Chat(Player.DisplayName.." Died")
  1016. end
  1017. if States.Notify then
  1018. game.StarterGui:SetCore("SendNotification", {
  1019. Title = "Game",
  1020. Text = Player.DisplayName.." Died",
  1021. Icon = game.Players:GetUserThumbnailAsync(Player.UserId, Enum.ThumbnailType.HeadShot, Enum.ThumbnailSize.Size352x352)
  1022. })
  1023. end
  1024. end
  1025. end)
  1026. end
  1027.  
  1028. function PlayerPickUp(Player)
  1029. Player.Backpack.ChildAdded:Connect(function(Item)
  1030. if States.ChatNotify then
  1031. Chat(Player.DisplayName.." Pick Up "..Item.Name)
  1032. end
  1033. if States.Notify then
  1034. game.StarterGui:SetCore("SendNotification", {
  1035. Title = "Game",
  1036. Text = Player.DisplayName.." Pick Up "..Item.Name,
  1037. Icon = game.Players:GetUserThumbnailAsync(Player.UserId, Enum.ThumbnailType.HeadShot, Enum.ThumbnailSize.Size352x352)
  1038. })
  1039. end
  1040. end)
  1041. end
  1042.  
  1043. local function Notify(Message, Color, Text)
  1044. Notify6.Text = Notify5.Text
  1045. Notify6.TextColor3 = Notify5.TextColor3
  1046. Notify5.Text = Notify4.Text
  1047. Notify5.TextColor3 = Notify4.TextColor3
  1048. Notify4.Text = Notify3.Text
  1049. Notify4.TextColor3 = Notify3.TextColor3
  1050. Notify3.Text = Notify2.Text
  1051. Notify3.TextColor3 = Notify2.TextColor3
  1052. Notify2.Text = Notify1.Text
  1053. Notify2.TextColor3 = Notify1.TextColor3
  1054. Notify1.Text = "["..Text.."] "..Message
  1055. Notify1.TextColor3 = Color or Color3.fromRGB(255, 255, 255)
  1056. end
  1057.  
  1058. local function Loadstring(Https)
  1059. if not Https then return end
  1060. loadstring(game:HttpGet((Https), true))()
  1061. end
  1062.  
  1063. local function Command(Cmd)
  1064. return Arg1 == Prefix..Cmd
  1065. end
  1066.  
  1067. local function PrefixCommand(Cmd)
  1068. return Arg1 == "!"..Cmd
  1069. end
  1070.  
  1071. local Walls = {
  1072. game.Workspace.Prison_Halls.walls,
  1073. game.Workspace.Prison_Halls.roof,
  1074. game.Workspace.Prison_Halls.outlines,
  1075. game.Workspace.Prison_Halls.lights,
  1076. game.Workspace.Prison_Halls.accent,
  1077. game.Workspace.Prison_Halls.glass,
  1078. game.Workspace.Prison_Cellblock.b_front,
  1079. game.Workspace.Prison_Cellblock.doors,
  1080. game.Workspace.Prison_Cellblock.c_tables,
  1081. game.Workspace.Prison_Cellblock.a_front,
  1082. game.Workspace.Prison_Cellblock.b_outerwall,
  1083. game.Workspace.Prison_Cellblock.c_wall,
  1084. game.Workspace.Prison_Cellblock.b_wall,
  1085. game.Workspace.Prison_Cellblock.c_hallwall,
  1086. game.Workspace.Prison_Cellblock.a_outerwall,
  1087. game.Workspace.Prison_Cellblock.b_ramp,
  1088. game.Workspace.Prison_Cellblock.a_ramp,
  1089. game.Workspace.Prison_Cellblock.a_walls,
  1090. game.Workspace.Prison_Cellblock.Cells_B,
  1091. game.Workspace.Prison_Cellblock.Cells_A,
  1092. game.Workspace.Prison_Cellblock.c_corner,
  1093. game.Workspace.Prison_Cellblock.Wedge,
  1094. game.Workspace.Prison_Cellblock.a_ceiling,
  1095. game.Workspace.Prison_Cellblock.b_ceiling,
  1096. game.Workspace.City_buildings,
  1097. game.Workspace.Prison_OuterWall,
  1098. game.Workspace.Prison_Fences,
  1099. game.Workspace.Prison_Guard_Outpost,
  1100. game.Workspace.Prison_Cafeteria.building,
  1101. game.Workspace.Prison_Cafeteria.glass,
  1102. game.Workspace.Prison_Cafeteria.oven,
  1103. game.Workspace.Prison_Cafeteria.shelves,
  1104. game.Workspace.Prison_Cafeteria.vents,
  1105. game.Workspace.Prison_Cafeteria.accents,
  1106. game.Workspace.Prison_Cafeteria["vending machine"],
  1107. game.Workspace.Prison_Cafeteria.Prison_table1,
  1108. game.Workspace.Prison_Cafeteria.counter,
  1109. game.Workspace.Prison_Cafeteria.boxes,
  1110. game.Workspace.Prison_Cafeteria["trash bins"]
  1111. }
  1112.  
  1113. --[[if not Slient then
  1114. Chat("Admin Commands By LocalPlayer # 7434")
  1115. Chat("Admin Commands Version "..Versions)
  1116. Chat("Current Prefix Is "..Prefix)
  1117. wait()
  1118. Chat("Admin Commands Loaded!")
  1119. else
  1120. Chat("Loaded")
  1121. Chat("P "..Prefix)
  1122. Chat("V "..Versions)
  1123. end]]
  1124.  
  1125. Notify("Loaded admin commands", Color3.fromRGB(0, 255, 0), "Loads")
  1126.  
  1127. function PlayerChatted(Message)
  1128. if ScriptDisabled then return end
  1129. Split = Message:split(" ")
  1130. Arg1 = Split[1]
  1131. Arg2 = Split[2]
  1132. Arg3 = Split[3]
  1133. Arg4 = Split[4]
  1134. if Command("unload") or Command("destroygui") then
  1135. Notify("Unloading...", Color3.fromRGB(0, 255, 255), "Unloads")
  1136. wait(.1)
  1137. pcall(function()
  1138. CmdGui:Destroy()
  1139. States = {}
  1140. LoopKill = {}
  1141. LoopTase = {}
  1142. Admin = {}
  1143. ScriptDisabled = true
  1144. for i,v in pairs(game.Lighting:GetChildren()) do
  1145. v.Parent = workspace
  1146. end
  1147. end)
  1148. end
  1149. if Command("reload") or Command("update") then
  1150. Notify("Updating versions...", Color3.fromRGB(0, 255, 255), "Updates")
  1151. pcall(function()
  1152. CmdGui:Destroy()
  1153. States = {}
  1154. LoopKill = {}
  1155. LoopTase = {}
  1156. Admin = {}
  1157. ScriptDisabled = true
  1158. for i,v in pairs(game.Lighting:GetChildren()) do
  1159. v.Parent = workspace
  1160. end
  1161. end)
  1162. Loadstring("https://pastebin.com/raw/9ab2s523")
  1163. end
  1164. if Command("beam") then
  1165. local Player = GetPlayer(Arg2)
  1166. if Player then
  1167. Beam(Player, math.huge, 7)
  1168. Notify("Beamed "..Player.Name, Color3.fromRGB(0, 255, 0), "Success")
  1169. else
  1170. Notify("No player found", Color3.fromRGB(255, 0, 0), "Error")
  1171. end
  1172. end
  1173. if Command("lagbeam") or Command("beam2") then
  1174. local Player = GetPlayer(Arg2)
  1175. if Player then
  1176. LagBeam(Player, math.huge, 7)
  1177. Notify("Lag beamed "..Player.Name, Color3.fromRGB(255, 0, 0), "Success")
  1178. else
  1179. Notify("No player found", Color3.fromRGB(255, 0, 0), "Error")
  1180. end
  1181. end
  1182. if Command("crash") or Command("beam3") then
  1183. local Player = GetPlayer(Arg2)
  1184. if Player then
  1185. LagBeam(Player, math.huge, 9000)
  1186. Notify("Crashed "..Player.Name, Color3.fromRGB(0, 255, 0), "Success")
  1187. else
  1188. Notify("No player found", Color3.fromRGB(255, 0, 0), "Error")
  1189. end
  1190. end
  1191. if Command("antispamarrest") then
  1192. States.Anti_Spam_Arrest = true
  1193. Notify("Turn anti spam arrest on", Color3.fromRGB(0, 255, 0), "Success")
  1194. while wait() do
  1195. if States.Anti_Spam_Arrest then
  1196. pcall(function()
  1197. if game.Players.LocalPlayer.Character.Head:FindFirstChild("handcuffedGui") then
  1198. repeat wait()
  1199. coroutine.wrap(function()
  1200. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(888, 100, 2388)
  1201. workspace.Remote.TeamEvent:FireServer("Medium stone grey")
  1202. workspace.Remote.TeamEvent:FireServer("Bright blue")
  1203. end)()
  1204. until game.Players.LocalPlayer.TeamColor.Name == "Bright blue"
  1205. wait(.1)
  1206. for i = 1,10 do
  1207. workspace.Remote.TeamEvent:FireServer("Medium stone grey")
  1208. end
  1209. end
  1210. end)
  1211. end
  1212. end
  1213. end
  1214. if Command("unantispamarrest") then
  1215. States.Anti_Spam_Arrest = false
  1216. Notify("Turn anti spam arrest off", Color3.fromRGB(0, 255, 0), "Success")
  1217. end
  1218. if Command("inmate") or Command("inmates") or Command("prisoner") or Command("prisoners") then
  1219. workspace.Remote.TeamEvent:FireServer("Bright orange")
  1220. Notify("Become inmate", Color3.fromRGB(0, 255, 0), "Success")
  1221. end
  1222. if Command("guard") or Command("guards") or Command("cop") or Command("polices") or Command("cops") then
  1223. workspace.Remote.TeamEvent:FireServer("Bright blue")
  1224. if game.Players.LocalPlayer.TeamColor.Name == "Bright blue" then
  1225. Notify("Become guard", Color3.fromRGB(0, 255, 0), "Success")
  1226. else
  1227. Notify("Fulled team", Color3.fromRGB(255, 0, 0), "Error")
  1228. end
  1229. end
  1230. if Command("gun") or Command("guns") or Command("allguns") then
  1231. if BuyGamepass then
  1232. workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["Remington 870"].ITEMPICKUP)
  1233. workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["M4A1"].ITEMPICKUP)
  1234. workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["AK-47"].ITEMPICKUP)
  1235. workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["M9"].ITEMPICKUP)
  1236. else
  1237. workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["Remington 870"].ITEMPICKUP)
  1238. workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["AK-47"].ITEMPICKUP)
  1239. workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["M9"].ITEMPICKUP)
  1240. end
  1241. Notify("Get all guns", Color3.fromRGB(0, 255, 0), "Success")
  1242. end
  1243. if Command("autogun") or Command("autoguns") or Command("autoallguns") then
  1244. States.Auto_Guns = true
  1245. Notify("Turn auto guns on", Color3.fromRGB(0, 255, 0), "Success")
  1246. if BuyGamepass then
  1247. workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["Remington 870"].ITEMPICKUP)
  1248. workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["M4A1"].ITEMPICKUP)
  1249. workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["AK-47"].ITEMPICKUP)
  1250. workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["M9"].ITEMPICKUP)
  1251. else
  1252. workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["Remington 870"].ITEMPICKUP)
  1253. workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["AK-47"].ITEMPICKUP)
  1254. workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["M9"].ITEMPICKUP)
  1255. end
  1256. game.Players.LocalPlayer.CharacterAdded:Connect(function()
  1257. if States.Auto_Guns then
  1258. pcall(function()
  1259. if BuyGamepass then
  1260. workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["Remington 870"].ITEMPICKUP)
  1261. workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["M4A1"].ITEMPICKUP)
  1262. workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["AK-47"].ITEMPICKUP)
  1263. workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["M9"].ITEMPICKUP)
  1264. else
  1265. workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["Remington 870"].ITEMPICKUP)
  1266. workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["AK-47"].ITEMPICKUP)
  1267. workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["M9"].ITEMPICKUP)
  1268. end
  1269. end)
  1270. end
  1271. end)
  1272. end
  1273. if Command("unautogun") or Command("unautoguns") or Command("unautoallguns") then
  1274. States.Auto_Guns = false
  1275. Notify("Turn auto guns off", Color3.fromRGB(0, 255, 0), "Success")
  1276. end
  1277. if Command("loopgoto") or Command("loopto") then
  1278. local Player = GetPlayer(Arg2)
  1279. if Player then
  1280. States.LoopGoto = true
  1281. repeat wait()
  1282. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = Player.Character.HumanoidRootPart.CFrame
  1283. until not States.LoopGoto or not game.Players[Player.Name]
  1284. end
  1285. end
  1286. if Command("unloopgoto") or Command("unloopto") then
  1287. States.LoopGoto = false
  1288. end
  1289. if Command("checkscriptowner") or Command("findowner") then
  1290. for i,v in pairs(game.Players:GetPlayers()) do
  1291. if v.DisplayName == "Hack" and v.Name == "ih4xalots" then
  1292. ChatNotify("Script owner : "..v.Name.." / "..v.DisplayName, Color3.fromRGB(0, 255, 0))
  1293. end
  1294. end
  1295. end
  1296. if Command("getplayer") or Command("getplayers") then
  1297. ChatNotify("Players : "..#game.Players:GetPlayers(), Color3.fromRGB(255, 255, 255))
  1298. end
  1299. if Command("autofire") then
  1300. if game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool"):FindFirstChild("GunStates") then
  1301. local Gun = require(game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").GunStates)
  1302. Gun["AutoFire"] = true
  1303. Notify("Turn auto fire", Color3.fromRGB(0, 255, 0), "Success")
  1304. else
  1305. Notify("Equip a gun", Color3.fromRGB(255, 0, 0), "Error")
  1306. end
  1307. end
  1308. if Command("semifire") then
  1309. if game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool"):FindFirstChild("GunStates") then
  1310. local Gun = require(game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").GunStates)
  1311. Gun["AutoFire"] = false
  1312. Notify("Turn semi fire", Color3.fromRGB(0, 255, 0), "Success")
  1313. else
  1314. Notify("Equip a gun", Color3.fromRGB(255, 0, 0), "Error")
  1315. end
  1316. end
  1317. if Command("firespeed") or Command("setfirespeed") then
  1318. if game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool"):FindFirstChild("GunStates") then
  1319. local Gun = require(game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").GunStates)
  1320. if tonumber(Arg2) ~= nil then
  1321. Gun["FireRate"] = tonumber(Arg2)
  1322. Notify("Set a gun fire speed to "..tonumber(Arg2), Color3.fromRGB(0, 255, 0), "Success")
  1323. else
  1324. Notify("Counts needed", Color3.fromRGB(255, 0, 0), "Error")
  1325. end
  1326. else
  1327. Notify("Equip a gun", Color3.fromRGB(255, 0, 0), "Error")
  1328. end
  1329. end
  1330. if Command("burst") or Command("burstbullets") or Command("bullets") then
  1331. if game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool"):FindFirstChild("GunStates") then
  1332. local Gun = require(game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").GunStates)
  1333. if tonumber(Arg2) ~= nil then
  1334. Gun["Bullets"] = tonumber(Arg2)
  1335. Notify("Set a gun burst bullets to "..tonumber(Arg2), Color3.fromRGB(0, 255, 0), "Success")
  1336. else
  1337. Notify("Counts needed", Color3.fromRGB(255, 0, 0), "Error")
  1338. end
  1339. else
  1340. Notify("Equip a gun", Color3.fromRGB(255, 0, 0), "Error")
  1341. end
  1342. end
  1343. if Command("reloadtime") or Command("reloadtimes") then
  1344. if game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool"):FindFirstChild("GunStates") then
  1345. local Gun = require(game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").GunStates)
  1346. if tonumber(Arg2) ~= nil then
  1347. Gun["ReloadTime"] = tonumber(Arg2)
  1348. Notify("Set a gun reload time to "..tonumber(Arg2), Color3.fromRGB(0, 255, 0), "Success")
  1349. else
  1350. Notify("Counts needed", Color3.fromRGB(255, 0, 0), "Error")
  1351. end
  1352. else
  1353. Notify("Equip a gun", Color3.fromRGB(255, 0, 0), "Error")
  1354. end
  1355. end
  1356. if Command("criminal") or Command("criminals") or Command("crim") or Command("crims") or Command("crimes") or Command("crime") then
  1357. local savedcf = GetPos()
  1358. local savedcamcf = GetCamPos()
  1359. workspace.Remote.loadchar:InvokeServer(nil, BrickColor.new("Really red").Name)
  1360. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf
  1361. workspace.CurrentCamera.CFrame = savedcamcf
  1362. Notify("Become a criminal", Color3.fromRGB(0, 255, 0), "Success")
  1363. end
  1364. if Command("neutral") or Command("neutrals") then
  1365. workspace.Remote.TeamEvent:FireServer("Medium stone grey")
  1366. Notify("Become neutral", Color3.fromRGB(0, 255, 0), "Success")
  1367. end
  1368. if Command("red") then
  1369. local savedcf = GetPos()
  1370. local savedcamcf = GetCamPos()
  1371. workspace.Remote.loadchar:InvokeServer(nil, BrickColor.new("Bright red").Name)
  1372. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf
  1373. workspace.CurrentCamera.CFrame = savedcamcf
  1374. Notify("Changed name tag color to "..Arg1:split("."), Color3.fromRGB(0, 255, 0), "Success")
  1375. end
  1376. if Command("blue") then
  1377. local savedcf = GetPos()
  1378. local savedcamcf = GetCamPos()
  1379. workspace.Remote.loadchar:InvokeServer(nil, BrickColor.new("Deep blue").Name)
  1380. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf
  1381. workspace.CurrentCamera.CFrame = savedcamcf
  1382. Notify("Changed name tag color to "..Arg1:split("."), Color3.fromRGB(0, 255, 0), "Success")
  1383. end
  1384. if Command("black") then
  1385. local savedcf = GetPos()
  1386. local savedcamcf = GetCamPos()
  1387. workspace.Remote.loadchar:InvokeServer(nil, BrickColor.new("Really black").Name)
  1388. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf
  1389. workspace.CurrentCamera.CFrame = savedcamcf
  1390. Notify("Changed name tag color to "..Arg1:split("."), Color3.fromRGB(0, 255, 0), "Success")
  1391. end
  1392. if Command("pink") then
  1393. local savedcf = GetPos()
  1394. local savedcamcf = GetCamPos()
  1395. workspace.Remote.loadchar:InvokeServer(nil, BrickColor.new("Hot pink").Name)
  1396. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf
  1397. workspace.CurrentCamera.CFrame = savedcamcf
  1398. Notify("Changed name tag color to "..Arg1:split("."), Color3.fromRGB(0, 255, 0), "Success")
  1399. end
  1400. if Command("grey") then
  1401. local savedcf = GetPos()
  1402. local savedcamcf = GetCamPos()
  1403. workspace.Remote.loadchar:InvokeServer(nil, BrickColor.new("Ghost grey").Name)
  1404. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf
  1405. workspace.CurrentCamera.CFrame = savedcamcf
  1406. Notify("Changed name tag color to "..Arg1:split("."), Color3.fromRGB(0, 255, 0), "Success")
  1407. end
  1408. if Command("white") then
  1409. local savedcf = GetPos()
  1410. local savedcamcf = GetCamPos()
  1411. workspace.Remote.loadchar:InvokeServer(nil, BrickColor.new("White").Name)
  1412. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf
  1413. workspace.CurrentCamera.CFrame = savedcamcf
  1414. Notify("Changed name tag color to "..Arg1:split("."), Color3.fromRGB(0, 255, 0), "Success")
  1415. end
  1416. if Command("brown") then
  1417. local savedcf = GetPos()
  1418. local savedcamcf = GetCamPos()
  1419. workspace.Remote.loadchar:InvokeServer(nil, BrickColor.new("Brown").Name)
  1420. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf
  1421. workspace.CurrentCamera.CFrame = savedcamcf
  1422. Notify("Changed name tag color to "..Arg1:split("."), Color3.fromRGB(0, 255, 0), "Success")
  1423. end
  1424. if Command("purple") then
  1425. local savedcf = GetPos()
  1426. local savedcamcf = GetCamPos()
  1427. workspace.Remote.loadchar:InvokeServer(nil, BrickColor.new("Royal purple").Name)
  1428. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf
  1429. workspace.CurrentCamera.CFrame = savedcamcf
  1430. Notify("Changed name tag color to "..Arg1:split("."), Color3.fromRGB(0, 255, 0), "Success")
  1431. end
  1432. if Command("green") then
  1433. local savedcf = GetPos()
  1434. local savedcamcf = GetCamPos()
  1435. workspace.Remote.loadchar:InvokeServer(nil, BrickColor.new("Bright green").Name)
  1436. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf
  1437. workspace.CurrentCamera.CFrame = savedcamcf
  1438. Notify("Changed name tag color to "..Arg1:split("."), Color3.fromRGB(0, 255, 0), "Success")
  1439. end
  1440. if Command("yellow") then
  1441. local savedcf = GetPos()
  1442. local savedcamcf = GetCamPos()
  1443. workspace.Remote.loadchar:InvokeServer(nil, BrickColor.new("Bright yellow").Name)
  1444. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf
  1445. workspace.CurrentCamera.CFrame = savedcamcf
  1446. Notify("Changed name tag color to "..Arg1:split("."), Color3.fromRGB(0, 255, 0), "Success")
  1447. end
  1448. if Command("orange") then
  1449. local savedcf = GetPos()
  1450. local savedcamcf = GetCamPos()
  1451. workspace.Remote.loadchar:InvokeServer(nil, BrickColor.new("Neon orange").Name)
  1452. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf
  1453. workspace.CurrentCamera.CFrame = savedcamcf
  1454. Notify("Changed name tag color to "..Arg1:split("."), Color3.fromRGB(0, 255, 0), "Success")
  1455. end
  1456. if Command("chatnotify") then
  1457. States.ChatNotify = true
  1458. Notify("Turn chat notify on", Color3.fromRGB(0, 255, 0), "Success")
  1459. end
  1460. if Command("nochatnotify") or Command("unchatnotify") then
  1461. States.ChatNotify = false
  1462. Notify("Turn chat notify off", Color3.fromRGB(0, 255, 0), "Success")
  1463. end
  1464. if Command("taserbypass") or Command("lock") or Command("antitaser") then
  1465. States.TaserBypass = true
  1466. Notify("Turn taser bypass on", Color3.fromRGB(0, 255, 0), "Success")
  1467. game.Players.LocalPlayer.CharacterAdded:Connect(function()
  1468. if States.TaserBypass then
  1469. wait(.2)
  1470. game.Players.LocalPlayer.Character.ClientInputHandler.Disabled = true
  1471. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 24
  1472. game.Players.LocalPlayer.Character.Humanoid.JumpPower = 50
  1473. end
  1474. end)
  1475. end
  1476. if Command("notaserbypass") or Command("unlock") or Command("untaserbypass") then
  1477. States.TaserBypass = false
  1478. Notify("Turn taser bypass off", Color3.fromRGB(0, 255, 0), "Success")
  1479. game.Players.LocalPlayer.Character.ClientInputHandler.Disabled = false
  1480. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 16
  1481. game.Players.LocalPlayer.Character.Humanoid.JumpPower = 50
  1482. end
  1483. if Command("color") then
  1484. if Arg2 ~= nil and Arg3 == nil then
  1485. local savedcf = GetPos()
  1486. workspace.Remote.loadchar:InvokeServer(nil, Arg2)
  1487. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf
  1488. elseif Arg2 ~= nil and Arg3 ~= nil and Arg4 == nil then
  1489. local savedcf = GetPos()
  1490. workspace.Remote.loadchar:InvokeServer(nil, Arg2.." "..Arg3)
  1491. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf
  1492. elseif Arg2 ~= nil and Arg3 ~= nil and Arg4 ~= nil then
  1493. local savedcf = GetPos()
  1494. workspace.Remote.loadchar:InvokeServer(nil, Arg2.." "..Arg3.." "..Arg4)
  1495. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf
  1496. end
  1497. Notify("Changed name tag color", Color3.fromRGB(0, 255, 0), "Success")
  1498. end
  1499. if Command("print") then
  1500. print(Message)
  1501. Notify("Printed", Color3.fromRGB(0, 255, 0), "Success")
  1502. end
  1503. if Command("warn") then
  1504. warn(Message)
  1505. Notify("Warned", Color3.fromRGB(0, 255, 0), "Success")
  1506. end
  1507. if Command("error") then
  1508. Notify("Printed error", Color3.fromRGB(0, 255, 0), "Success")
  1509. error(Message)
  1510. end
  1511. if Command("chat") then
  1512. Chat(Message)
  1513. Notify("Chatted", Color3.fromRGB(0, 255, 0), "Success")
  1514. end
  1515. if Command("copychat") then
  1516. States.CopyChat = true
  1517. Notify("Turn copy chat on", Color3.fromRGB(0, 255, 0), "Success")
  1518. end
  1519. if Command("uncopychat") then
  1520. States.CopyChat = false
  1521. Notify("Turn copy chat off", Color3.fromRGB(0, 255, 0), "Success")
  1522. end
  1523. if Command("tase") then
  1524. local Player = GetPlayer(Arg2)
  1525. if Player ~= nil then
  1526. Tase(Player)
  1527. Notify("Tased "..Player.Name, Color3.fromRGB(0, 255, 0), "Success")
  1528. else
  1529. Notify("No player found", Color3.fromRGB(255, 0, 0), "Error")
  1530. end
  1531. end
  1532. if Command("noshield") or Command("antishield") then
  1533. States.Anti_Shield = true
  1534. Notify("Turn anti shield users on", Color3.fromRGB(0, 255, 0), "Success")
  1535. while wait() do
  1536. for i,v in pairs(game.Players:GetPlayers()) do
  1537. pcall(function()
  1538. if workspace[v.Name].Torso:FindFirstChild("ShieldFolder") then
  1539. workspace[v.Name].Torso:FindFirstChild("ShieldFolder"):Destroy()
  1540. end
  1541. end)
  1542. end
  1543. end
  1544. end
  1545. if Command("unantishield") then
  1546. States.Anti_Shield = false
  1547. Notify("Turn anti shield users off", Color3.fromRGB(0, 255, 0), "Success")
  1548. end
  1549. if Command("kill") or Command("kills") then
  1550. local Player = GetPlayer(Arg2)
  1551. if Player ~= nil then
  1552. Kill(Player)
  1553. Notify("Killed "..Player.Name, Color3.fromRGB(0, 255, 0), "Success")
  1554. else
  1555. Notify("No player found", Color3.fromRGB(255, 0, 0), "Error")
  1556. end
  1557. end
  1558. if Command("killall") then
  1559. for i,v in pairs(game.Players:GetPlayers()) do
  1560. if v ~= game.Players.LocalPlayer then
  1561. Kill(v)
  1562. end
  1563. end
  1564. Notify("Killed all players", Color3.fromRGB(0, 255, 0), "Success")
  1565. end
  1566. if Command("killinmate") or Command("killinmates") or Command("killsinmate") or Command("killsinmates") then
  1567. for i,v in pairs(game.Players:GetPlayers()) do
  1568. if v ~= game.Players.LocalPlayer then
  1569. if v.TeamColor.Name == "Bright orange" then
  1570. Kill(v)
  1571. end
  1572. end
  1573. end
  1574. Notify("Killed all inmates", Color3.fromRGB(0, 255, 0), "Success")
  1575. end
  1576. if Command("killguard") or Command("killsguard") or Command("killguards") or Command("killsguards") then
  1577. for i,v in pairs(game.Players:GetPlayers()) do
  1578. if v ~= game.Players.LocalPlayer then
  1579. if v.TeamColor.Name == "Bright blue" then
  1580. Kill(v)
  1581. end
  1582. end
  1583. end
  1584. Notify("Killed all guards", Color3.fromRGB(0, 255, 0), "Success")
  1585. end
  1586. if Command("killcriminal") or Command("killscriminal") or Command("killcriminals") or Command("killscriminals") then
  1587. for i,v in pairs(game.Players:GetPlayers()) do
  1588. if v ~= game.Players.LocalPlayer then
  1589. if v.TeamColor.Name == "Really red" then
  1590. Kill(v)
  1591. end
  1592. end
  1593. end
  1594. Notify("Killed all criminals", Color3.fromRGB(0, 255, 0), "Success")
  1595. end
  1596. if Command("loopkill") or Command("loopkills") then
  1597. local Player = GetPlayer(Arg2)
  1598. if Player ~= nil and not LoopKill[Player.UserId] then
  1599. LoopKill[Player.UserId] = {Player = Player}
  1600. Notify("Looping kills "..Player.Name, Color3.fromRGB(0, 255, 0), "Success")
  1601. else
  1602. Notify("No player found / already loop kills", Color3.fromRGB(255, 0, 0), "Error")
  1603. end
  1604. end
  1605. if Command("unloopkill") or Command("unloopkills") then
  1606. local Player = GetPlayer(Arg2)
  1607. if Player ~= nil and LoopKill[Player.UserId] then
  1608. LoopKill[Player.UserId] = nil
  1609. Notify("Unloop kills "..Player.Name, Color3.fromRGB(0, 255, 0), "Success")
  1610. else
  1611. Notify("No player found / Player has no loop kills", Color3.fromRGB(255, 0, 0), "Error")
  1612. end
  1613. end
  1614. if Command("loopkillguard") or Command("loopkillguards") or Command("loopkillsguard") or Command("loopkillsguards") or Command("loopkillcop") or Command("loopkillpolices") or Command("loopkillspolices") then
  1615. States.LoopKill_Guards = true
  1616. Notify("Looping kills all guards", Color3.fromRGB(0, 255, 0), "Success")
  1617. while wait() do
  1618. if States.LoopKill_Guards then
  1619. for i,v in pairs(game.Teams.Guards:GetPlayers()) do
  1620. if v ~= game.Players.LocalPlayer then
  1621. pcall(function()
  1622. if v.Character.Humanoid.Health > 0 and v.Character.Head and v.Character and v ~= nil then
  1623. Kill(v)
  1624. end
  1625. end)
  1626. end
  1627. end
  1628. end
  1629. end
  1630. end
  1631. if Command("unloopkillguard") or Command("unloopkillguards") or Command("unloopkillsguard") or Command("unloopkillsguards") or Command("unloopkillcop") or Command("unloopkillpolices") or Command("unloopkillspolices") then
  1632. States.LoopKill_Guards = false
  1633. Notify("Unloop kills all guards", Color3.fromRGB(0, 255, 0), "Success")
  1634. end
  1635. if Command("loopkillinmate") or Command("loopkillinmates") or Command("loopkillsinmate") or Command("loopkillsinmates") or Command("loopkillprisoner") or Command("loopkillprisoners") then
  1636. States.LoopKill_Inmates = true
  1637. Notify("Looping kills all inmates", Color3.fromRGB(0, 255, 0), "Success")
  1638. while wait() do
  1639. if States.LoopKill_Inmates then
  1640. for i,v in pairs(game.Teams.Inmates:GetPlayers()) do
  1641. if v ~= game.Players.LocalPlayer then
  1642. pcall(function()
  1643. if v.Character.Humanoid.Health > 0 and v.Character.Head and v.Character and v ~= nil then
  1644. Kill(v)
  1645. end
  1646. end)
  1647. end
  1648. end
  1649. end
  1650. end
  1651. end
  1652. if Command("unloopkillinmate") or Command("unloopkillinmates") or Command("unloopkillsinmate") or Command("unloopkillsinmates") or Command("unloopkillprisoner") or Command("unloopkillprisoners") then
  1653. States.LoopKill_Inmates = false
  1654. Notify("Unloop kills all inmates", Color3.fromRGB(0, 255, 0), "Success")
  1655. end
  1656. if Command("loopkillcriminal") or Command("loopkillcriminals") or Command("loopkillscriminal") or Command("loopkillscriminals") or Command("loopkillcrim") or Command("loopkillcrims") then
  1657. States.LoopKill_Criminals = true
  1658. Notify("Looping kills all criminals", Color3.fromRGB(0, 255, 0), "Success")
  1659. while wait() do
  1660. if States.LoopKill_Criminals then
  1661. for i,v in pairs(game.Teams.Criminals:GetPlayers()) do
  1662. if v ~= game.Players.LocalPlayer then
  1663. pcall(function()
  1664. if v.Character.Humanoid.Health > 0 and v.Character.Head and v.Character and v ~= nil then
  1665. Kill(v)
  1666. end
  1667. end)
  1668. end
  1669. end
  1670. end
  1671. end
  1672. end
  1673. if Command("unloopkillcriminal") or Command("unloopkillcriminals") or Command("unloopkillscriminal") or Command("unloopkillscrriminals") or Command("unloopkillcrim") or Command("unloopkillcrims") then
  1674. States.LoopKill_Criminals = false
  1675. Notify("Unlooping kills all criminals", Color3.fromRGB(0, 255, 0), "Success")
  1676. end
  1677. if Command("loopkillall") or Command("loopkillsall") then
  1678. States.LoopKill_Others = true
  1679. Notify("Looping kills all players", Color3.fromRGB(0, 255, 0), "Success")
  1680. while wait() do
  1681. if States.LoopKill_Others then
  1682. for i,v in pairs(game.Players:GetPlayers()) do
  1683. if v ~= game.Players.LocalPlayer then
  1684. pcall(function()
  1685. if v.Character.Humanoid.Health > 0 and v.Character.Head and v.Character and v ~= nil then
  1686. Kill(v)
  1687. end
  1688. end)
  1689. end
  1690. end
  1691. end
  1692. end
  1693. end
  1694. if Command("unloopkillall") or Command("unloopkillsall") then
  1695. States.LoopKill_Criminals = false
  1696. States.LoopKill_Guards = false
  1697. States.LoopKill_Inmates = false
  1698. States.LoopKill_Others = false
  1699. Notify("Unlooping kills all players", Color3.fromRGB(0, 255, 0), "Success")
  1700. end
  1701. if Command("goto") or Command("to") then
  1702. local Player = GetPlayer(Arg2)
  1703. if Player ~= nil then
  1704. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = workspace[Player.Name].HumanoidRootPart.CFrame
  1705. Notify("Go to "..Player.Name, Color3.fromRGB(0, 255, 0), "Success")
  1706. else
  1707. Notify("No player found", Color3.fromRGB(255, 0, 0), "Error")
  1708. end
  1709. end
  1710. if Command("re") or Command("refresh") then
  1711. if game.Players.LocalPlayer.TeamColor.Name ~= "Medium stone grey" then
  1712. if game.Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPart") then
  1713. local savedcf = GetPos()
  1714. local savedcamcf = GetCamPos()
  1715. workspace.Remote.loadchar:InvokeServer()
  1716. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf
  1717. workspace.CurrentCamera.CFrame = savedcamcf
  1718. end
  1719. else
  1720. if game.Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPart") then
  1721. local savedcf = GetPos()
  1722. local savedcamcf = GetCamPos()
  1723. workspace.Remote.loadchar:InvokeServer(nil, BrickColor.new("Bright orange").Name)
  1724. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf
  1725. workspace.CurrentCamera.CFrame = savedcamcf
  1726. workspace.Remote.TeamEvent:FireServer("Medium stone grey")
  1727. end
  1728. end
  1729. Notify("Refreshed", Color3.fromRGB(0, 255, 0), "Success")
  1730. end
  1731. if Command("res") or Command("respawn") then
  1732. if game.Players.LocalPlayer.TeamColor.Name ~= "Medium stone grey" then
  1733. workspace.Remote.loadchar:InvokeServer()
  1734. else
  1735. workspace.Remote.loadchar:InvokeServer(nil, BrickColor.new("Bright orange").Name)
  1736. local savedcf = GetPos()
  1737. local savedcamcf = GetCamPos()
  1738. workspace.Remote.loadchar:InvokeServer(nil, BrickColor.new("Really red").Name)
  1739. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf
  1740. workspace.CurrentCamera.CFrame = savedcamcf
  1741. workspace.Remote.TeamEvent:FireServer("Medium stone grey")
  1742. end
  1743. Notify("Respawned", Color3.fromRGB(0, 255, 0), "Success")
  1744. end
  1745. if Command("looparrest") or Command("spamarrest") then
  1746. local Player = GetPlayer(Arg2)
  1747. if Player ~= nil then
  1748. Notify("Spam arresting "..Player.Name, Color3.fromRGB(0, 255, 0), "Success")
  1749. States.SpamArrest = true
  1750. repeat wait()
  1751. if game.Players[Player.Name] and States.SpamArrest then
  1752. local Player_Previos_Team = Player.TeamColor.Name
  1753. if Player.TeamColor.Name == "Bright orange" then
  1754. Teleport(Player, CFrame.new(979.55584716797, 99.990005493164, 2341.4069824219))
  1755. end
  1756. if Player.TeamColor.Name ~= "Bright orange" and Player.TeamColor.Name ~= "Really red" then
  1757. repeat Teleport(Player, CFrame.new(-976, 110, 2070)) until Player.TeamColor.Name == "Really red" or not game.Players[Player.Name]
  1758. end
  1759. if Player_Previos_Team == "Bright orange" then
  1760. repeat wait()
  1761. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = Player.Character.HumanoidRootPart.CFrame * CFrame.new(0, 0, 1)
  1762. for i = 1,1000 do
  1763. coroutine.wrap(function()
  1764. ArrestEvent(Player, math.huge)
  1765. end)()
  1766. end
  1767. until Player.Character.Head:FindFirstChild("handcuffedGui") or not game.Players[Player.Name]
  1768. else
  1769. if Player.TeamColor.Name == "Really red" then
  1770. repeat wait()
  1771. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = Player.Character.HumanoidRootPart.CFrame * CFrame.new(0, 0, 1)
  1772. for i = 1,1000 do
  1773. coroutine.wrap(function()
  1774. ArrestEvent(Player, math.huge)
  1775. end)()
  1776. end
  1777. until Player.Character.Head:FindFirstChild("handcuffedGui") or not game.Players[Player.Name]
  1778. end
  1779. end
  1780. end
  1781. until not game.Players[Player.Name] or not States.SpamArrest
  1782. end
  1783. end
  1784. if Command("unlooparrest") or Command("unspamarrest") then
  1785. States.SpamArrest = false
  1786. Notify("Unspam arrest", Color3.fromRGB(0, 255, 0), "Success")
  1787. end
  1788. if Command("view") or Command("spectate") or Command("watch") then
  1789. local Player = GetPlayer(Arg2)
  1790. if Player ~= nil then
  1791. Watching = Player
  1792. Notify("Viewing "..Player.Name, Color3.fromRGB(0, 255, 0), "Success")
  1793. else
  1794. Notify("No player found", Color3.fromRGB(255, 0, 0), "Error")
  1795. end
  1796. while wait() do
  1797. if Watching ~= nil then
  1798. pcall(function()
  1799. workspace.CurrentCamera.CameraSubject = workspace[Watching.Name]
  1800. end)
  1801. end
  1802. end
  1803. end
  1804. if Command("antifling") then
  1805. States.Anti_Fling = true
  1806. Notify("Turn anti fling on", Color3.fromRGB(0, 255, 0), "Success")
  1807. game.Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPart").Size = Vector3.new(math.huge, game.Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPart").Size.Y, math.huge)
  1808. game.Players.LocalPlayer.CharacterAdded:Connect(function(Character)
  1809. if States.Anti_Fling then
  1810. pcall(function()
  1811. game.Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPart").Size = Vector3.new(math.huge, game.Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPart").Size.Y, math.huge)
  1812. end)
  1813. end
  1814. end)
  1815. end
  1816. if Command("statue") then
  1817. States.Statue = true
  1818. game.Players.LocalPlayer.Character:Connect(function()
  1819. if States.Statue then
  1820.  
  1821. end
  1822. end)
  1823. end
  1824. if Command("unstatue") then
  1825. States.Statue = false
  1826. end
  1827. if Command("noclip") or Command("noclips") then
  1828. States.Noclips = true
  1829. Notify("Turn no clips on", Color3.fromRGB(0, 255, 0), "Success")
  1830. game:GetService("RunService").Stepped:Connect(function()
  1831. if States.Noclips then
  1832. pcall(function()
  1833. game.Players.LocalPlayer.Character:FindFirstChild("Head").CanCollide = false
  1834. game.Players.LocalPlayer.Character:FindFirstChild("Torso").CanCollide = false
  1835. end)
  1836. end
  1837. end)
  1838. end
  1839. if Command("clip") or Command("clips") then
  1840. States.Noclips = false
  1841. Notify("Turn no clips off", Color3.fromRGB(0, 255, 0), "Success")
  1842. end
  1843. if Command("unantifling") then
  1844. States.Anti_Fling = false
  1845. Notify("Turn anti fling off", Color3.fromRGB(0, 255, 0), "Success")
  1846. end
  1847. if Command("antivest") or Command("anticrash") then
  1848. States.Anti_Crash = true
  1849. Notify("Turn anti armor spammer on", Color3.fromRGB(0, 255, 0), "Success")
  1850. coroutine.wrap(function()
  1851. while wait() do
  1852. if States.Anti_Crash then
  1853. for i,v in pairs(game.Players:GetPlayers()) do
  1854. pcall(function()
  1855. v.Character.vest:Destroy()
  1856. end)
  1857. end
  1858. end
  1859. end
  1860. end)()
  1861. end
  1862. if Command("unantivest") or Command("unanticrash") then
  1863. States.Anti_Crash = false
  1864. Notify("Turn anti armor spammer off", Color3.fromRGB(0, 255, 0), "Success")
  1865. end
  1866. if Command("fastpunch") or Command("speedpunch") or Command("speedlypunch") or Command("superspeedpunch") then
  1867. States.Fast_Punch = true
  1868. Notify("Turn fast punch on", Color3.fromRGB(0, 255, 0), "Success")
  1869. end
  1870. if Command("slowpunch") or Command("normalspeedpunch") or Command("nofastpunch") or Command("unfastpunch") then
  1871. States.Fast_Punch = false
  1872. Notify("Turn fast punch off", Color3.fromRGB(0, 255, 0), "Success")
  1873. end
  1874. if Command("superpunch") or Command("onepunch") then
  1875. local ReplicatedStorage = game:GetService("ReplicatedStorage")
  1876. local MeleeEvent = ReplicatedStorage:FindFirstChild("meleeEvent")
  1877. local Mouse = game.Players.LocalPlayer:GetMouse()
  1878. local Punch = false
  1879. local Cooldown = false
  1880. States.SuperPunch = true
  1881. Notify("Turn super punch on", Color3.fromRGB(0, 255, 0), "Success")
  1882.  
  1883. local function Punch()
  1884. if not States.Fast_Punch then
  1885. Cooldown = true
  1886. local Part = Instance.new("Part", game.Players.LocalPlayer.Character)
  1887. Part.Transparency = 1
  1888. Part.Size = Vector3.new(5, 2, 3)
  1889. Part.CanCollide = false
  1890. local Weld = Instance.new("Weld", Part)
  1891. Weld.Part0 = game.Players.LocalPlayer.Character.Torso
  1892. Weld.Part1 = Part
  1893. Weld.C1 = CFrame.new(0, 0, 2)
  1894. Part.Touched:connect(function(Touch)
  1895. if game.Players:FindFirstChild(Touch.Parent.Name) then
  1896. local plr = game.Players:FindFirstChild(Touch.Parent.Name)
  1897. if plr.Name ~= game.Players.LocalPlayer.Name then
  1898. Part:Destroy()
  1899. for i = 1,100 do
  1900. MeleeEvent:FireServer(plr)
  1901. end
  1902. end
  1903. end
  1904. end)
  1905. wait(0.9)
  1906. Cooldown = false
  1907. Part:Destroy()
  1908. else
  1909. Cooldown = true
  1910. local Part = Instance.new("Part", game.Players.LocalPlayer.Character)
  1911. Part.Transparency = 1
  1912. Part.Size = Vector3.new(5, 2, 3)
  1913. Part.CanCollide = false
  1914. local Weld = Instance.new("Weld", Part)
  1915. Weld.Part0 = game.Players.LocalPlayer.Character.Torso
  1916. Weld.Part1 = Part
  1917. Weld.C1 = CFrame.new(0, 0, 2)
  1918. Part.Touched:connect(function(Touch)
  1919. if game.Players:FindFirstChild(Touch.Parent.Name) then
  1920. local plr = game.Players:FindFirstChild(Touch.Parent.Name)
  1921. if plr.Name ~= game.Players.LocalPlayer.Name then
  1922. Part:Destroy()
  1923. for i = 1,100 do
  1924. MeleeEvent:FireServer(plr)
  1925. end
  1926. end
  1927. end
  1928. end)
  1929. wait(0.1)
  1930. Cooldown = false
  1931. Part:Destroy()
  1932. end
  1933. end
  1934. Mouse.KeyDown:connect(function(Key)
  1935. if not Cooldown and States.SuperPunch then
  1936. if Key:lower() == "f" then
  1937. Punch()
  1938. end
  1939. end
  1940. end)
  1941. end
  1942. if Command("normalpunch") or Command("oldpunch") or Command("nosuperpunch") or Command("stoponepunch") or Command("unonepunch") or Command("unsuperpunch") then
  1943. States.SuperPunch = false
  1944. Notify("Turn super punch off", Color3.fromRGB(0, 255, 0), "Success")
  1945. end
  1946. if Command("superknife") then
  1947. local Knife = game.Players.LocalPlayer.Backpack:FindFirstChild("Crude Knife") or game.Players.LocalPlayer.Character:FindFirstChild("Crude Knife")
  1948. if not Knife then
  1949. workspace.Remote.ItemHandler:InvokeServer(workspace["Prison_ITEMS"].single["Crude Knife"].ITEMPICKUP)
  1950. end
  1951. wait()
  1952. Knife = game.Players.LocalPlayer.Backpack:FindFirstChild("Crude Knife") or game.Players.LocalPlayer.Character:FindFirstChild("Crude Knife")
  1953. if Knife then
  1954. local Cooldown = false
  1955. local Hitting = false
  1956. local Hitted = false
  1957. Knife.Equipped:Connect(function()
  1958. Knife.Activated:Connect(function()
  1959. if not Cooldown then
  1960. Cooldown = true
  1961. Hitting = true
  1962. for i,v in pairs(Knife:GetChildren()) do
  1963. if v:IsA("Part") then
  1964. v.Touched:Connect(function(Hit)
  1965. if Hit and Hit.Parent ~= game.Players.LocalPlayer and not Hitted and Hitting then
  1966. Hitted = true
  1967. for i = 1,25 do
  1968. game.ReplicatedStorage.meleeEvent:FireServer(game.Players[Hit.Parent.Name])
  1969. end
  1970. end
  1971. end)
  1972. end
  1973. end
  1974. wait(0.5)
  1975. Cooldown = false
  1976. Hitting = false
  1977. Hitted = false
  1978. end
  1979. end)
  1980. end)
  1981. end
  1982. Notify("Obtained super knife", Color3.fromRGB(0, 255, 0), "Success")
  1983. end
  1984. if Command("unview") or Command("unspectate") or Command("stopwatch") or Command("unwatch") then
  1985. Watching = nil
  1986. workspace.CurrentCamera.CameraSubject = game.Players.LocalPlayer.Character
  1987. Notify("Unviewed", Color3.fromRGB(0, 255, 0), "Success")
  1988. end
  1989. if Command("antivoid") or Command("antifell") then
  1990. States.Anti_Void = true
  1991. Notify("Turn anti void on", Color3.fromRGB(0, 255, 0), "Success")
  1992. while wait() do
  1993. if States.Anti_Void then
  1994. pcall(function()
  1995. if game.Players.LocalPlayer.Character.HumanoidRootPart.Position.Y < 1 then
  1996. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(888, 100, 2388)
  1997. end
  1998. end)
  1999. end
  2000. end
  2001. end
  2002. if Command("unantivoid") or Command("unantifell") then
  2003. States.Anti_Void = false
  2004. Notify("Turn anti void off", Color3.fromRGB(0, 255, 0), "Success")
  2005. end
  2006. if Command("bring") then
  2007. local Player = GetPlayer(Arg2)
  2008. if Player ~= nil then
  2009. Teleport(GetPlayer(Arg2), game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame)
  2010. Notify("Brought "..Player.Name, Color3.fromRGB(0, 255, 0), "Success")
  2011. else
  2012. Notify("No player found", Color3.fromRGB(255, 0, 0), "Error")
  2013. end
  2014. end
  2015. if Command("teleport") or Command("tp") then
  2016. local Player = GetPlayer(Arg2)
  2017. local Player2 = GetPlayer(Arg3)
  2018. if Player ~= nil and Player2 ~= nil then
  2019. TeleportV(Player, Player2)
  2020. Notify("Teleported "..Player.Name.." to "..Player2.Name, Color3.fromRGB(0, 255, 0), "Success")
  2021. else
  2022. Notify("No player found", Color3.fromRGB(0, 255, 0), "Error")
  2023. end
  2024. end
  2025. if Command("void") then
  2026. local Player = GetPlayer(Arg2)
  2027. if Player ~= nil then
  2028. Teleport(Player, CFrame.new(999999, 999999, 999999))
  2029. Notify("Voided "..Player.Name, Color3.fromRGB(0, 255, 0), "Success")
  2030. else
  2031. Notify("No player found", Color3.fromRGB(255, 0, 0), "Error")
  2032. end
  2033. end
  2034. if Command("killaura") then
  2035. States.Kill_Aura = true
  2036. Notify("Turn kill aura on", Color3.fromRGB(0, 255, 0), "Success")
  2037. end
  2038. if Command("nokillaura") or Command("unkillaura") then
  2039. States.Kill_Aura = false
  2040. Notify("Turn kill aura off", Color3.fromRGB(0, 255, 0), "Success")
  2041. end
  2042. if Command("auto") or Command("autore") or Command("autorefresh") then
  2043. States.Auto_Refresh = true
  2044. Notify("Turn auto refresh on", Color3.fromRGB(0, 255, 0), "Success")
  2045. while wait() do
  2046. if States.Auto_Refresh == true then
  2047. pcall(function()
  2048. if game.Players.LocalPlayer.Character.Humanoid.Health < 1 then
  2049. if game.Players.LocalPlayer.TeamColor.Name ~= "Medium stone grey" then
  2050. if game.Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPart") then
  2051. local savedcf = GetPos()
  2052. local savedcamcf = GetCamPos()
  2053. workspace.Remote.loadchar:InvokeServer()
  2054. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf
  2055. workspace.CurrentCamera.CFrame = savedcamcf
  2056. end
  2057. else
  2058. if game.Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPart") then
  2059. local savedcf = GetPos()
  2060. local savedcamcf = GetCamPos()
  2061. workspace.Remote.loadchar:InvokeServer(nil, BrickColor.new("Bright orange").Name)
  2062. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf
  2063. workspace.CurrentCamera.CFrame = savedcamcf
  2064. workspace.Remote.TeamEvent:FireServer("Medium stone grey")
  2065. end
  2066. end
  2067. end
  2068. end)
  2069. end
  2070. end
  2071. end
  2072. if Command("unauto") or Command("auntore") or Command("unautorefresh") then
  2073. States.Auto_Refresh = false
  2074. Notify("Turn auto refresh off", Color3.fromRGB(0, 255, 0), "Success")
  2075. end
  2076. if Command("prefix") or Command("newprefix") or Command("changeprefix") then
  2077. local NewPrefix = Arg2
  2078. if NewPrefix ~= nil then
  2079. Prefix = NewPrefix
  2080. Execute.PlaceholderText = "Press "..Prefix.." To Enter"
  2081. Notify("Changed prefix to "..NewPrefix, Color3.fromRGB(0, 255, 0), "Success")
  2082. else
  2083. Notify("Text needed", Color3.fromRGB(255, 0, 0), "Error")
  2084. end
  2085. end
  2086. if Command("speed") or Command("walkspeed") or Command("setspeed") or Command("setwalkspeed") then
  2087. local WalkSpeed = tonumber(Arg2)
  2088. if WalkSpeed ~= nil then
  2089. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = WalkSpeed
  2090. Notify("Changed walk speed to "..WalkSpeed, Color3.fromRGB(0, 255, 0), "Success")
  2091. else
  2092. Notify("Counts needed", Color3.fromRGB(255, 0, 0), "Error")
  2093. end
  2094. end
  2095. if Command("jumppower") or Command("jumphigh") or Command("setjumppower") then
  2096. local JumpPower = tonumber(Arg2)
  2097. if JumpPower ~= nil then
  2098. game.Players.LocalPlayer.Character.Humanoid.JumpPower = JumpPower
  2099. Notify("Changed jump power to "..JumpPower, Color3.fromRGB(0, 255, 0), "Success")
  2100. else
  2101. Notify("Counts needed", Color3.fromRGB(255, 0, 0), "Error")
  2102. end
  2103. end
  2104. if Command("hipheight") or Command("sethipheight") then
  2105. local HipHeight = tonumber(Arg2)
  2106. if HipHeight ~= nil then
  2107. game.Players.LocalPlayer.Character.Humanoid.HipHeight = HipHeight
  2108. Notify("Changed hip height to "..HipHeight, Color3.fromRGB(0, 255, 0), "Success")
  2109. else
  2110. Notify("Counts needed", Color3.fromRGB(255, 0, 0), "Error")
  2111. end
  2112. end
  2113. if Command("lagserver") or Command("disconnect") then
  2114. States.Lag_Server = true
  2115. Notify("Lagging server", Color3.fromRGB(0, 255, 0), "Success")
  2116. while wait() do
  2117. if States.Lag_Server then
  2118. coroutine.wrap(function()
  2119. pcall(function()
  2120. workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["Remington 870"].ITEMPICKUP)
  2121.  
  2122. local Gun = game.Players.LocalPlayer.Backpack["Remington 870"] or game.Players.LocalPlayer.Character["Remington 870"]
  2123.  
  2124. local args = {
  2125. [1] = {
  2126. ["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),
  2127. ["Distance"] = 0,
  2128. ["Cframe"] = CFrame.new(),
  2129. ["Hit"] = workspace[game.Players.LocalPlayer.Name].Head
  2130. }, [2] = {
  2131. ["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),
  2132. ["Distance"] = 0,
  2133. ["Cframe"] = CFrame.new(),
  2134. ["Hit"] = workspace[game.Players.LocalPlayer.Name].Head
  2135. }, [3] = {
  2136. ["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),
  2137. ["Distance"] = 0,
  2138. ["Cframe"] = CFrame.new(),
  2139. ["Hit"] = workspace[game.Players.LocalPlayer.Name].Head
  2140. }, [4] = {
  2141. ["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),
  2142. ["Distance"] = 0,
  2143. ["Cframe"] = CFrame.new(),
  2144. ["Hit"] = workspace[game.Players.LocalPlayer.Name].Head
  2145. }, [5] = {
  2146. ["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),
  2147. ["Distance"] = 0,
  2148. ["Cframe"] = CFrame.new(),
  2149. ["Hit"] = workspace[game.Players.LocalPlayer.Name].Head
  2150. }, [6] = {
  2151. ["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),
  2152. ["Distance"] = 0,
  2153. ["Cframe"] = CFrame.new(),
  2154. ["Hit"] = workspace[game.Players.LocalPlayer.Name].Head
  2155. }, [7] = {
  2156. ["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),
  2157. ["Distance"] = 0,
  2158. ["Cframe"] = CFrame.new(),
  2159. ["Hit"] = workspace[game.Players.LocalPlayer.Name].Head
  2160. }, [8] = {
  2161. ["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),
  2162. ["Distance"] = 0,
  2163. ["Cframe"] = CFrame.new(),
  2164. ["Hit"] = workspace[game.Players.LocalPlayer.Name].Head
  2165. }
  2166. }
  2167.  
  2168. game:GetService("ReplicatedStorage").ShootEvent:FireServer(args, Gun)
  2169. end)
  2170. end)()
  2171. end
  2172. end
  2173. end
  2174. if Command("unlagserver") or Command("stopdisconnect") or Command("undisconnect") then
  2175. States.Lag_Server = false
  2176. Notify("Unlagging server", Color3.fromRGB(0, 255, 0), "Success")
  2177. end
  2178. if Command("gravity") or Command("setgravity") then
  2179. local Gravity = tonumber(Arg2)
  2180. if Gravity ~= nil then
  2181. workspace.Gravity = Gravity
  2182. Notify("Changed gravity to "..Gravity, Color3.fromRGB(0, 255, 0), "Success")
  2183. else
  2184. Notify("Count needed", Color3.fromRGB(255, 0, 0), "Error")
  2185. end
  2186. end
  2187. if Command("makecrim") then
  2188. local Player = GetPlayer(Arg2)
  2189. if Player ~= nil then
  2190. Teleport(Player, CFrame.new(-919, 96, 2138))
  2191. Notify("Crimmed "..Player.Name, Color3.fromRGB(0, 255, 0), "Success")
  2192. else
  2193. Notify("No player found", Color3.fromRGB(255, 0, 0), "Error")
  2194. end
  2195. end
  2196. if Command("resetgravity") or Command("regravity") then
  2197. workspace.Gravity = 196.2
  2198. Notify("Resetted gravity", Color3.fromRGB(0, 255, 0), "Success")
  2199. end
  2200. if Command("resethipheight") or Command("rehipheight") then
  2201. game.Players.LocalPlayer.Character.Humanoid.HipHeight = 0
  2202. Notify("Resetted hip height", Color3.fromRGB(0, 255, 0), "Success")
  2203. end
  2204. if Command("resetspeed") or Command("respeed") then
  2205. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 16
  2206. Notify("Resetted walk speed", Color3.fromRGB(0, 255, 0), "Success")
  2207. end
  2208. if Command("resetjumppower") or Command("rejumppower") then
  2209. game.Players.LocalPlayer.Character.Humanoid.JumpPower = 50
  2210. Notify("Resetted jump power", Color3.fromRGB(0, 255, 0), "Success")
  2211. end
  2212. if Command("leave") or Command("leaveserver") or Command("quit") then
  2213. Notify("Leaving server", Color3.fromRGB(0, 255, 0), "Success")
  2214. wait(.1)
  2215. game:Shutdown()
  2216. end
  2217. if Command("rejoin") or Command("rj") then
  2218. Notify("Rejoining server", Color3.fromRGB(0, 255, 0), "Success")
  2219. wait(.1)
  2220. game:GetService("TeleportService"):Teleport(game.PlaceId, game.Players.LocalPlayer)
  2221. end
  2222. if Command("nodoors") or Command("deletedoors") then
  2223. if workspace:FindFirstChild("Doors") then
  2224. workspace.Doors.Parent = game.Lighting
  2225. end
  2226. Notify("Deleted doors", Color3.fromRGB(0, 255, 0), "Success")
  2227. end
  2228. if Command("doors") or Command("restoredoors") then
  2229. if game.Lighting:FindFirstChild("Doors") then
  2230. game.Lighting.Doors.Parent = workspace
  2231. end
  2232. Notify("Restored doors", Color3.fromRGB(0, 255, 0), "Success")
  2233. end
  2234. if Command("nowalls") or Command("deletedoors") then
  2235. pcall(function()
  2236. for i,v in pairs(Walls) do
  2237. v.Parent = game.Lighting
  2238. end
  2239. end)
  2240. Notify("Deleted walls", Color3.fromRGB(0, 255, 0), "Success")
  2241. end
  2242. if Command("walls") or Command("restorewalls") then
  2243. pcall(function()
  2244. for i,v in pairs(game.Lighting:GetChildren()) do
  2245. if v.Name ~= "Doors" then
  2246. v.Parent = workspace
  2247. end
  2248. end
  2249. end)
  2250. Notify("Restored walls", Color3.fromRGB(0, 255, 0), "Success")
  2251. end
  2252. if Command("god") or Command("godmode") then
  2253. States.God_Mode = true
  2254. Notify("Turn god mode on", Color3.fromRGB(0, 255, 0), "Success")
  2255. while wait() do
  2256. if States.God_Mode then
  2257. game.Players.LocalPlayer.Character.Humanoid.Name = 1
  2258. local l = game.Players.LocalPlayer.Character["1"]:Clone()
  2259. l.Parent = game.Players.LocalPlayer.Character
  2260. l.Name = "Humanoid"
  2261. game.Players.LocalPlayer.Character.Animate.Disabled = true
  2262. wait()
  2263. game.Players.LocalPlayer.Character.Animate.Disabled = false
  2264. game.Players.LocalPlayer.Character["1"]:Destroy()
  2265. game.Workspace.CurrentCamera.CameraSubject = game.Players.LocalPlayer.Character
  2266. wait(5)
  2267. local savedcf = GetPos()
  2268. local savedcamcf = GetCamPos()
  2269. local savedteam = GetTeam()
  2270. workspace.Remote.loadchar:InvokeServer(nil, BrickColor.new(savedteam).Name)
  2271. workspace.CurrentCamera.CFrame = savedcamcf
  2272. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf
  2273. end
  2274. end
  2275. end
  2276. if Command("ungod") or Command("ungodmode") then
  2277. States.God_Mode = false
  2278. Notify("Turn god mode off", Color3.fromRGB(0, 255, 0), "Success")
  2279. end
  2280. if Command("arrest") or Command("handcuffs") then
  2281. local Player = GetPlayer(Arg2)
  2282. if Player ~= nil then
  2283. Arrest(Player, tonumber(Arg3))
  2284. Notify("Arrested "..Player.Name, Color3.fromRGB(0, 255, 0), "Success")
  2285. else
  2286. Notify("No player found", Color3.fromRGB(255, 0, 0), "Error")
  2287. end
  2288. end
  2289. if Command("arrestall") or Command("arrestother") or Command("arrestothers") then
  2290. for i,v in pairs(game.Players:GetPlayers()) do
  2291. if v ~= game.Players.LocalPlayer then
  2292. if v.TeamColor.Name == "Really red" then
  2293. Arrest(v, 30)
  2294. end
  2295. end
  2296. end
  2297. Notify("Arrested all criminals", Color3.fromRGB(0, 255, 0), "Success")
  2298. end
  2299. if Command("opengate") then
  2300. workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.buttons["Prison Gate"]["Prison Gate"])
  2301. Notify("Opened gate", Color3.fromRGB(0, 255, 0), "Success")
  2302. end
  2303. if Command("getpos") then
  2304. print("Humanoid Root Part Position :")
  2305. print(game.Players.LocalPlayer.Character.HumanoidRootPart.Position)
  2306. print("Camera CFrame :")
  2307. print(workspace.CurrentCamera.CFrame)
  2308. Notify("Printed positions", Color3.fromRGB(0, 255, 0), "Success")
  2309. end
  2310. if Command("saveposition") or Command("savepos") then
  2311. States.SavedCFrame = GetPos()
  2312. Notify("Saved positions", Color3.fromRGB(0, 255, 0), "Success")
  2313. end
  2314. if Command("loadposition") or Command("loadpos") then
  2315. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = States.SavedCFrame
  2316. Notify("Loaded positions", Color3.fromRGB(0, 255, 0), "Success")
  2317. end
  2318. if Command("spamchat") then
  2319. States.SpamChat = true
  2320. Notify("Spamming chat", Color3.fromRGB(0, 255, 0), "Success")
  2321. if tonumber(Arg2) ~= nil then
  2322. States.Spam_Wait = tonumber(Arg2)
  2323. else
  2324. States.Spam_Wait = 1
  2325. end
  2326. while wait() do
  2327. if States.SpamChat then
  2328. local MessagesToChat = {
  2329. "I'm your dad",
  2330. "I'm your mom",
  2331. "I'm a god and I'm your dad",
  2332. "__________",
  2333. "OMG",
  2334. "OML",
  2335. "BEPP BOP BEEP BEEP BOP",
  2336. " ",
  2337. "I'm magic guy because i pressed W,A,S and D on my keyboard and my character can be walked wow, I'M THE REAL MAGIC GUY!",
  2338. "I'M THE MOST PRO IN HERE",
  2339. "I'M A PRO IN THIS SERVER ALL OF YOU ARE NOOB!",
  2340. "LOL XD LOL XD LOL XD",
  2341. "Read my chat",
  2342. "Can you die while you are died?",
  2343. "You know what, I'm a god",
  2344. "Sub to CXZ NAME_R",
  2345. "WOW",
  2346. "wow",
  2347. "\( ̄︶ ̄*\))"
  2348. }
  2349.  
  2350. while true do
  2351. wait(States.Spam_Wait)
  2352. if States.SpamChat then
  2353. pcall(function()
  2354. Chat(MessagesToChat[math.random(1, #MessagesToChat)])
  2355. end)
  2356. end
  2357. end
  2358. end
  2359. end
  2360. end
  2361. if Command("unspamchat") then
  2362. States.SpamChat = false
  2363. Notify("Unspamming chat", Color3.fromRGB(0, 255, 0), "Success")
  2364. end
  2365. if Command("rapidfire") then
  2366. local Tool = game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool")
  2367. local Name
  2368. local Req
  2369. if Tool then
  2370. Notify("Activated rapid fire", Color3.fromRGB(0, 255, 0), "Success")
  2371. States.CAN = true
  2372. Name = Tool.Name
  2373. if Tool:FindFirstChild("GunStates") then
  2374. Req = require(Tool.GunStates)
  2375. Req["MaxAmmo"] = Req["MaxAmmo"]
  2376. Req["StoredAmmo"] = Req["StoredAmmo"]
  2377. Req["AmmoPerClip"] = Req["AmmoPerClip"]
  2378. Req["CurrentAmmo"] = Req["CurrentAmmo"]
  2379. Req["FireRate"] = -math.huge
  2380. Req["Bullets"] = 25
  2381. Req["Range"] = math.huge
  2382. Req["Damage"] = math.huge
  2383. Req["ReloadTime"] = -math.huge
  2384. Req["AutoFire"] = true
  2385. end
  2386. end
  2387. while wait() do
  2388. pcall(function()
  2389. if game.Players.LocalPlayer.Character:FindFirstChild(Name) and States.CAN then
  2390. if Req["CurrentAmmo"] < 1 then
  2391. Tool:Destroy()
  2392. workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver[Name].ITEMPICKUP)
  2393. Tool = game.Players.LocalPlayer.Backpack:FindFirstChild(Name)
  2394. if Tool then
  2395. Name = Tool.Name
  2396. Tool.Parent = game.Players.LocalPlayer.Character
  2397. Tool = game.Players.LocalPlayer.Character[Name]
  2398. Req = require(Tool.GunStates)
  2399. Req["MaxAmmo"] = Req["MaxAmmo"]
  2400. Req["StoredAmmo"] = Req["StoredAmmo"]
  2401. Req["AmmoPerClip"] = Req["AmmoPerClip"]
  2402. Req["CurrentAmmo"] = Req["CurrentAmmo"]
  2403. Req["FireRate"] = -math.huge
  2404. Req["Bullets"] = 25
  2405. Req["Range"] = math.huge
  2406. Req["Damage"] = math.huge
  2407. Req["ReloadTime"] = -math.huge
  2408. Req["AutoFire"] = true
  2409. end
  2410. end
  2411. end
  2412. end)
  2413. end
  2414. end
  2415. if Command("autorapidfire") then
  2416. States.Auto_RapidFire = true
  2417. Notify("Turn auto rapid fire on", Color3.fromRGB(0, 255, 0), "Success")
  2418. game.Players.LocalPlayer.CharacterAdded:Connect(function()
  2419. game.Players.LocalPlayer.Character.ChildAdded:Connect(function(Item)
  2420. if States.Auto_RapidFire then
  2421. local Tool = game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool")
  2422. local Name
  2423. local Req
  2424. if Tool then
  2425. States.CAN = true
  2426. Name = Tool.Name
  2427. if Tool:FindFirstChild("GunStates") then
  2428. Req = require(Tool.GunStates)
  2429. Req["MaxAmmo"] = Req["MaxAmmo"]
  2430. Req["StoredAmmo"] = Req["StoredAmmo"]
  2431. Req["AmmoPerClip"] = Req["AmmoPerClip"]
  2432. Req["CurrentAmmo"] = Req["CurrentAmmo"]
  2433. Req["FireRate"] = -math.huge
  2434. Req["Bullets"] = 25
  2435. Req["Range"] = math.huge
  2436. Req["Damage"] = math.huge
  2437. Req["ReloadTime"] = -math.huge
  2438. Req["AutoFire"] = true
  2439. end
  2440. end
  2441. while wait() do
  2442. pcall(function()
  2443. if game.Players.LocalPlayer.Character:FindFirstChild(Name) and States.CAN then
  2444. if Req["CurrentAmmo"] < 1 then
  2445. Tool:Destroy()
  2446. workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver[Name].ITEMPICKUP)
  2447. Tool = game.Players.LocalPlayer.Backpack:FindFirstChild(Name)
  2448. if Tool then
  2449. Name = Tool.Name
  2450. Tool.Parent = game.Players.LocalPlayer.Character
  2451. Tool = game.Players.LocalPlayer.Character[Name]
  2452. Req = require(Tool.GunStates)
  2453. Req["MaxAmmo"] = Req["MaxAmmo"]
  2454. Req["StoredAmmo"] = Req["StoredAmmo"]
  2455. Req["AmmoPerClip"] = Req["AmmoPerClip"]
  2456. Req["CurrentAmmo"] = Req["CurrentAmmo"]
  2457. Req["FireRate"] = -math.huge
  2458. Req["Bullets"] = 25
  2459. Req["Range"] = math.huge
  2460. Req["Damage"] = math.huge
  2461. Req["ReloadTime"] = -math.huge
  2462. Req["AutoFire"] = true
  2463. end
  2464. end
  2465. end
  2466. end)
  2467. end
  2468. end
  2469. end)
  2470. end)
  2471. if game.Players.LocalPlayer.TeamColor.Name ~= "Medium stone grey" then
  2472. local savedcf = GetPos()
  2473. local savedcamcf = GetCamPos()
  2474. workspace.Remote.loadchar:InvokeServer()
  2475. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf
  2476. workspace.CurrentCamera.CFrame = savedcamcf
  2477. else
  2478. local savedcf = GetPos()
  2479. local savedcamcf = GetCamPos()
  2480. workspace.Remote.loadchar:InvokeServer(nil, BrickColor.new("Bright orange").Name)
  2481. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf
  2482. workspace.CurrentCamera.CFrame = savedcamcf
  2483. workspace.Remote.TeamEvent:FireServer("Medium stone grey")
  2484. end
  2485. end
  2486. if Command("unautorapidfire") then
  2487. States.Auto_RapidFire = false
  2488. if game.Players.LocalPlayer.TeamColor.Name ~= "Medium stone grey" then
  2489. local savedcf = GetPos()
  2490. local savedcamcf = GetCamPos()
  2491. workspace.Remote.loadchar:InvokeServer()
  2492. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf
  2493. workspace.CurrentCamera.CFrame = savedcamcf
  2494. else
  2495. local savedcf = GetPos()
  2496. local savedcamcf = GetCamPos()
  2497. workspace.Remote.loadchar:InvokeServer(nil, BrickColor.new("Bright orange").Name)
  2498. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf
  2499. workspace.CurrentCamera.CFrame = savedcamcf
  2500. workspace.Remote.TeamEvent:FireServer("Medium stone grey")
  2501. end
  2502. Notify("Turn auto rapid fire off", Color3.fromRGB(0, 255, 0), "Success")
  2503. end
  2504. if Command("notifybar") then
  2505. Background4.Visible = true
  2506. end
  2507. if Command("loopbring") then
  2508. local Player = GetPlayer(Arg2)
  2509. if Player ~= nil then
  2510. Notify("Looping bring "..Player.Name, Color3.fromRGB(0, 255, 0), "Success")
  2511. States.PlayerToLoopBring = Player
  2512. States.LoopBring = true
  2513. repeat wait()
  2514. pcall(function()
  2515. if States.LoopBring and game.Players[States.PlayerToLoopBring.Name] then
  2516. local savedcf = GetPos()
  2517. Teleport(States.PlayerToLoopBring, GetPos())
  2518. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf
  2519. end
  2520. end)
  2521. until States.LoopBring == false
  2522. end
  2523. end
  2524. if Command("unloopbring") then
  2525. States.LoopBring = false
  2526. States.PlayerToLoopBring = nil
  2527. Notify("Unlooping bring", Color3.fromRGB(0, 255, 0), "Success")
  2528. end
  2529. if Command("admin") or Command("giveadmin") then
  2530. local Player = GetPlayer(Arg2)
  2531. if Player ~= nil and not Admin[Player.UserId] then
  2532. Admin[Player.UserId] = {Player = Player}
  2533. Chat("/w "..Player.Name.." You've got admin permissions! Type "..Prefix.."cmds or "..Prefix.."cmd to see all commands")
  2534. Notify("Gave "..Player.Name.." admin commands", Color3.fromRGB(0, 255, 0), "Success")
  2535. else
  2536. Notify("No player found / already admin", Color3.fromRGB(255, 0, 0), "Error")
  2537. end
  2538. end
  2539. if Command("unadmin") or Command("removeadmin") then
  2540. local Player = GetPlayer(Arg2)
  2541. if Player ~= nil and Admin[Player.UserId] then
  2542. Admin[Player.UserId] = nil
  2543. Chat("/w "..Player.Name.." You are bad you've been removed admin permissions")
  2544. Notify("Removed admins from "..Player.Name, Color3.fromRGB(0, 255, 0), "Success")
  2545. else
  2546. Notify("No player found / already admin", Color3.fromRGB(255, 0, 0), "Error")
  2547. end
  2548. end
  2549. if Command("baseballbat") or Command("bat") then
  2550. local LocalPlayer = game.Players.LocalPlayer
  2551. local Character = LocalPlayer.Character
  2552. local Backpack = LocalPlayer.Backpack
  2553. local Humanoid = Character.Humanoid
  2554. if not Backpack:FindFirstChild("Bat") or not Backpack:FindFirstChild("Bat") then
  2555. local BaseBallBat = Instance.new("Tool", Backpack)
  2556. local Handle = Instance.new("Part", BaseBallBat)
  2557. BaseBallBat.GripPos = Vector3.new(0, -1.15, 0)
  2558. BaseBallBat.Name = "Bat"
  2559. Handle.Name = "Handle"
  2560. Handle.Size = Vector3.new(0.4, 5, 0.4)
  2561. local Animation =Instance.new("Animation", BaseBallBat)
  2562. Animation.AnimationId = "rbxassetid://218504594"
  2563. local Track = Humanoid:LoadAnimation(Animation)
  2564. local Cooldown = false
  2565. local Attacked = false
  2566. local Attacking = false
  2567. BaseBallBat.Equipped:Connect(function()
  2568. BaseBallBat.Activated:Connect(function()
  2569. if not Cooldown then
  2570. Cooldown = true
  2571. Attacking = true
  2572. Track:Play()
  2573. Handle.Touched:Connect(function(Hit)
  2574. if Hit.Parent and Hit.Parent ~= game.Players.LocalPlayer and not Attacked and Attacking then
  2575. Attacked = true
  2576. for i = 1,15 do
  2577. game.ReplicatedStorage.meleeEvent:FireServer(game.Players[Hit.Parent.Name])
  2578. end
  2579. end
  2580. end)
  2581. wait(0.25)
  2582. Cooldown = false
  2583. Attacked = false
  2584. Attacking = false
  2585. end
  2586. end)
  2587. end)
  2588. end
  2589. Notify("Obtained base ball bat", Color3.fromRGB(0, 255, 0), "Success")
  2590. end
  2591. if Command("tools") or Command("tool") or Command("btool") or Command("btools") then
  2592. local Backpack = game.Players.LocalPlayer.Backpack
  2593. local Character = game.Players.LocalPlayer.Character
  2594. if not Backpack:FindFirstChild("Bin_1") and not Character:FindFirstChild("Bin_1") then
  2595. local HopperBin_1 = Instance.new("HopperBin", Backpack)
  2596. HopperBin_1.BinType = 1
  2597. HopperBin_1.Name = "Bin_1"
  2598. end
  2599. if not Backpack:FindFirstChild("Bin_2") and not Character:FindFirstChild("Bin_2") then
  2600. local HopperBin_2 = Instance.new("HopperBin", Backpack)
  2601. HopperBin_2.BinType = 2
  2602. HopperBin_2.Name = "Bin_2"
  2603. end
  2604. if not Backpack:FindFirstChild("Bin_3") and not Character:FindFirstChild("Bin_3") then
  2605. local HopperBin_3 = Instance.new("HopperBin", Backpack)
  2606. HopperBin_3.BinType = 3
  2607. HopperBin_3.Name = "Bin_3"
  2608. end
  2609. if not Backpack:FindFirstChild("Bin_4") and not Character:FindFirstChild("Bin_4") then
  2610. local HopperBin_4 = Instance.new("HopperBin", Backpack)
  2611. HopperBin_4.BinType = 4
  2612. HopperBin_4.Name = "Bin_4"
  2613. end
  2614. loadstring(game:GetObjects("rbxassetid://552440069")[1].Source)()
  2615. Notify("Obtained btools", Color3.fromRGB(0, 255, 0), "Success")
  2616. end
  2617. if Command("test") then
  2618. local savedcf = GetPos()
  2619. local CrimPad = workspace["Criminals Spawn"].SpawnLocation
  2620. local padcf = CrimPad.CFrame
  2621. workspace.Remote.loadchar:InvokeServer(nil, BrickColor.new("Really red").Name)
  2622. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CrimPad.CFrame
  2623. wait()
  2624. CrimPad.CFrame = GetPos()
  2625. CrimPad.CanCollide = false
  2626. CrimPad.Transparency = 1.000
  2627. CrimPad.Anchored = true
  2628. pcall(function()
  2629. for i,v in pairs(game.Teams.Inmates:GetPlayers()) do
  2630. if v ~= game.Players.LocalPlayer then
  2631. CrimPad.CFrame = v.Character.HumanoidRootPart.CFrame
  2632. end
  2633. end
  2634. for i,v in pairs(game.Teams.Guards:GetPlayers()) do
  2635. if v ~= game.Players.LocalPlayer then
  2636. CrimPad.CFrame = v.Character.HumanoidRootPart.CFrame
  2637. end
  2638. end
  2639. end)
  2640. workspace.Remote.loadchar:InvokeServer()
  2641. CrimPad.Transparency = 0.000
  2642. CrimPad.CFrame = padcf
  2643. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf
  2644. Notify("???", Color3.fromRGB(0, 0, 0), "LOL")
  2645. end
  2646. if Command("antilag") or Command("boostfps") then
  2647. States.BoostFps = true
  2648. Notify("Turn anti lag on", Color3.fromRGB(0, 255, 0), "Success")
  2649. for _, v in pairs(game:GetDescendants()) do
  2650. pcall(function()
  2651. v.Material = Enum.Material.Plastic
  2652. States[v.Name] = {Material = v.Material}
  2653. end)
  2654. end
  2655. while wait() do
  2656. if States.BoostFps then
  2657. for i,v in pairs(game.Players:GetChildren()) do
  2658. if v ~= game.Players.LocalPlayer then
  2659. pcall(function()
  2660. if v.Character.Humanoid.Health < 1 then
  2661. v.Character:Destroy()
  2662. end
  2663. end)
  2664. end
  2665. end
  2666. end
  2667. end
  2668. end
  2669. if Command("unantilag") then
  2670. States.BoostFps = false
  2671. Notify("Turn anti lag off", Color3.fromRGB(0, 255, 0), "Success")
  2672. for _, v in pairs(game:GetDescendants()) do
  2673. pcall(function()
  2674. v.Material = States[v.Name].Material
  2675. end)
  2676. end
  2677. end
  2678. if Command("serverhop") or Command("newserver") or Command("changeserver") then
  2679. Notify("Changing server", Color3.fromRGB(0, 255, 0), "Success")
  2680. wait(.1)
  2681. game:GetService("TeleportService"):Teleport(game.PlaceId)
  2682. end
  2683. if Command("nexus") then
  2684. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(888, 100, 2388)
  2685. end
  2686. if Command("cafe") then
  2687. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(877, 100, 2256)
  2688. end
  2689. if Command("backnexus") then
  2690. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(982, 100, 2334)
  2691. end
  2692. if Command("yard") then
  2693. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(791, 98, 2498)
  2694. end
  2695. if Command("crimbase") or Command("criminalbase") then
  2696. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-943, 95, 2055)
  2697. end
  2698. if Command("armory") then
  2699. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(789, 100, 2260)
  2700. end
  2701. if Command("lunchroom") then
  2702. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(905, 100, 2226)
  2703. end
  2704. if Command("gate") then
  2705. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(505, 103, 2250)
  2706. end
  2707. if Command("tower") then
  2708. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(822, 131, 2588)
  2709. end
  2710. if Command("gatetower") then
  2711. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(502, 126, 2306)
  2712. end
  2713. if Command("sewer") then
  2714. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(916, 79, 2311)
  2715. end
  2716. if Command("makecrimall") then
  2717. local savedcf = GetPos()
  2718. local CrimPad = workspace["Criminals Spawn"].SpawnLocation
  2719. local padcf = CrimPad.CFrame
  2720. workspace.Remote.loadchar:InvokeServer(nil, BrickColor.new("Really red").Name)
  2721. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CrimPad.CFrame
  2722. wait()
  2723. CrimPad.CFrame = GetPos()
  2724. CrimPad.CanCollide = false
  2725. CrimPad.Transparency = 1.000
  2726. CrimPad.Anchored = true
  2727. repeat wait()
  2728. pcall(function()
  2729. for i,v in pairs(game.Teams.Inmates:GetPlayers()) do
  2730. if v ~= game.Players.LocalPlayer then
  2731. Teleport(v, CrimPad.CFrame)
  2732. end
  2733. end
  2734. for i,v in pairs(game.Teams.Guards:GetPlayers()) do
  2735. if v ~= game.Players.LocalPlayer then
  2736. Teleport(v, CrimPad.CFrame)
  2737. end
  2738. end
  2739. end)
  2740. until #game.Teams.Criminals:GetPlayers() == (#game.Players:GetPlayers()-#game.Teams.Neutral:GetPlayers())
  2741. workspace.Remote.loadchar:InvokeServer()
  2742. CrimPad.Transparency = 0.000
  2743. CrimPad.CFrame = padcf
  2744. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf
  2745. Notify("Make everyone crimmed", Color3.fromRGB(0, 255, 0), "Success")
  2746. end
  2747. if Command("bringall") then
  2748. for i,v in pairs(game.Players:GetPlayers()) do
  2749. if v ~= game.Players.LocalPlayer then
  2750. Teleport(v, GetPos())
  2751. end
  2752. end
  2753. Notify("Broght all", Color3.fromRGB(0, 255, 0), "Success")
  2754. end
  2755. if Command("notify") then
  2756. States.Notify = true
  2757. Notify("Notify on", Color3.fromRGB(0, 255, 0), "Success")
  2758. end
  2759. if Command("nonotify") then
  2760. States.Notify = false
  2761. Notify("Notify off", Color3.fromRGB(0, 255, 0), "Success")
  2762. end
  2763. if PrefixCommand("getprefix") then
  2764. Chat("Prefix : "..Prefix)
  2765. Notify("Prefix : "..Prefix, Color3.fromRGB(0, 255, 0), "Success")
  2766. end
  2767. if Command("cmd") or Command("cmds") then
  2768. if Background.Visible == true then
  2769. Background.Visible = false
  2770. else
  2771. Background.Visible = true
  2772. end
  2773. Notify("Showed Commands", Color3.fromRGB(0, 255, 0), "Success")
  2774. end
  2775.  
  2776. end
  2777.  
  2778. function AdminPlayerChatted(Message, Player)
  2779. Split = Message:split(" ")
  2780. Arg1 = Split[1]
  2781. Arg2 = Split[2]
  2782. Arg3 = Split[3]
  2783. Arg4 = Split[4]
  2784. if Command("nexus") then
  2785. Teleport(Player, CFrame.new(888, 100, 2388))
  2786. end
  2787. if Command("cafe") then
  2788. Teleport(Player, CFrame.new(877, 100, 2256))
  2789. end
  2790. if Command("backnexus") then
  2791. Teleport(Player, CFrame.new(982, 100, 2334))
  2792. end
  2793. if Command("armory") then
  2794. Teleport(Player, CFrame.new(789, 100, 2260))
  2795. end
  2796. if Command("tower") then
  2797. Teleport(Player, CFrame.new(822, 131, 2588))
  2798. end
  2799. if Command("crimbase") or Command("criminalbase") then
  2800. Teleport(Player, CFrame.new(-942, 94, 2055))
  2801. end
  2802. if Command("bring") then
  2803. TeleportV(GetPlayer(Arg2), Player)
  2804. end
  2805. if Command("void") then
  2806. Teleport(GetPlayer(Arg2), CFrame.new(99999, 99999, 99999))
  2807. end
  2808. if Command("beam") then
  2809. Beam(GetPlayer(Arg2), math.huge, 1)
  2810. end
  2811. if Command("yard") then
  2812. Teleport(Player, CFrame.new(791, 98, 2498))
  2813. end
  2814. if Command("disconnect") then
  2815. States.Disconnect = true
  2816. while wait() do
  2817. if States.Disconnect then
  2818. coroutine.wrap(function()
  2819. pcall(function()
  2820. workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["Remington 870"].ITEMPICKUP)
  2821.  
  2822. local Gun = game.Players.LocalPlayer.Backpack["Remington 870"] or game.Players.LocalPlayer.Character["Remington 870"]
  2823.  
  2824. local args = {
  2825. [1] = {
  2826. ["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),
  2827. ["Distance"] = 0,
  2828. ["Cframe"] = CFrame.new(),
  2829. ["Hit"] = workspace[game.Players.LocalPlayer.Name].Head
  2830. }, [2] = {
  2831. ["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),
  2832. ["Distance"] = 0,
  2833. ["Cframe"] = CFrame.new(),
  2834. ["Hit"] = workspace[game.Players.LocalPlayer.Name].Head
  2835. }, [3] = {
  2836. ["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),
  2837. ["Distance"] = 0,
  2838. ["Cframe"] = CFrame.new(),
  2839. ["Hit"] = workspace[game.Players.LocalPlayer.Name].Head
  2840. }, [4] = {
  2841. ["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),
  2842. ["Distance"] = 0,
  2843. ["Cframe"] = CFrame.new(),
  2844. ["Hit"] = workspace[game.Players.LocalPlayer.Name].Head
  2845. }, [5] = {
  2846. ["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),
  2847. ["Distance"] = 0,
  2848. ["Cframe"] = CFrame.new(),
  2849. ["Hit"] = workspace[game.Players.LocalPlayer.Name].Head
  2850. }, [6] = {
  2851. ["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),
  2852. ["Distance"] = 0,
  2853. ["Cframe"] = CFrame.new(),
  2854. ["Hit"] = workspace[game.Players.LocalPlayer.Name].Head
  2855. }, [7] = {
  2856. ["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),
  2857. ["Distance"] = 0,
  2858. ["Cframe"] = CFrame.new(),
  2859. ["Hit"] = workspace[game.Players.LocalPlayer.Name].Head
  2860. }, [8] = {
  2861. ["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),
  2862. ["Distance"] = 0,
  2863. ["Cframe"] = CFrame.new(),
  2864. ["Hit"] = workspace[game.Players.LocalPlayer.Name].Head
  2865. }
  2866. }
  2867.  
  2868. game:GetService("ReplicatedStorage").ShootEvent:FireServer(args, Gun)
  2869. end)
  2870. end)()
  2871. end
  2872. end
  2873. end
  2874. if Command("undisconnect") then
  2875. States.Disconnect = false
  2876. end
  2877. if Command("spamarrest") then
  2878. local GP = GetPlayer(Arg2)
  2879. if GP then
  2880. States.SpamArrest2 = true
  2881. repeat wait()
  2882. local Time = 0
  2883. pcall(function()
  2884. if GP.TeamColor.Name == "Bright orange" then
  2885. Teleport(GP, GetPos())
  2886. repeat wait(.01)
  2887. Time = Time + 1
  2888. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = GP.Character.HumanoidRootPart.CFrame * CFrame.new(0, 0, 1)
  2889. workspace.Remote.arrest:InvokeServer(GP.Character.Head)
  2890. until GP.Character.Head:FindFirstChild("handcuffedGui") or Time >= 250
  2891. if GP.Character.Head:FindFirstChild("handcuffedGui") then
  2892. Arrest(GP, 10000)
  2893. end
  2894. end
  2895. if GP.TeamColor.Name ~= "Really red" and not GP.Character.Head:FindFirstChild("handcuffedGui") then
  2896. if not States.SpamArrest2 then return end
  2897. repeat Teleport(GP, CFrame.new(-919, 96, 2138)) until GP.TeamColor.Name == "Really red" or not States.SpamArrest2 or not game.Players[GP.Name]
  2898. end
  2899. wait(.1)
  2900. if not GP.Character.Head:FindFirstChild("handcuffedGui") then
  2901. Arrest(GP, 10000)
  2902. end
  2903. end)
  2904. until not States.SpamArrest2 or not game.Players[GP.Name]
  2905. end
  2906. end
  2907. if Command("unspamarrest") then
  2908. States.SpamArrest2 = false
  2909. end
  2910. if Command("killguard") or Command("killguards") then
  2911. for i,v in pairs(game.Teams.Guards:GetPlayers()) do
  2912. if v ~= game.Players.LocalPlayer or v ~= Player then
  2913. Kill(v)
  2914. end
  2915. end
  2916. end
  2917. if Command("killinmate") or Command("killinmates") then
  2918. for i,v in pairs(game.Teams.Inmates:GetPlayers()) do
  2919. if v ~= game.Players.LocalPlayer or v ~= Player then
  2920. Kill(v)
  2921. end
  2922. end
  2923. end
  2924. if Command("killcriminal") or Command("killcriminals") then
  2925. for i,v in pairs(game.Teams.Criminals:GetPlayers()) do
  2926. if v ~= game.Players.LocalPlayer or v ~= Player then
  2927. Kill(v)
  2928. end
  2929. end
  2930. end
  2931. if Command("killall") or Command("killothers") then
  2932. for i,v in pairs(game.Players:GetPlayers()) do
  2933. if v ~= game.Players.LocalPlayer or v ~= Player then
  2934. Kill(v)
  2935. end
  2936. end
  2937. end
  2938. if Command("kill") or Command("kills") then
  2939. Kill(GetPlayer(Arg2))
  2940. end
  2941. if Command("loopkill") or Command("loopkills") then
  2942. local Player = GetPlayer(Arg2)
  2943. if Player ~= nil and not LoopKill[Player.UserId] then
  2944. LoopKill[Player.UserId] = {Player = Player}
  2945. end
  2946. end
  2947. if Command("unloopkill") or Command("unloopkills") then
  2948. local Player = GetPlayer(Arg2)
  2949. if Player ~= nil and LoopKill[Player.UserId] then
  2950. LoopKill[Player.UserId] = nil
  2951. end
  2952. end
  2953. if Command("tase") then
  2954. local Player = GetPlayer(Arg2)
  2955. if Player ~= nil then
  2956. Tase(Player)
  2957. end
  2958. end
  2959. if Command("makecrim") then
  2960. Teleport(GetPlayer(Arg2), CFrame.new(-919, 96, 2138))
  2961. end
  2962. if Command("arrest") then
  2963. Arrest(GetPlayer(Arg2))
  2964. end
  2965. if Command("crim") then
  2966. Teleport(Player, CFrame.new(-919, 96, 2138))
  2967. end
  2968. if Command("goto") or Command("to") then
  2969. TeleportV(Player, GetPlayer(Arg2))
  2970. end
  2971. if Command("cmd") or Command("cmds") then
  2972. Chat("/w "..Player.Name.." "..Prefix.."goto [plr] "..Prefix.."to [plr] "..Prefix.."kill [plr] "..Prefix.."kills [plr] "..Prefix.."makecrim [plr] "..Prefix.."arrest [plr] "..Prefix.."tase [plr] "..Prefix.."loopkill [plr] "..Prefix.."unloopkill [plr]") wait(.1)
  2973. Chat("/w "..Player.Name.." "..Prefix.."crim "..Prefix.."tower "..Prefix.."nexus "..Prefix.."backnexus "..Prefix.."cafe "..Prefix.."armory "..Prefix.."bring [plr]") wait(.1)
  2974. Chat("/w "..Player.Name.." "..Prefix.."killall "..Prefix.."killothers "..Prefix.."killinmate "..Prefix.."killinmates "..Prefix.."killguard "..Prefix.."killguards "..Prefix.."killcriminals "..Prefix.."killcriminal "..Prefix.."void [plr]")
  2975. Chat("/w "..Player.Name.." "..Prefix.."spamarrest [plr] "..Prefix.."unspamarrest "..Prefix.."disconnect "..Prefix.." "..Prefix.."beam [plr]")
  2976. Chat("/w "..Player.Name.." "..Prefix.."cmd "..Prefix.."cmds") wait(.1)
  2977. end
  2978. end
  2979.  
  2980. game.Players.LocalPlayer.Chatted:Connect(PlayerChatted)
  2981.  
  2982. spawn(function()
  2983. while wait() do
  2984. for i,v in pairs(LoopKill) do
  2985. pcall(function()
  2986. if v.Player and v.Player.Character and v.Player.Character.Head and v.Player.Character.Humanoid.Health ~= 0 then
  2987. Kill(v.Player)
  2988. end
  2989. end)
  2990. end
  2991. end
  2992. end)
  2993.  
  2994. spawn(function()
  2995. while wait() do
  2996. for i,v in pairs(LoopBeam) do
  2997. pcall(function()
  2998. if v and v.Player and v.Player.Character and v.Player.Character.Head and v.Player.Character.HumanoidRootPart then
  2999. Beam(v.Player, math.huge, 1)
  3000. end
  3001. end)
  3002. end
  3003. end
  3004. end)
  3005.  
  3006. spawn(function()
  3007. while wait() do
  3008. if States.Fast_Punch == true then
  3009. pcall(function()
  3010. getsenv(game.Players.LocalPlayer.Character.ClientInputHandler).cs.isFighting = false
  3011. end)
  3012. end
  3013. end
  3014. end)
  3015.  
  3016. coroutine.wrap(function()
  3017. while wait() do
  3018. if States.Kill_Aura then
  3019. for i,v in pairs(game.Players:GetPlayers()) do
  3020. pcall(function()
  3021. if v ~= game.Players.LocalPlayer then
  3022. local Distance = (v.Character:FindFirstChildOfClass("Part").Position - game.Players.LocalPlayer.Character:FindFirstChildOfClass("Part").Position).magnitude
  3023. if Distance <= 10 then
  3024. for i = 1,25 do
  3025. game.ReplicatedStorage.meleeEvent:FireServer(v)
  3026. end
  3027. end
  3028. end
  3029. end)
  3030. end
  3031. end
  3032. end
  3033. end)()
  3034.  
  3035. function CheckPermissions(Player)
  3036. Player.Chatted:Connect(function(Message)
  3037. if Admin[Player.UserId] then
  3038. AdminPlayerChatted(Message, Player)
  3039. end
  3040. end)
  3041. end
  3042.  
  3043. game.Players.PlayerRemoving:Connect(function(Player)
  3044. if States.Notify then
  3045. game.StarterGui:SetCore("SendNotification", {
  3046. Title = "Game",
  3047. Text = Player.DisplayName.." Rage Quit",
  3048. Icon = game.Players:GetUserThumbnailAsync(Player.UserId, Enum.ThumbnailType.HeadShot, Enum.ThumbnailSize.Size352x352)
  3049. })
  3050. end
  3051. if States.ChatNotify then
  3052. Chat(Player.DisplayName.." Rage Quit")
  3053. end
  3054. end)
  3055.  
  3056. game.Players.PlayerAdded:Connect(function(Player)
  3057. if States.Notify then
  3058. game.StarterGui:SetCore("SendNotification", {
  3059. Title = "Game",
  3060. Text = Player.DisplayName.." Joined",
  3061. Icon = game.Players:GetUserThumbnailAsync(Player.UserId, Enum.ThumbnailType.HeadShot, Enum.ThumbnailSize.Size352x352)
  3062. })
  3063. end
  3064. if States.ChatNotify then
  3065. Chat(Player.DisplayName.." Joined The Server")
  3066. end
  3067. CheckPermissions(Player)
  3068. CopyChat(Player)
  3069. Died(Player)
  3070. PlayerPickUp(Player)
  3071. end)
  3072.  
  3073. for i,v in pairs(game.Players:GetPlayers()) do
  3074. if v ~= game.Players.LocalPlayer then
  3075. CheckPermissions(v)
  3076. CopyChat(v)
  3077. Died(v)
  3078. PlayerPickUp(v)
  3079. end
  3080. end
  3081.  
  3082. game.Players.LocalPlayer.CharacterAdded:Connect(function()
  3083. States.CAN = false
  3084. end)
  3085.  
  3086. FindCmd.Changed:Connect(function()
  3087. if FindCmd.Text ~= "" then
  3088. for i,v in pairs(CmdHandler:GetChildren()) do
  3089. if v:IsA("TextButton") then
  3090. if not string.lower(v.Text):match(string.lower(FindCmd.Text)) then
  3091. v.Parent = Background
  3092. v.Visible = false
  3093. end
  3094. end
  3095. end
  3096. for i,v in pairs(Background:GetChildren()) do
  3097. if v.Name == "COMMANDS" then
  3098. if string.lower(v.Text):match(string.lower(FindCmd.Text)) then
  3099. v.Parent = CmdHandler
  3100. v.Visible = true
  3101. end
  3102. end
  3103. end
  3104. elseif FindCmd.Text == "" and (#CmdHandler:GetChildren()-1) ~= #Cmd then
  3105. for i,v in pairs(CmdHandler:GetChildren()) do
  3106. if v:IsA("TextButton") then
  3107. v:Destroy()
  3108. end
  3109. end
  3110. for i,v in pairs(Background:GetChildren()) do
  3111. if v.Name == "COMMANDS" then
  3112. v:Destroy()
  3113. end
  3114. end
  3115. for i = 1,#Cmd do
  3116. local clone = CmdText:Clone()
  3117. clone.Text = Cmd[i].Text
  3118. clone.Name = "COMMANDS"
  3119. local Ins = Instance.new("StringValue", clone)
  3120. Ins.Name = "Title"
  3121. Ins.Value = Cmd[i].Title
  3122. local Ins2 = Instance.new("StringValue", clone)
  3123. Ins2.Name = "TopbarName"
  3124. Ins2.Value = Cmd[i].Text:split(" ")[1]
  3125. clone.Parent = CmdHandler
  3126. clone.MouseButton1Click:Connect(function()
  3127. Execute:CaptureFocus()
  3128. Execute.Text = clone.Text:split(" ")[1]
  3129. Execute.CursorPosition = #Execute.Text + 1
  3130. end)
  3131. end
  3132. end
  3133. end)
  3134.  
  3135. game.Players.LocalPlayer:GetMouse().KeyDown:Connect(function(Key)
  3136. if Key == Prefix then
  3137. if Prefix ~= "/" then
  3138. Execute:CaptureFocus()
  3139. end
  3140. end
  3141. end)
  3142.  
  3143. Execute.FocusLost:Connect(function(FocusLost)
  3144. if FocusLost then
  3145. if Execute.Text:sub(1,#Prefix) ~= Prefix then
  3146. PlayerChatted(Prefix..Execute.Text)
  3147. else
  3148. PlayerChatted(Execute.Text)
  3149. end
  3150. end
  3151. end)
  3152.  
  3153. getgenv().DisableScript = function()
  3154. pcall(function()
  3155. CmdGui:Destroy()
  3156. States = {}
  3157. LoopKill = {}
  3158. LoopTase = {}
  3159. Admin = {}
  3160. ScriptDisabled = true
  3161. for i,v in pairs(game.Lighting:GetChildren()) do
  3162. v.Parent = workspace
  3163. end
  3164. end)
  3165. end
Add Comment
Please, Sign In to add comment