Gillranveer12

Roblox Prison Life OP Script (NEW)

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