Advertisement
Isaiah20Yt

Prison Life Admin

Dec 28th, 2021
167
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 77.80 KB | None | 0 0
  1. local CmdGui = Instance.new("ScreenGui")
  2. local Background = Instance.new("Frame")
  3. local CmdName = Instance.new("TextLabel")
  4. local FindCmd = Instance.new("TextBox")
  5. local CmdHandler = Instance.new("ScrollingFrame")
  6. local CmdText = Instance.new("TextLabel")
  7. local UIListLayout = Instance.new("UIListLayout")
  8. local Background2 = Instance.new("Frame")
  9. local Label = Instance.new("TextLabel")
  10. local Execute = Instance.new("TextBox")
  11. local Minimum = Instance.new("TextButton")
  12. local Close = Instance.new("TextButton")
  13. local Prefix = ";"
  14.  
  15. CmdGui.Name = "CmdGui"
  16. CmdGui.Parent = game:GetService("CoreGui")
  17. CmdGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  18.  
  19. Background.Name = "Background"
  20. Background.Parent = CmdGui
  21. Background.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
  22. Background.BorderSizePixel = 0
  23. Background.Position = UDim2.new(0.368556708, 0, 0.11490047, 0)
  24. Background.Size = UDim2.new(0, 350, 0, 350)
  25. Background.Active = true
  26. Background.Draggable = true
  27.  
  28. CmdName.Name = "CmdName"
  29. CmdName.Parent = Background
  30. CmdName.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
  31. CmdName.BorderSizePixel = 0
  32. CmdName.Size = UDim2.new(0, 350, 0, 25)
  33. CmdName.Font = Enum.Font.GothamBlack
  34. CmdName.Text = "Commands By PinkHaker"
  35. CmdName.TextColor3 = Color3.fromRGB(255, 255, 255)
  36. CmdName.TextScaled = true
  37. CmdName.TextSize = 14.000
  38. CmdName.TextWrapped = true
  39.  
  40. FindCmd.Name = "FindCmd"
  41. FindCmd.Parent = Background
  42. FindCmd.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
  43. FindCmd.BorderColor3 = Color3.fromRGB(0, 255, 0)
  44. FindCmd.BorderSizePixel = 0
  45. FindCmd.Position = UDim2.new(0.0714285746, 0, 0.0702347234, 0)
  46. FindCmd.Size = UDim2.new(0, 300, 0, 20)
  47. FindCmd.Font = Enum.Font.SourceSans
  48. FindCmd.PlaceholderColor3 = Color3.fromRGB(255, 255, 255)
  49. FindCmd.PlaceholderText = "Search For Command"
  50. FindCmd.Text = ""
  51. FindCmd.TextColor3 = Color3.fromRGB(255, 255, 255)
  52. FindCmd.TextSize = 14.000
  53. FindCmd.TextWrapped = true
  54.  
  55. CmdHandler.Name = "CmdHandler"
  56. CmdHandler.Parent = Background
  57. CmdHandler.Active = true
  58. CmdHandler.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  59. CmdHandler.BackgroundTransparency = 1.000
  60. CmdHandler.BorderSizePixel = 0
  61. CmdHandler.AutomaticCanvasSize = "Y"
  62. CmdHandler.Position = UDim2.new(0.0714285746, 0, 0.142857149, 0)
  63. CmdHandler.Size = UDim2.new(0, 300, 0, 290)
  64. CmdHandler.ScrollBarThickness = 2
  65.  
  66. CmdText.Name = "CmdText"
  67. CmdText.Parent = nil
  68. CmdText.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  69. CmdText.BackgroundTransparency = 1.000
  70. CmdText.BorderSizePixel = 0
  71. CmdText.Size = UDim2.new(0, 300, 0, 25)
  72. CmdText.Font = Enum.Font.SourceSans
  73. CmdText.Text = "Text"
  74. CmdText.TextColor3 = Color3.fromRGB(255, 255, 255)
  75. CmdText.TextScaled = true
  76. CmdText.TextSize = 14.000
  77. CmdText.TextWrapped = true
  78.  
  79. UIListLayout.Parent = CmdHandler
  80. UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
  81.  
  82. Minimum.Name = "Minimum"
  83. Minimum.Parent = Background
  84. Minimum.BackgroundColor3 = Color3.fromRGB(0, 155, 155)
  85. Minimum.BorderSizePixel = 0
  86. Minimum.Position = UDim2.new(0.842857122, 0, 0.00571428565, 0)
  87. Minimum.Size = UDim2.new(0, 20, 0, 20)
  88. Minimum.Font = Enum.Font.SourceSans
  89. Minimum.Text = ""
  90. Minimum.TextColor3 = Color3.fromRGB(255, 255, 255)
  91. Minimum.TextSize = 14.000
  92. Minimum.MouseButton1Click:Connect(function()
  93. if Background.BackgroundTransparency == 0 then
  94. Background.BackgroundTransparency = 1
  95. Background.Size = UDim2.new(0, 350, 0, 25)
  96. FindCmd.Visible = false
  97. CmdHandler.Visible = false
  98. elseif Background.BackgroundTransparency == 1 then
  99. Background.BackgroundTransparency = 0
  100. Background.Size = UDim2.new(0, 350, 0, 350)
  101. FindCmd.Visible = true
  102. CmdHandler.Visible = true
  103. end
  104. end)
  105.  
  106. Close.Name = "Close"
  107. Close.Parent = Background
  108. Close.BackgroundColor3 = Color3.fromRGB(155, 0, 0)
  109. Close.BorderSizePixel = 0
  110. Close.Position = UDim2.new(0.928571403, 0, 0.00571428565, 0)
  111. Close.Size = UDim2.new(0, 20, 0, 20)
  112. Close.Font = Enum.Font.SourceSans
  113. Close.Text = ""
  114. Close.TextColor3 = Color3.fromRGB(255, 255, 255)
  115. Close.TextSize = 14.000
  116. Close.MouseButton1Click:Connect(function()
  117. Background.Visible = false
  118. end)
  119.  
  120. -- New
  121.  
  122. Background2.Name = "Background"
  123. Background2.Parent = CmdGui
  124. Background2.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
  125. Background2.BorderSizePixel = 0
  126. Background2.Position = UDim2.new(0.012, 0, 0.807, 0)
  127. Background2.Size = UDim2.new(0, 250, 0, 80)
  128. Background2.Active = true
  129. Background2.Draggable = true
  130.  
  131. Label.Name = "Label"
  132. Label.Parent = Background2
  133. Label.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
  134. Label.BorderSizePixel = 0
  135. Label.Position = UDim2.new(0, 0, 0, 0)
  136. Label.Size = UDim2.new(0, 250, 0, 25)
  137. Label.Font = Enum.Font.GothamBlack
  138. Label.Text = "Execute Bar"
  139. Label.TextColor3 = Color3.fromRGB(255, 255, 255)
  140. Label.TextScaled = true
  141. Label.TextSize = 14.000
  142. Label.TextWrapped = true
  143.  
  144. Execute.Name = "Execute"
  145. Execute.Parent = Background2
  146. Execute.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
  147. Execute.BorderColor3 = Color3.fromRGB(0, 255, 0)
  148. Execute.Position = UDim2.new(0.097, 0, 0.436, 0)
  149. Execute.Size = UDim2.new(0, 200, 0, 30)
  150. Execute.Font = Enum.Font.SourceSans
  151. Execute.PlaceholderColor3 = Color3.fromRGB(255, 255, 255)
  152. Execute.PlaceholderText = "Press "..Prefix.." To Enter"
  153. Execute.Text = ""
  154. Execute.TextColor3 = Color3.fromRGB(255, 255, 255)
  155. Execute.TextSize = 14.000
  156. Execute.TextWrapped = true
  157.  
  158. local Versions = "4.3"
  159.  
  160. local Cmds = {
  161. "version "..Versions,
  162. "script by PcGmers#1339",
  163. "cmd / cmds - show cmds bar",
  164. "rejoin / rj - rejoin the game",
  165. "leave / leaveserver / quit - leave the server",
  166. "admin / giveadmin [plr] - give player commands",
  167. "unadmin / removeadmin [plr] - remove commands from player",
  168. "kill [plr] - kill player",
  169. "killall - kill all players",
  170. "killguard / killsguard - kill all guards",
  171. "killinmate / killsinmate - kill all inmates",
  172. "killcriminal / killscriminal - kill all criminals",
  173. "tase [plr] - tase player",
  174. "loopkill / loopkills [plr] - loop kills player",
  175. "unloopkill / unloopkills [plr] - unloop kills player",
  176. "loopkillall / loopkillsall - loop kills all players",
  177. "loopkillguard / loopkillsguard - loop kils all guards",
  178. "loopkillinmate / loopkillinmates - loop kills all inmates",
  179. "loopkillcriminal / loopkillcriminals - loop kills all criminals",
  180. "unloopkillall / unloopkillsall - unloop kills all players",
  181. "unloopkillguard / unloopkillsguard - unloop kils all guards",
  182. "unloopkillinmate / unloopkillinmates - unloop kills all inmates",
  183. "unloopkillcriminal / unloopkillcriminals - unloop kills all criminals",
  184. "inmate / inmates / prisoner / prisoners - become inmate",
  185. "guard / guards / cop / polices - become guard",
  186. "crim / criminals / criminal - become a criminal",
  187. "neutral / neutrals - become neutral",
  188. "re / refresh - respawn old position",
  189. "res / respawn - respawn on respawn pads",
  190. "goto / to [plr] - go to players",
  191. "bring [plr] - teleport player to you",
  192. "tp / teleport [plr] [plr2] - teleport player to other player",
  193. "arrest [plr] [time] - arrest player more time more lag",
  194. "arrestall / arrestothers - arrest all criminals",
  195. "spamarrest / looparrest [plr] - spam arrest player & lag player",
  196. "unspamarrest / unlooparrest [plr] - stop spam arrest player",
  197. "clearloopkill / clearloopkills - clear all players loop kills",
  198. "auto / autore / autorefresh - auto respawn on old position",
  199. "unauto / unautore / unautorefresh - stop auto respawn on old position",
  200. "killaura - active kill aura",
  201. "nokillaura / unkillaura - unactive kill aura",
  202. "view / spectate / watch [plr] - view the player",
  203. "unview / unspectate / stopwatch - unview the player",
  204. "fastpunch / speedpunch - active fast punch",
  205. "slowpunch / nofastpunch / normalspeedpunch - unactive fast punch",
  206. "superpunch / onepunch - active one punch kills",
  207. "nosuperpunch / normalpunch - unactive one punch kills",
  208. "prefix / newprefix / changeprefix [prefix text] - changes prefix",
  209. "red - change team color to red",
  210. "orange - change team color to orange",
  211. "blue - change team color to blue not guard team",
  212. "black - change team color to black",
  213. "purple - change team color to purple",
  214. "brown - change team color to brown",
  215. "white - change team color to white",
  216. "pink - change team color to pink",
  217. "grey - change team color to grey",
  218. "green - change team color to green",
  219. "yellow - change team color to yellow",
  220. "getpos - print position",
  221. "unload / destroygui - unload the gui",
  222. "reload / update - reload the gui with new version of gui",
  223. "to see printed position press (FN + F9) or (F9) or chat /console in chat",
  224. "lagserver / disconnect - lag server / make all players freeze",
  225. "unlagserver / undisconnect - stop freeze the server",
  226. "speed / setspeed / walkspeed [count] - set walk speed",
  227. "jumppower / setjumppower [count] - set jump power",
  228. "hipheight / sethipheight [count] - set hip height",
  229. "gravity / setgravity [count] - set gravity",
  230. "resetspeed / resetwalkspeed - reset speed to old speed",
  231. "resetjumppower / rejumppower - reset jump power",
  232. "resethipheight / rehipheight - reset hip height",
  233. "resetgravity / regravity - reset gravity",
  234. "makecrim [plr] - make player become a criminal",
  235. "makecrimall - make all players become a criminals",
  236. "loopbring - loop bring player",
  237. "unloopbring - stop loop bring player",
  238. "baseballbat / bat - get base ball bat",
  239. "superknife - active super knife",
  240. "firespeed / setfirespeed [count] - set fire speed",
  241. "autofire - set the gun states to auto",
  242. "semifire - set the gun states to semi",
  243. "burst / burstbullets / bullets [count] - set bullets on shot",
  244. "reloadtime / reloadtimes [count] - set reload times",
  245. "gun / guns / allguns - obtain all guns",
  246. "autogun / autoguns / autoallguns - active auto grab guns when died",
  247. "unautogun / unautoguns / unautoallguns - disable auto grab guns",
  248. "taserbypass / antitaser / lock - taser bypass",
  249. "untaserbypass / notaserbypass / unlock - no taser bypass",
  250. "nodoors / deletedoors - delete doors",
  251. "restoredoors / doors - restores doors",
  252. "nowalls / deletewalls - delete walls",
  253. "walls / restorewalls - restore walls",
  254. "anticrash / antivest - anti crash when someone spam armour",
  255. "unanticrash / unantivest - stop anti crash",
  256. "antishield / noshield - anti shield users",
  257. "unantishield - stop anti shield",
  258. "gatetower - teleport to gate tower",
  259. "tower - teleport to tower",
  260. "sewer - teleport to sewer",
  261. "backnexus - teleport to back nexus",
  262. "nexus - teleport to nexus",
  263. "gate - teleport to gate room",
  264. "armory - teleport to armory",
  265. "cafe - teleport to cafe",
  266. "crimbase / criminalbase - teleport to criminals base",
  267. "lunchroom - teleport to lunch room",
  268. "spamchat [delay] - spam chat",
  269. "unspamchat - stop spam chat",
  270. "savepos / saveposition - save position to load",
  271. "loadpos / loadposition - load position",
  272. "notify - send player join / leave message",
  273. "nonotify - stop sending notify",
  274. "opengate - open the gate",
  275. "antifell / antivoid - anti fell under the world",
  276. "unantifell / unantivoid - unanti fell under the world",
  277. "beam [plr] - shoot beam to the player",
  278. "lagbeam / beam2 [plr] - shoot beam to player and lag",
  279. "crash / beam3 [plr] - shoot a beam to player and lag but longer",
  280. "if you forget prefix you can use !getprefix to check prefix",
  281. }
  282.  
  283. for i,v in pairs(Cmds) do
  284. local clone = CmdText:Clone()
  285. clone.Text = v
  286. clone.Name = "COMMANDS"
  287. clone.Parent = CmdHandler
  288. end
  289.  
  290. if DisableScript then
  291. DisableScript()
  292. end
  293.  
  294. local Slient = false
  295. local ScriptDisabled = false
  296. local LoopBeam = {}
  297. local LoopKill = {}
  298. local LoopTase = {}
  299. local Admin = {}
  300. local Watching = nil
  301. local States = {}
  302. local BuyGamepass = game:GetService("MarketplaceService"):UserOwnsGamePassAsync(tonumber((game:GetService("Players").LocalPlayer.CharacterAppearance):split('=')[#((game:GetService("Players").LocalPlayer.CharacterAppearance):split('='))]), 96651)
  303.  
  304. local function GetPlayer(String)
  305. if not String then return end
  306. local Yes = {}
  307. for _, Player in ipairs(game.Players:GetPlayers()) do
  308. if string.lower(Player.Name):match(string.lower(String)) or string.lower(Player.DisplayName):match(string.lower(String)) then
  309. table.insert(Yes, Player)
  310. end
  311. end
  312. if #Yes > 0 then
  313. return Yes[1]
  314. elseif #Yes < 1 then
  315. return nil
  316. end
  317. end
  318.  
  319. local function GetPos()
  320. return game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  321. end
  322.  
  323. local function GetCamPos()
  324. return game.Workspace.CurrentCamera.CFrame
  325. end
  326.  
  327. local function GetTeam()
  328. return game.Players.LocalPlayer.TeamColor.Name
  329. end
  330.  
  331. function Goto(Player, Distance)
  332. local Distance = Distance or CFrame.new(0, 0, 0)
  333. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = Player.Character.HumanoidRootPart.CFrame * Distance
  334. end
  335.  
  336. function Chat(Message)
  337. game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(Message, "All")
  338. end
  339.  
  340. function Kill(Player)
  341. pcall(function()
  342. 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
  343. workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["Remington 870"].ITEMPICKUP)
  344.  
  345. local MyTeam = GetTeam()
  346. if Player.TeamColor.Name == game.Players.LocalPlayer.TeamColor.Name then
  347. local savedcf = GetPos()
  348. local savedcamcf = GetCamPos()
  349. workspace.Remote.loadchar:InvokeServer(nil, BrickColor.random().Name)
  350. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf
  351. workspace.CurrentCamera.CFrame = savedcamcf
  352. workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["Remington 870"].ITEMPICKUP)
  353. end
  354.  
  355. local Gun = game.Players.LocalPlayer.Character:FindFirstChild("Remington 870") or game.Players.LocalPlayer.Backpack:FindFirstChild("Remington 870")
  356.  
  357. local FireEvent = {
  358. [1] = {
  359. ["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),
  360. ["Distance"] = 0,
  361. ["Cframe"] = CFrame.new(),
  362. ["Hit"] = workspace[Player.Name].Head
  363. }, [2] = {
  364. ["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),
  365. ["Distance"] = 0,
  366. ["Cframe"] = CFrame.new(),
  367. ["Hit"] = workspace[Player.Name].Head
  368. }, [3] = {
  369. ["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),
  370. ["Distance"] = 0,
  371. ["Cframe"] = CFrame.new(),
  372. ["Hit"] = workspace[Player.Name].Head
  373. }, [4] = {
  374. ["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),
  375. ["Distance"] = 0,
  376. ["Cframe"] = CFrame.new(),
  377. ["Hit"] = workspace[Player.Name].Head
  378. }, [5] = {
  379. ["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),
  380. ["Distance"] = 0,
  381. ["Cframe"] = CFrame.new(),
  382. ["Hit"] = workspace[Player.Name].Head
  383. }, [6] = {
  384. ["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),
  385. ["Distance"] = 0,
  386. ["Cframe"] = CFrame.new(),
  387. ["Hit"] = workspace[Player.Name].Head
  388. }, [7] = {
  389. ["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),
  390. ["Distance"] = 0,
  391. ["Cframe"] = CFrame.new(),
  392. ["Hit"] = workspace[Player.Name].Head
  393. }, [8] = {
  394. ["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),
  395. ["Distance"] = 0,
  396. ["Cframe"] = CFrame.new(),
  397. ["Hit"] = workspace[Player.Name].Head
  398. }
  399. }
  400.  
  401. game:GetService("ReplicatedStorage").ShootEvent:FireServer(FireEvent, Gun)
  402. Gun.Parent = game.Players.LocalPlayer.Character
  403. game.Players.LocalPlayer.Character["Remington 870"]:Destroy()
  404. end)
  405. end
  406.  
  407. function Tase(Player)
  408. 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
  409. pcall(function()
  410. local savedcf = GetPos()
  411. local savedteam
  412.  
  413. local Gun = game.Players.LocalPlayer.Backpack:FindFirstChild("Taser") or game.Players.LocalPlayer.Character:FindFirstChild("Taser")
  414.  
  415. local changedteam = false
  416. if game.Players.LocalPlayer.TeamColor.Name ~= "Bright blue" or not Gun then
  417. savedteam = GetTeam()
  418. workspace.Remote.loadchar:InvokeServer(nil, BrickColor.new("Bright blue").Name)
  419. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf
  420. changedteam = true
  421. end
  422.  
  423. local Guns = game.Players.LocalPlayer.Backpack:FindFirstChild("Taser") or game.Players.LocalPlayer.Character:FindFirstChild("Taser")
  424.  
  425. local TaseEvent =
  426. {
  427. [1] =
  428. {
  429. ["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),
  430. ["Distance"] = 0,
  431. ["Cframe"] = CFrame.new(),
  432. ["Hit"] = workspace[Player.Name].Torso
  433. }
  434. }
  435.  
  436. game:GetService("ReplicatedStorage").ShootEvent:FireServer(TaseEvent, Guns)
  437. if changedteam then
  438. workspace.Remote.loadchar:InvokeServer(nil, BrickColor.new(savedteam).Name)
  439. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf
  440. end
  441. end)
  442. end
  443.  
  444. function Teleport(Player, Position)
  445. if Player == nil or Position == nil then return end
  446. local savedcf = GetPos()
  447. workspace.Remote.loadchar:InvokeServer()
  448. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf
  449. workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["M9"].ITEMPICKUP)
  450. local CHAR = game.Players.LocalPlayer.Character
  451. CHAR.Humanoid.Name = "1"
  452. local c = CHAR["1"]:Clone()
  453. c.Name = "Humanoid"
  454. c.Parent = CHAR
  455. CHAR["1"]:Destroy()
  456. game.Workspace.CurrentCamera.CameraSubject = CHAR
  457. CHAR.Animate.Disabled = true
  458. wait()
  459. CHAR.Animate.Disabled = false
  460. CHAR.Humanoid.DisplayDistanceType = "None"
  461. game.Players.LocalPlayer:FindFirstChild("Backpack"):FindFirstChild("M9").Parent = CHAR
  462. local STOP = 0
  463. repeat wait(.1)
  464. STOP = STOP + 1
  465. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = Player.Character.HumanoidRootPart.CFrame * CFrame.new(0, 0, 0.75)
  466. 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
  467. local STOP_2 = 0
  468. repeat wait()
  469. STOP_2 = STOP_2 + 1
  470. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = Position
  471. until STOP_2 > 10
  472. workspace.Remote.loadchar:InvokeServer()
  473. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf
  474. end
  475.  
  476. function TeleportV(Player, Player2)
  477. if Player == nil or Player2 == nil then return end
  478. local savedcf = GetPos()
  479. workspace.Remote.loadchar:InvokeServer()
  480. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf
  481. workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["M9"].ITEMPICKUP)
  482. local CHAR = game.Players.LocalPlayer.Character
  483. CHAR.Humanoid.Name = "1"
  484. local c = CHAR["1"]:Clone()
  485. c.Name = "Humanoid"
  486. c.Parent = CHAR
  487. CHAR["1"]:Destroy()
  488. game.Workspace.CurrentCamera.CameraSubject = CHAR
  489. CHAR.Animate.Disabled = true
  490. wait()
  491. CHAR.Animate.Disabled = false
  492. CHAR.Humanoid.DisplayDistanceType = "None"
  493. game.Players.LocalPlayer:FindFirstChild("Backpack"):FindFirstChild("M9").Parent = CHAR
  494. local STOP = 0
  495. repeat wait(.1)
  496. STOP = STOP + 1
  497. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = Player.Character.HumanoidRootPart.CFrame * CFrame.new(0, 0, 0.75)
  498. 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
  499. local STOP_2 = 0
  500. repeat wait()
  501. STOP_2 = STOP_2 + 1
  502. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = Player2.Character.HumanoidRootPart.CFrame
  503. until STOP_2 > 10
  504. workspace.Remote.loadchar:InvokeServer()
  505. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf
  506. end
  507.  
  508. function ArrestEvent(Player, Time)
  509. for i = 1,Time do
  510. workspace.Remote.arrest:InvokeServer(Player.Character.Head)
  511. end
  512. end
  513.  
  514. function Arrest(Player, Time)
  515. local Time = Time or 1
  516. if Player.TeamColor.Name == "Really red" then
  517. local LPCHAR = workspace:FindFirstChild(game.Players.LocalPlayer.Name)
  518. local LPHRP = LPCHAR and LPCHAR:FindFirstChild("HumanoidRootPart")
  519. local PLRCHAR = workspace:FindFirstChild(Player.Name)
  520. local PLRHRP = PLRCHAR and PLRCHAR:FindFirstChild("HumanoidRootPart")
  521. if LPCHAR and LPHRP and PLRCHAR and PLRHRP then
  522. local savedcframe = LPHRP.CFrame
  523. repeat
  524. LPHRP.CFrame = PLRHRP.CFrame * CFrame.new(0, 0, 1.3)
  525. local TARGET = {PLRCHAR:FindFirstChild("Head")}
  526. for i = 1,Time do
  527. workspace.Remote.arrest:InvokeServer(unpack(TARGET))
  528. end
  529. until PLRCHAR.Head:FindFirstChild("handcuffedGui")
  530. PLRCHAR.Humanoid.Sit = false
  531. LPHRP.CFrame = savedcframe
  532. end
  533. end
  534. end
  535.  
  536. function CreateBeam(Player, Distance, Position)
  537. if Player then
  538. pcall(function()
  539. local Backpack = game.Players.LocalPlayer.Backpack
  540. local Character = game.Players.LocalPlayer.Character
  541. local Gun = Backpack:FindFirstChild("Remington 870") or Character:FindFirstChild("Remington 870")
  542. if not Gun then
  543. workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["Remington 870"].ITEMPICKUP)
  544. end
  545. Gun = Backpack:FindFirstChild("Remington 870") or Character:FindFirstChild("Remington 870")
  546. local Head = Player.Character.Head
  547. if Head and Player and Character and Backpack and Gun and Distance and Position then
  548. game.ReplicatedStorage.ShootEvent:FireServer({
  549. {["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head},
  550. {["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head},
  551. {["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head},
  552. {["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head},
  553. {["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head},
  554. {["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head},
  555. {["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head},
  556. {["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head}
  557. }, Gun)
  558. end
  559. Gun.Parent = game.Players.LocalPlayer.Character
  560. game.Players.LocalPlayer.Character:FindFirstChild("Remington 870"):Destroy()
  561. end)
  562. end
  563. end
  564.  
  565. function CreatLageBeam(Player, Distance, Position)
  566. if Player then
  567. pcall(function()
  568. local Backpack = game.Players.LocalPlayer.Backpack
  569. local Character = game.Players.LocalPlayer.Character
  570. local Gun = Backpack:FindFirstChild("M9") or Character:FindFirstChild("M9")
  571. if not Gun then
  572. workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["M9"].ITEMPICKUP)
  573. end
  574. Gun = Backpack:FindFirstChild("M9") or Character:FindFirstChild("M9")
  575. local Head = Player.Character.Head
  576. if Head and Player and Character and Backpack and Gun and Distance and Position then
  577. game.ReplicatedStorage.ShootEvent:FireServer({
  578. {["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head},
  579. {["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head},
  580. {["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head},
  581. {["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head},
  582. {["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head},
  583. {["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head},
  584. {["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head},
  585. {["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),["Distance"] = Distance,["Cframe"] = Position,["Hit"] = Head}
  586. }, Gun)
  587. end
  588. end)
  589. end
  590. end
  591.  
  592. function Beam(Player, Distance, Time)
  593. if Player and Distance then
  594. local RunService = game:GetService("RunService")
  595. RunService:BindToRenderStep(Player.Name, math.huge, function()
  596. coroutine.wrap(function()
  597. CreateBeam(Player, Distance, Player.Character.HumanoidRootPart.CFrame)
  598. end)()
  599. end)
  600. delay(Time, function()
  601. pcall(function()
  602. RunService:UnbindFromRenderStep(Player.Name)
  603. end)
  604. end)
  605. end
  606. end
  607.  
  608. function LagBeam(Player, Distance, Time)
  609. if Player and Distance then
  610. local RunService = game:GetService("RunService")
  611. RunService:BindToRenderStep(Player.Name, math.huge, function()
  612. coroutine.wrap(function()
  613. CreateBeam(Player, Distance, Player.Character.HumanoidRootPart.CFrame)
  614. end)()
  615. coroutine.wrap(function()
  616. CreatLageBeam(Player, Distance, Player.Character.HumanoidRootPart.CFrame)
  617. end)()
  618. end)
  619. delay(Time, function()
  620. pcall(function()
  621. RunService:UnbindFromRenderStep(Player.Name)
  622. end)
  623. end)
  624. end
  625. end
  626.  
  627. local function GetPlayerPart(Player)
  628. if not Player then return end
  629. if Player:FindFirstChild("HumanoidRootPart") then
  630. return Player.HumanoidRootPart
  631. elseif Player:FindFirstChild("Torso") then
  632. return Player.Torso
  633. end
  634. end
  635.  
  636. local Mouse = game.Players.LocalPlayer:GetMouse()
  637.  
  638. local function Loadstring(Https)
  639. if not Https then return end
  640. loadstring(game:HttpGet((Https), true))()
  641. end
  642.  
  643. local function Command(Cmd)
  644. return Arg1 == Prefix..Cmd
  645. end
  646.  
  647. local function PrefixCommand(Cmd)
  648. return Arg1 == "!"..Cmd
  649. end
  650.  
  651. local Walls = {
  652. game.Workspace.Prison_Halls.walls,
  653. game.Workspace.Prison_Halls.roof,
  654. game.Workspace.Prison_Halls.outlines,
  655. game.Workspace.Prison_Halls.lights,
  656. game.Workspace.Prison_Halls.accent,
  657. game.Workspace.Prison_Halls.glass,
  658. game.Workspace.Prison_Cellblock.b_front,
  659. game.Workspace.Prison_Cellblock.doors,
  660. game.Workspace.Prison_Cellblock.c_tables,
  661. game.Workspace.Prison_Cellblock.a_front,
  662. game.Workspace.Prison_Cellblock.b_outerwall,
  663. game.Workspace.Prison_Cellblock.c_wall,
  664. game.Workspace.Prison_Cellblock.b_wall,
  665. game.Workspace.Prison_Cellblock.c_hallwall,
  666. game.Workspace.Prison_Cellblock.a_outerwall,
  667. game.Workspace.Prison_Cellblock.b_ramp,
  668. game.Workspace.Prison_Cellblock.a_ramp,
  669. game.Workspace.Prison_Cellblock.a_walls,
  670. game.Workspace.Prison_Cellblock.Cells_B,
  671. game.Workspace.Prison_Cellblock.Cells_A,
  672. game.Workspace.Prison_Cellblock.c_corner,
  673. game.Workspace.Prison_Cellblock.Wedge,
  674. game.Workspace.Prison_Cellblock.a_ceiling,
  675. game.Workspace.Prison_Cellblock.b_ceiling,
  676. game.Workspace.City_buildings,
  677. game.Workspace.Prison_OuterWall,
  678. game.Workspace.Prison_Fences,
  679. game.Workspace.Prison_Guard_Outpost,
  680. game.Workspace.Prison_Cafeteria.building,
  681. game.Workspace.Prison_Cafeteria.glass,
  682. game.Workspace.Prison_Cafeteria.oven,
  683. game.Workspace.Prison_Cafeteria.shelves,
  684. game.Workspace.Prison_Cafeteria.vents,
  685. game.Workspace.Prison_Cafeteria.accents,
  686. game.Workspace.Prison_Cafeteria["vending machine"],
  687. game.Workspace.Prison_Cafeteria.Prison_table1,
  688. game.Workspace.Prison_Cafeteria.counter,
  689. game.Workspace.Prison_Cafeteria.boxes,
  690. game.Workspace.Prison_Cafeteria["trash bins"]
  691. }
  692.  
  693. if not Slient then
  694. Chat("Admin Commands By LocalPlayer # 7434")
  695. Chat("Admin Commands Version "..Versions)
  696. Chat("Current Prefix Is "..Prefix)
  697. wait()
  698. Chat("Admin Commands Loaded!")
  699. else
  700. Chat("Loaded")
  701. Chat("P "..Prefix)
  702. Chat("V "..Versions)
  703. end
  704.  
  705. function PlayerChatted(Message)
  706. if ScriptDisabled then return end
  707. Split = Message:split(" ")
  708. Arg1 = Split[1]
  709. Arg2 = Split[2]
  710. Arg3 = Split[3]
  711. Arg4 = Split[4]
  712. if Command("unload") or Command("destroygui") then
  713. pcall(function()
  714. CmdGui:Destroy()
  715. States = {}
  716. LoopKill = {}
  717. LoopTase = {}
  718. Admin = {}
  719. ScriptDisabled = true
  720. for i,v in pairs(game.Lighting:GetChildren()) do
  721. v.Parent = workspace
  722. end
  723. Chat("Unloaded")
  724. end)
  725. end
  726. if Command("reload") or Command("update") then
  727. pcall(function()
  728. CmdGui:Destroy()
  729. States = {}
  730. LoopKill = {}
  731. LoopTase = {}
  732. Admin = {}
  733. ScriptDisabled = true
  734. for i,v in pairs(game.Lighting:GetChildren()) do
  735. v.Parent = workspace
  736. end
  737. Chat("Unloaded")
  738. end)
  739. Loadstring("https://pastebin.com/raw/9ab2s523")
  740. Chat("Reloaded")
  741. end
  742. if Command("beam") then
  743. local Player = GetPlayer(Arg2)
  744. if Player then
  745. Beam(Player, math.huge, 7)
  746. end
  747. end
  748. if Command("lagbeam") or Command("beam2") then
  749. local Player = GetPlayer(Arg2)
  750. if Player then
  751. LagBeam(Player, math.huge, 7)
  752. end
  753. end
  754. if Command("crash") or Command("beam3") then
  755. local Player = GetPlayer(Arg2)
  756. if Player then
  757. LagBeam(Player, math.huge, 9000)
  758. end
  759. end
  760. if Command("inmate") or Command("inmates") or Command("prisoner") or Command("prisoners") then
  761. workspace.Remote.TeamEvent:FireServer("Bright orange")
  762. end
  763. if Command("guard") or Command("guards") or Command("cop") or Command("polices") or Command("cops") then
  764. workspace.Remote.TeamEvent:FireServer("Bright blue")
  765. end
  766. if Command("gun") or Command("guns") or Command("allguns") then
  767. if BuyGamepass then
  768. workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["Remington 870"].ITEMPICKUP)
  769. workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["M4A1"].ITEMPICKUP)
  770. workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["AK-47"].ITEMPICKUP)
  771. workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["M9"].ITEMPICKUP)
  772. else
  773. workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["Remington 870"].ITEMPICKUP)
  774. workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["AK-47"].ITEMPICKUP)
  775. workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["M9"].ITEMPICKUP)
  776. end
  777. end
  778. if Command("autogun") or Command("autoguns") or Command("autoallguns") then
  779. States.Auto_Guns = true
  780. if BuyGamepass then
  781. workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["Remington 870"].ITEMPICKUP)
  782. workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["M4A1"].ITEMPICKUP)
  783. workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["AK-47"].ITEMPICKUP)
  784. workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["M9"].ITEMPICKUP)
  785. else
  786. workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["Remington 870"].ITEMPICKUP)
  787. workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["AK-47"].ITEMPICKUP)
  788. workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["M9"].ITEMPICKUP)
  789. end
  790. game.Players.LocalPlayer.CharacterAdded:Connect(function()
  791. if States.Auto_Guns then
  792. pcall(function()
  793. if BuyGamepass then
  794. workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["Remington 870"].ITEMPICKUP)
  795. workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["M4A1"].ITEMPICKUP)
  796. workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["AK-47"].ITEMPICKUP)
  797. workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["M9"].ITEMPICKUP)
  798. else
  799. workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["Remington 870"].ITEMPICKUP)
  800. workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["AK-47"].ITEMPICKUP)
  801. workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["M9"].ITEMPICKUP)
  802. end
  803. end)
  804. end
  805. end)
  806. end
  807. if Command("unautogun") or Command("unautoguns") or Command("unautoallguns") then
  808. States.Auto_Guns = false
  809. end
  810. if Command("autofire") then
  811. if game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool"):FindFirstChild("GunStates") then
  812. local Gun = require(game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").GunStates)
  813. Gun["AutoFire"] = true
  814. end
  815. end
  816. if Command("semifire") then
  817. if game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool"):FindFirstChild("GunStates") then
  818. local Gun = require(game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").GunStates)
  819. Gun["AutoFire"] = false
  820. end
  821. end
  822. if Command("firespeed") or Command("setfirespeed") then
  823. if game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool"):FindFirstChild("GunStates") then
  824. local Gun = require(game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").GunStates)
  825. if tonumber(Arg2) ~= nil then
  826. Gun["FireRate"] = tonumber(Arg2)
  827. end
  828. end
  829. end
  830. if Command("burst") or Command("burstbullets") or Command("bullets") then
  831. if game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool"):FindFirstChild("GunStates") then
  832. local Gun = require(game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").GunStates)
  833. if tonumber(Arg2) ~= nil then
  834. Gun["Bullets"] = tonumber(Arg2)
  835. end
  836. end
  837. end
  838. if Command("reloadtime") or Command("reloadtimes") then
  839. if game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool"):FindFirstChild("GunStates") then
  840. local Gun = require(game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").GunStates)
  841. if tonumber(Arg2) ~= nil then
  842. Gun["ReloadTime"] = tonumber(Arg2)
  843. end
  844. end
  845. end
  846. if Command("criminal") or Command("criminals") or Command("crim") or Command("crims") or Command("crimes") or Command("crime") then
  847. local savedcf = GetPos()
  848. local savedcamcf = GetCamPos()
  849. workspace.Remote.loadchar:InvokeServer(nil, BrickColor.new("Really red").Name)
  850. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf
  851. workspace.CurrentCamera.CFrame = savedcamcf
  852. end
  853. if Command("neutral") or Command("neutrals") then
  854. workspace.Remote.TeamEvent:FireServer("Medium stone grey")
  855. end
  856. if Command("red") then
  857. local savedcf = GetPos()
  858. local savedcamcf = GetCamPos()
  859. workspace.Remote.loadchar:InvokeServer(nil, BrickColor.new("Bright red").Name)
  860. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf
  861. workspace.CurrentCamera.CFrame = savedcamcf
  862. end
  863. if Command("blue") then
  864. local savedcf = GetPos()
  865. local savedcamcf = GetCamPos()
  866. workspace.Remote.loadchar:InvokeServer(nil, BrickColor.new("Really blue").Name)
  867. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf
  868. workspace.CurrentCamera.CFrame = savedcamcf
  869. end
  870. if Command("black") then
  871. local savedcf = GetPos()
  872. local savedcamcf = GetCamPos()
  873. workspace.Remote.loadchar:InvokeServer(nil, BrickColor.new("Really black").Name)
  874. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf
  875. workspace.CurrentCamera.CFrame = savedcamcf
  876. end
  877. if Command("pink") then
  878. local savedcf = GetPos()
  879. local savedcamcf = GetCamPos()
  880. workspace.Remote.loadchar:InvokeServer(nil, BrickColor.new("Hot pink").Name)
  881. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf
  882. workspace.CurrentCamera.CFrame = savedcamcf
  883. end
  884. if Command("grey") then
  885. local savedcf = GetPos()
  886. local savedcamcf = GetCamPos()
  887. workspace.Remote.loadchar:InvokeServer(nil, BrickColor.new("Ghost grey").Name)
  888. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf
  889. workspace.CurrentCamera.CFrame = savedcamcf
  890. end
  891. if Command("white") then
  892. local savedcf = GetPos()
  893. local savedcamcf = GetCamPos()
  894. workspace.Remote.loadchar:InvokeServer(nil, BrickColor.new("White").Name)
  895. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf
  896. workspace.CurrentCamera.CFrame = savedcamcf
  897. end
  898. if Command("brown") then
  899. local savedcf = GetPos()
  900. local savedcamcf = GetCamPos()
  901. workspace.Remote.loadchar:InvokeServer(nil, BrickColor.new("Brown").Name)
  902. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf
  903. workspace.CurrentCamera.CFrame = savedcamcf
  904. end
  905. if Command("purple") then
  906. local savedcf = GetPos()
  907. local savedcamcf = GetCamPos()
  908. workspace.Remote.loadchar:InvokeServer(nil, BrickColor.new("Royal purple").Name)
  909. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf
  910. workspace.CurrentCamera.CFrame = savedcamcf
  911. end
  912. if Command("green") then
  913. local savedcf = GetPos()
  914. local savedcamcf = GetCamPos()
  915. workspace.Remote.loadchar:InvokeServer(nil, BrickColor.new("Bright green").Name)
  916. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf
  917. workspace.CurrentCamera.CFrame = savedcamcf
  918. end
  919. if Command("yellow") then
  920. local savedcf = GetPos()
  921. local savedcamcf = GetCamPos()
  922. workspace.Remote.loadchar:InvokeServer(nil, BrickColor.new("Bright yellow").Name)
  923. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf
  924. workspace.CurrentCamera.CFrame = savedcamcf
  925. end
  926. if Command("orange") then
  927. local savedcf = GetPos()
  928. local savedcamcf = GetCamPos()
  929. workspace.Remote.loadchar:InvokeServer(nil, BrickColor.new("Neon orange").Name)
  930. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf
  931. workspace.CurrentCamera.CFrame = savedcamcf
  932. end
  933. if Command("taserbypass") or Command("lock") or Command("antitaser") then
  934. game.Players.LocalPlayer.Character.ClientInputHandler.Disabled = true
  935. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 24
  936. game.Players.LocalPlayer.Character.Humanoid.JumpPower = 50
  937. end
  938. if Command("notaserbypass") or Command("unlock") or Command("untaserbypass") then
  939. game.Players.LocalPlayer.Character.ClientInputHandler.Disabled = false
  940. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 16
  941. game.Players.LocalPlayer.Character.Humanoid.JumpPower = 50
  942. end
  943. if Command("tase") then
  944. local Player = GetPlayer(Arg2)
  945. if Player ~= nil then
  946. Tase(Player)
  947. end
  948. end
  949. if Command("noshield") or Command("antishield") then
  950. States.Anti_Shield = true
  951. while wait() do
  952. for i,v in pairs(game.Players:GetPlayers()) do
  953. pcall(function()
  954. if workspace[v.Name].Torso:FindFirstChild("ShieldFolder") then
  955. workspace[v.Name].Torso:FindFirstChild("ShieldFolder"):Destroy()
  956. end
  957. end)
  958. end
  959. end
  960. end
  961. if Command("unantishield") then
  962. States.Anti_Shield = false
  963. end
  964. if Command("kill") or Command("kills") then
  965. local Player = GetPlayer(Arg2)
  966. if Player ~= nil then
  967. Kill(Player)
  968. end
  969. end
  970. if Command("killall") then
  971. for i,v in pairs(game.Players:GetPlayers()) do
  972. if v ~= game.Players.LocalPlayer then
  973. Kill(v)
  974. end
  975. end
  976. end
  977. if Command("killinmate") or Command("killinmates") or Command("killsinmate") or Command("killsinmates") then
  978. for i,v in pairs(game.Players:GetPlayers()) do
  979. if v ~= game.Players.LocalPlayer then
  980. if v.TeamColor.Name == "Bright orange" then
  981. Kill(v)
  982. end
  983. end
  984. end
  985. end
  986. if Command("killguard") or Command("killsguard") or Command("killguards") or Command("killsguards") then
  987. for i,v in pairs(game.Players:GetPlayers()) do
  988. if v ~= game.Players.LocalPlayer then
  989. if v.TeamColor.Name == "Bright blue" then
  990. Kill(v)
  991. end
  992. end
  993. end
  994. end
  995. if Command("killcriminal") or Command("killscriminal") or Command("killcriminals") or Command("killscriminals") then
  996. for i,v in pairs(game.Players:GetPlayers()) do
  997. if v ~= game.Players.LocalPlayer then
  998. if v.TeamColor.Name == "Really red" then
  999. Kill(v)
  1000. end
  1001. end
  1002. end
  1003. end
  1004. if Command("loopkill") or Command("loopkills") then
  1005. local Player = GetPlayer(Arg2)
  1006. if Player ~= nil and not LoopKill[Player.UserId] then
  1007. LoopKill[Player.UserId] = {Player = Player}
  1008. end
  1009. end
  1010. if Command("unloopkill") or Command("unloopkills") then
  1011. local Player = GetPlayer(Arg2)
  1012. if Player ~= nil and LoopKill[Player.UserId] then
  1013. LoopKill[Player.UserId] = nil
  1014. end
  1015. end
  1016. if Command("loopkillguard") or Command("loopkillguards") or Command("loopkillsguard") or Command("loopkillsguards") or Command("loopkillcop") or Command("loopkillpolices") or Command("loopkillspolices") then
  1017. for i,Player in pairs(game.Players:GetPlayers()) do
  1018. if Player.TeamColor.Name == "Bright blue" then
  1019. LoopKill[Player.UserId] = {Player = Player}
  1020. end
  1021. end
  1022. end
  1023. if Command("unloopkillguard") or Command("unloopkillguards") or Command("unloopkillsguard") or Command("unloopkillsguards") or Command("unloopkillcop") or Command("unloopkillpolices") or Command("unloopkillspolices") then
  1024. for i,Player in pairs(game.Players:GetPlayers()) do
  1025. if Player.TeamColor.Name == "Bright blue" then
  1026. LoopKill[Player.UserId] = nil
  1027. end
  1028. end
  1029. end
  1030. if Command("loopkillinmate") or Command("loopkillinmates") or Command("loopkillsinmate") or Command("loopkillsinmates") or Command("loopkillprisoner") or Command("loopkillprisoners") then
  1031. for i,Player in pairs(game.Players:GetPlayers()) do
  1032. if Player.TeamColor.Name == "Bright orange" then
  1033. LoopKill[Player.UserId] = {Player = Player}
  1034. end
  1035. end
  1036. end
  1037. if Command("unloopkillinmate") or Command("unloopkillinmates") or Command("unloopkillsinmate") or Command("unloopkillsinmates") or Command("unloopkillprisoner") or Command("unloopkillprisoners") then
  1038. for i,Player in pairs(game.Players:GetPlayers()) do
  1039. if Player.TeamColor.Name == "Bright orange" then
  1040. LoopKill[Player.UserId] = nil
  1041. end
  1042. end
  1043. end
  1044.  
  1045. if Command("loopkillcriminal") or Command("loopkillcriminals") or Command("loopkillscriminal") or Command("loopkillscriminals") or Command("loopkillcrim") or Command("loopkillcrims") then
  1046. for i,Player in pairs(game.Players:GetPlayers()) do
  1047. if Player.TeamColor.Name == "Really red" then
  1048. LoopKill[Player.UserId] = {Player = Player}
  1049. end
  1050. end
  1051. end
  1052. if Command("unloopkillcriminal") or Command("unloopkillcriminals") or Command("unloopkillscriminal") or Command("unloopkillscrriminals") or Command("unloopkillcrim") or Command("unloopkillcrims") then
  1053. for i,Player in pairs(game.Players:GetPlayers()) do
  1054. if Player.TeamColor.Name == "Really red" then
  1055. LoopKill[Player.UserId] = nil
  1056. end
  1057. end
  1058. end
  1059. if Command("loopkillall") or Command("loopkillsall") then
  1060. for i,Player in pairs(game.Players:GetPlayers()) do
  1061. if Player ~= game.Players.LocalPlayer then
  1062. if not LoopKill[Player.UserId] then
  1063. LoopKill[Player.UserId] = {Player = Player}
  1064. end
  1065. end
  1066. end
  1067. end
  1068. if Command("unloopkillall") or Command("unloopkillsall") then
  1069. for i,Player in pairs(game.Players:GetPlayers()) do
  1070. if Player ~= game.Players.LocalPlayer then
  1071. if LoopKill[Player.UserId] then
  1072. LoopKill[Player.UserId] = nil
  1073. end
  1074. end
  1075. end
  1076. end
  1077.  
  1078. if Command("goto") or Command("to") then
  1079. local Player = GetPlayer(Arg2)
  1080. if Player ~= nil then
  1081. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = workspace[Player.Name].HumanoidRootPart.CFrame
  1082. end
  1083. end
  1084. if Command("re") or Command("refresh") then
  1085. if game.Players.LocalPlayer.TeamColor.Name ~= "Medium stone grey" then
  1086. if game.Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPart") then
  1087. local savedcf = GetPos()
  1088. local savedcamcf = GetCamPos()
  1089. workspace.Remote.loadchar:InvokeServer()
  1090. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf
  1091. workspace.CurrentCamera.CFrame = savedcamcf
  1092. end
  1093. else
  1094. if game.Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPart") then
  1095. local savedcf = GetPos()
  1096. local savedcamcf = GetCamPos()
  1097. workspace.Remote.loadchar:InvokeServer(nil, BrickColor.new("Bright orange").Name)
  1098. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf
  1099. workspace.CurrentCamera.CFrame = savedcamcf
  1100. workspace.Remote.TeamEvent:FireServer("Medium stone grey")
  1101. end
  1102. end
  1103. end
  1104. if Command("res") or Command("respawn") then
  1105. if game.Players.LocalPlayer.TeamColor.Name ~= "Medium stone grey" then
  1106. workspace.Remote.loadchar:InvokeServer()
  1107. else
  1108. workspace.Remote.loadchar:InvokeServer(nil, BrickColor.new("Bright orange").Name)
  1109. local savedcf = GetPos()
  1110. local savedcamcf = GetCamPos()
  1111. workspace.Remote.loadchar:InvokeServer(nil, BrickColor.new("Really red").Name)
  1112. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf
  1113. workspace.CurrentCamera.CFrame = savedcamcf
  1114. workspace.Remote.TeamEvent:FireServer("Medium stone grey")
  1115. end
  1116. end
  1117. if Command("looparrest") or Command("spamarrest") then
  1118. local Player = GetPlayer(Arg2)
  1119. if Player ~= nil then
  1120. States.SpamArrest = true
  1121. repeat wait()
  1122. pcall(function()
  1123. if game.Players[Player.Name] ~= nil and States.SpamArrest then
  1124. if Player.TeamColor.Name ~= "Really red" then
  1125. repeat Teleport(Player, CFrame.new(-919, 94, 2138)) until Player.TeamColor.Name == "Really red" or not States.SpamArrest or not game.Players[Player.Name]
  1126. end
  1127. wait(.1)
  1128. Goto(Player, CFrame.new(0, 0, 1))
  1129. for i = 1,750 do
  1130. if Player.TeamColor.Name ~= "Really red" or not States.SpamArrest or not game.Players[Player.Name] then return end
  1131. coroutine.wrap(function()
  1132. ArrestEvent(Player, math.huge)
  1133. end)()
  1134. end
  1135. repeat wait() until not game.Players[Player.Name] or Player.TeamColor.Name ~= "Really red" or not States.SpamArrest
  1136. end
  1137. end)
  1138. until not States.SpamArrest or not game.Players[Player.Name]
  1139. end
  1140. end
  1141. if Command("unlooparrest") or Command("unspamarrest") then
  1142. States.SpamArrest = false
  1143. end
  1144. if Command("view") or Command("spectate") or Command("watch") then
  1145. local Player = GetPlayer(Arg2)
  1146. if Player ~= nil then
  1147. Watching = Player
  1148. end
  1149. while wait() do
  1150. if Watching ~= nil then
  1151. pcall(function()
  1152. workspace.CurrentCamera.CameraSubject = workspace[Watching.Name].Head
  1153. end)
  1154. end
  1155. end
  1156. end
  1157. if Command("antifling") then
  1158. States.Anti_Fling = true
  1159. game.Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPart").Size = Vector3.new(math.huge, game.Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPart").Size.Y, math.huge)
  1160. game.Players.LocalPlayer.CharacterAdded:Connect(function(Character)
  1161. if States.Anti_Fling then
  1162. pcall(function()
  1163. game.Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPart").Size = Vector3.new(math.huge, game.Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPart").Size.Y, math.huge)
  1164. end)
  1165. end
  1166. end)
  1167. end
  1168. if Command("noclip") or Command("noclips") then
  1169. States.Noclips = true
  1170. game:GetService("RunService").Stepped:Connect(function()
  1171. if States.Noclips then
  1172. pcall(function()
  1173. game.Players.LocalPlayer.Character:FindFirstChild("Head").CanCollide = false
  1174. game.Players.LocalPlayer.Character:FindFirstChild("Torso").CanCollide = false
  1175. end)
  1176. end
  1177. end)
  1178. end
  1179. if Command("clip") or Command("clips") then
  1180. States.Noclips = false
  1181. end
  1182. if Command("unantifling") then
  1183. States.Anti_Fling = false
  1184. end
  1185. if Command("antivest") or Command("anticrash") then
  1186. States.Anti_Crash = true
  1187. while wait() do
  1188. if States.Anti_Crash then
  1189. for i,v in pairs(game.Players:GetPlayers()) do
  1190. pcall(function()
  1191. v.Character.vest:Destroy()
  1192. end)
  1193. end
  1194. end
  1195. end
  1196. end
  1197. if Command("unantivest") or Command("unanticrash") then
  1198. States.Anti_Crash = false
  1199. end
  1200. if Command("fastpunch") or Command("speedpunch") or Command("speedlypunch") or Command("superspeedpunch") then
  1201. States.Fast_Punch = true
  1202. end
  1203. if Command("slowpunch") or Command("normalspeedpunch") or Command("nofastpunch") or Command("unfastpunch") then
  1204. States.Fast_Punch = false
  1205. end
  1206. if Command("superpunch") or Command("onepunch") then
  1207. local ReplicatedStorage = game:GetService("ReplicatedStorage")
  1208. local MeleeEvent = ReplicatedStorage:FindFirstChild("meleeEvent")
  1209. local Mouse = game.Players.LocalPlayer:GetMouse()
  1210. local Punch = false
  1211. local Cooldown = false
  1212. States.SuperPunch = true
  1213.  
  1214. local function Punch()
  1215. if not States.Fast_Punch then
  1216. Cooldown = true
  1217. local Part = Instance.new("Part", game.Players.LocalPlayer.Character)
  1218. Part.Transparency = 1
  1219. Part.Size = Vector3.new(5, 2, 3)
  1220. Part.CanCollide = false
  1221. local Weld = Instance.new("Weld", Part)
  1222. Weld.Part0 = game.Players.LocalPlayer.Character.Torso
  1223. Weld.Part1 = Part
  1224. Weld.C1 = CFrame.new(0, 0, 2)
  1225. Part.Touched:connect(function(Touch)
  1226. if game.Players:FindFirstChild(Touch.Parent.Name) then
  1227. local plr = game.Players:FindFirstChild(Touch.Parent.Name)
  1228. if plr.Name ~= game.Players.LocalPlayer.Name then
  1229. Part:Destroy()
  1230. for i = 1,100 do
  1231. MeleeEvent:FireServer(plr)
  1232. end
  1233. end
  1234. end
  1235. end)
  1236. wait(0.9)
  1237. Cooldown = false
  1238. Part:Destroy()
  1239. else
  1240. Cooldown = true
  1241. local Part = Instance.new("Part", game.Players.LocalPlayer.Character)
  1242. Part.Transparency = 1
  1243. Part.Size = Vector3.new(5, 2, 3)
  1244. Part.CanCollide = false
  1245. local Weld = Instance.new("Weld", Part)
  1246. Weld.Part0 = game.Players.LocalPlayer.Character.Torso
  1247. Weld.Part1 = Part
  1248. Weld.C1 = CFrame.new(0, 0, 2)
  1249. Part.Touched:connect(function(Touch)
  1250. if game.Players:FindFirstChild(Touch.Parent.Name) then
  1251. local plr = game.Players:FindFirstChild(Touch.Parent.Name)
  1252. if plr.Name ~= game.Players.LocalPlayer.Name then
  1253. Part:Destroy()
  1254. for i = 1,100 do
  1255. MeleeEvent:FireServer(plr)
  1256. end
  1257. end
  1258. end
  1259. end)
  1260. wait(0.1)
  1261. Cooldown = false
  1262. Part:Destroy()
  1263. end
  1264. end
  1265. Mouse.KeyDown:connect(function(Key)
  1266. if not Cooldown and States.SuperPunch then
  1267. if Key:lower() == "f" then
  1268. Punch()
  1269. end
  1270. end
  1271. end)
  1272. end
  1273. if Command("normalpunch") or Command("oldpunch") or Command("nosuperpunch") or Command("stoponepunch") or Command("unonepunch") or Command("unsuperpunch") then
  1274. States.SuperPunch = false
  1275. end
  1276. if Command("superknife") then
  1277. local Knife = game.Players.LocalPlayer.Backpack:FindFirstChild("Crude Knife") or game.Players.LocalPlayer.Character:FindFirstChild("Crude Knife")
  1278. if not Knife then
  1279. workspace.Remote.ItemHandler:InvokeServer(workspace["Prison_ITEMS"].single["Crude Knife"].ITEMPICKUP)
  1280. end
  1281. wait()
  1282. Knife = game.Players.LocalPlayer.Backpack:FindFirstChild("Crude Knife") or game.Players.LocalPlayer.Character:FindFirstChild("Crude Knife")
  1283. if Knife then
  1284. local Cooldown = false
  1285. local Hitting = false
  1286. local Hitted = false
  1287. Knife.Equipped:Connect(function()
  1288. Knife.Activated:Connect(function()
  1289. if not Cooldown then
  1290. Cooldown = true
  1291. Hitting = true
  1292. for i,v in pairs(Knife:GetChildren()) do
  1293. if v:IsA("Part") then
  1294. v.Touched:Connect(function(Hit)
  1295. if Hit and Hit.Parent ~= game.Players.LocalPlayer and not Hitted and Hitting then
  1296. Hitted = true
  1297. for i = 1,25 do
  1298. game.ReplicatedStorage.meleeEvent:FireServer(game.Players[Hit.Parent.Name])
  1299. end
  1300. end
  1301. end)
  1302. end
  1303. end
  1304. wait(0.5)
  1305. Cooldown = false
  1306. Hitting = false
  1307. Hitted = false
  1308. end
  1309. end)
  1310. end)
  1311. end
  1312. end
  1313. if Command("unview") or Command("unspectate") or Command("stopwatch") or Command("unwatch") then
  1314. Watching = nil
  1315. workspace.CurrentCamera.CameraSubject = game.Players.LocalPlayer.Character.Head
  1316. end
  1317. if Command("antivoid") or Command("antifell") then
  1318. States.Anti_Void = true
  1319. while wait() do
  1320. if States.Anti_Void then
  1321. pcall(function()
  1322. if game.Players.LocalPlayer.Character.HumanoidRootPart.Position.Y < 1 then
  1323. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(888, 100, 2388)
  1324. end
  1325. end)
  1326. end
  1327. end
  1328. end
  1329. if Command("unantivoid") or Command("unantifell") then
  1330. States.Anti_Void = false
  1331. end
  1332. if Command("bring") then
  1333. local Player = GetPlayer(Arg2)
  1334. if Player ~= nil then
  1335. Teleport(GetPlayer(Arg2), game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame)
  1336. end
  1337. end
  1338. if Command("teleport") or Command("tp") then
  1339. local Player = GetPlayer(Arg2)
  1340. local Player2 = GetPlayer(Arg3)
  1341. if Player ~= nil and Player2 ~= nil then
  1342. TeleportV(Player, Player2)
  1343. end
  1344. end
  1345. if Command("void") then
  1346. local Player = GetPlayer(Arg2)
  1347. if Player ~= nil then
  1348. Teleport(Player, CFrame.new(999999, 999999, 999999))
  1349. end
  1350. end
  1351. if Command("killaura") then
  1352. States.Kill_Aura = true
  1353. end
  1354. if Command("nokillaura") or Command("unkillaura") then
  1355. States.Kill_Aura = false
  1356. end
  1357. if Command("auto") or Command("autore") or Command("autorefresh") then
  1358. States.Auto_Refresh = true
  1359. while wait() do
  1360. if States.Auto_Refresh == true then
  1361. pcall(function()
  1362. if game.Players.LocalPlayer.Character.Humanoid.Health < 1 then
  1363. if game.Players.LocalPlayer.TeamColor.Name ~= "Medium stone grey" then
  1364. if game.Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPart") then
  1365. local savedcf = GetPos()
  1366. local savedcamcf = GetCamPos()
  1367. workspace.Remote.loadchar:InvokeServer()
  1368. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf
  1369. workspace.CurrentCamera.CFrame = savedcamcf
  1370. end
  1371. else
  1372. if game.Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPart") then
  1373. local savedcf = GetPos()
  1374. local savedcamcf = GetCamPos()
  1375. workspace.Remote.loadchar:InvokeServer(nil, BrickColor.new("Bright orange").Name)
  1376. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf
  1377. workspace.CurrentCamera.CFrame = savedcamcf
  1378. workspace.Remote.TeamEvent:FireServer("Medium stone grey")
  1379. end
  1380. end
  1381. end
  1382. end)
  1383. end
  1384. end
  1385. end
  1386. if Command("unauto") or Command("auntore") or Command("unautorefresh") then
  1387. States.Auto_Refresh = false
  1388. end
  1389. if Command("prefix") or Command("newprefix") or Command("changeprefix") then
  1390. local NewPrefix = Arg2
  1391. if NewPrefix ~= nil then
  1392. Prefix = NewPrefix
  1393. Execute.PlaceholderText = "Press "..Prefix.." To Enter"
  1394. end
  1395. end
  1396. if Command("speed") or Command("walkspeed") or Command("setspeed") or Command("setwalkspeed") then
  1397. local WalkSpeed = tonumber(Arg2)
  1398. if WalkSpeed ~= nil then
  1399. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = WalkSpeed
  1400. end
  1401. end
  1402. if Command("jumppower") or Command("jumphigh") or Command("setjumppower") then
  1403. local JumpPower = tonumber(Arg2)
  1404. if JumpPower ~= nil then
  1405. game.Players.LocalPlayer.Character.Humanoid.JumpPower = JumpPower
  1406. end
  1407. end
  1408. if Command("hipheight") or Command("sethipheight") then
  1409. local HipHeight = tonumber(Arg2)
  1410. if HipHeight ~= nil then
  1411. game.Players.LocalPlayer.Character.Humanoid.HipHeight = HipHeight
  1412. end
  1413. end
  1414. if Command("lagserver") or Command("disconnect") then
  1415. States.Lag_Server = true
  1416. while wait() do
  1417. if States.Lag_Server then
  1418. coroutine.wrap(function()
  1419. pcall(function()
  1420. workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["Remington 870"].ITEMPICKUP)
  1421.  
  1422. local Gun = game.Players.LocalPlayer.Backpack["Remington 870"] or game.Players.LocalPlayer.Character["Remington 870"]
  1423.  
  1424. local args = {
  1425. [1] = {
  1426. ["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),
  1427. ["Distance"] = 0,
  1428. ["Cframe"] = CFrame.new(),
  1429. ["Hit"] = workspace[game.Players.LocalPlayer.Name].Head
  1430. }, [2] = {
  1431. ["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),
  1432. ["Distance"] = 0,
  1433. ["Cframe"] = CFrame.new(),
  1434. ["Hit"] = workspace[game.Players.LocalPlayer.Name].Head
  1435. }, [3] = {
  1436. ["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),
  1437. ["Distance"] = 0,
  1438. ["Cframe"] = CFrame.new(),
  1439. ["Hit"] = workspace[game.Players.LocalPlayer.Name].Head
  1440. }, [4] = {
  1441. ["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),
  1442. ["Distance"] = 0,
  1443. ["Cframe"] = CFrame.new(),
  1444. ["Hit"] = workspace[game.Players.LocalPlayer.Name].Head
  1445. }, [5] = {
  1446. ["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),
  1447. ["Distance"] = 0,
  1448. ["Cframe"] = CFrame.new(),
  1449. ["Hit"] = workspace[game.Players.LocalPlayer.Name].Head
  1450. }, [6] = {
  1451. ["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),
  1452. ["Distance"] = 0,
  1453. ["Cframe"] = CFrame.new(),
  1454. ["Hit"] = workspace[game.Players.LocalPlayer.Name].Head
  1455. }, [7] = {
  1456. ["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),
  1457. ["Distance"] = 0,
  1458. ["Cframe"] = CFrame.new(),
  1459. ["Hit"] = workspace[game.Players.LocalPlayer.Name].Head
  1460. }, [8] = {
  1461. ["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),
  1462. ["Distance"] = 0,
  1463. ["Cframe"] = CFrame.new(),
  1464. ["Hit"] = workspace[game.Players.LocalPlayer.Name].Head
  1465. }
  1466. }
  1467.  
  1468. game:GetService("ReplicatedStorage").ShootEvent:FireServer(args, Gun)
  1469. end)
  1470. end)()
  1471. end
  1472. end
  1473. end
  1474. if Command("unlagserver") or Command("stopdisconnect") or Command("undisconnect") then
  1475. States.Lag_Server = false
  1476. end
  1477. if Command("gravity") or Command("setgravity") then
  1478. local Gravity = tonumber(Arg2)
  1479. if Gravity ~= nil then
  1480. workspace.Gravity = Gravity
  1481. end
  1482. end
  1483. if Command("makecrim") then
  1484. local Player = GetPlayer(Arg2)
  1485. if Player ~= nil then
  1486. Teleport(Player, CFrame.new(-919, 96, 2138))
  1487. end
  1488. end
  1489. if Command("resetgravity") or Command("regravity") then
  1490. workspace.Gravity = 196.2
  1491. end
  1492. if Command("resethipheight") or Command("rehipheight") then
  1493. game.Players.LocalPlayer.Character.Humanoid.HipHeight = 0
  1494. end
  1495. if Command("resetspeed") or Command("respeed") then
  1496. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 16
  1497. end
  1498. if Command("resetjumppower") or Command("rejumppower") then
  1499. game.Players.LocalPlayer.Character.Humanoid.JumpPower = 50
  1500. end
  1501. if Command("leave") or Command("leaveserver") or Command("quit") then
  1502. game:Shutdown()
  1503. end
  1504. if Command("rejoin") or Command("rj") then
  1505. game:GetService("TeleportService"):Teleport(game.PlaceId, game.Players.LocalPlayer)
  1506. end
  1507. if Command("nodoors") or Command("deletedoors") then
  1508. if workspace:FindFirstChild("Doors") then
  1509. workspace.Doors.Parent = game.Lighting
  1510. end
  1511. end
  1512. if Command("doors") or Command("restoredoors") then
  1513. if game.Lighting:FindFirstChild("Doors") then
  1514. game.Lighting.Doors.Parent = workspace
  1515. end
  1516. end
  1517. if Command("nowalls") or Command("deletedoors") then
  1518. pcall(function()
  1519. for i,v in pairs(Walls) do
  1520. v.Parent = game.Lighting
  1521. end
  1522. end)
  1523. end
  1524. if Command("walls") or Command("restorewalls") then
  1525. pcall(function()
  1526. for i,v in pairs(game.Lighting:GetChildren()) do
  1527. if v.Name ~= "Doors" then
  1528. v.Parent = workspace
  1529. end
  1530. end
  1531. end)
  1532. end
  1533. if Command("god") or Command("godmode") then
  1534. States.God_Mode = true
  1535. while wait() do
  1536. if States.God_Mode then
  1537. game.Players.LocalPlayer.Character.Humanoid.Name = 1
  1538. local l = game.Players.LocalPlayer.Character["1"]:Clone()
  1539. l.Parent = game.Players.LocalPlayer.Character
  1540. l.Name = "Humanoid"
  1541. game.Players.LocalPlayer.Character.Animate.Disabled = true
  1542. wait()
  1543. game.Players.LocalPlayer.Character.Animate.Disabled = false
  1544. game.Players.LocalPlayer.Character["1"]:Destroy()
  1545. game.Workspace.CurrentCamera.CameraSubject = game.Players.LocalPlayer.Character
  1546. wait(5)
  1547. local savedcf = GetPos()
  1548. local savedcamcf = GetCamPos()
  1549. local savedteam = GetTeam()
  1550. workspace.Remote.loadchar:InvokeServer(nil, BrickColor.new(savedteam).Name)
  1551. workspace.CurrentCamera.CFrame = savedcamcf
  1552. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf
  1553. end
  1554. end
  1555. end
  1556. if Command("ungod") or Command("ungodmode") then
  1557. States.God_Mode = false
  1558. end
  1559. if Command("arrest") or Command("handcuffs") then
  1560. local Player = GetPlayer(Arg2)
  1561. if Player ~= nil then
  1562. Arrest(Player, tonumber(Arg3))
  1563. end
  1564. end
  1565. if Command("arrestall") or Command("arrestother") or Command("arrestothers") then
  1566. for i,v in pairs(game.Players:GetPlayers()) do
  1567. if v ~= game.Players.LocalPlayer then
  1568. if v.TeamColor.Name == "Really red" then
  1569. Arrest(v, 30)
  1570. end
  1571. end
  1572. end
  1573. end
  1574. if Command("opengate") then
  1575. workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.buttons["Prison Gate"]["Prison Gate"])
  1576. end
  1577. if Command("getpos") then
  1578. print("Humanoid Root Part Position :")
  1579. print(game.Players.LocalPlayer.Character.HumanoidRootPart.Position)
  1580. print("Camera CFrame :")
  1581. print(workspace.CurrentCamera.CFrame)
  1582. end
  1583. if Command("saveposition") or Command("savepos") then
  1584. States.SavedCFrame = GetPos()
  1585. end
  1586. if Command("loadposition") or Command("loadpos") then
  1587. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = States.SavedCFrame
  1588. end
  1589. if Command("spamchat") then
  1590. States.SpamChat = true
  1591. if tonumber(Arg2) ~= nil then
  1592. States.Spam_Wait = tonumber(Arg2)
  1593. else
  1594. States.Spam_Wait = 1
  1595. end
  1596. while wait() do
  1597. if States.SpamChat then
  1598. local MessagesToChat = {
  1599. "I'm your dad",
  1600. "I'm your mom",
  1601. "I'm a god and I'm your dad",
  1602. "__________",
  1603. "OMG",
  1604. "OML",
  1605. "BEPP BOP BEEP BEEP BOP",
  1606. " ",
  1607. "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!",
  1608. "I'M THE MOST PRO IN HERE",
  1609. "I'M A PRO IN THIS SERVER ALL OF YOU ARE NOOB!",
  1610. "LOL XD LOL XD LOL XD",
  1611. "Read my chat",
  1612. "Can you die while you are died?",
  1613. "You know what, I'm a god",
  1614. "Sub to CXZ NAME_R",
  1615. "WOW",
  1616. "wow",
  1617. "\( ̄︶ ̄*\))"
  1618. }
  1619.  
  1620. while true do
  1621. wait(States.Spam_Wait)
  1622. if States.SpamChat then
  1623. pcall(function()
  1624. Chat(MessagesToChat[math.random(1, #MessagesToChat)])
  1625. end)
  1626. end
  1627. end
  1628. end
  1629. end
  1630. end
  1631. if Command("unspamchat") then
  1632. States.SpamChat = false
  1633. end
  1634. if Command("loopbring") then
  1635. local Player = GetPlayer(Arg2)
  1636. if Player ~= nil then
  1637. States.PlayerToLoopBring = Player
  1638. States.LoopBring = true
  1639. repeat wait()
  1640. pcall(function()
  1641. if States.LoopBring and game.Players[States.PlayerToLoopBring.Name] then
  1642. local savedcf = GetPos()
  1643. Teleport(States.PlayerToLoopBring, GetPos())
  1644. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf
  1645. end
  1646. end)
  1647. until States.LoopBring == false
  1648. end
  1649. end
  1650. if Command("unloopbring") then
  1651. States.LoopBring = false
  1652. States.PlayerToLoopBring = nil
  1653. end
  1654. if Command("admin") or Command("giveadmin") then
  1655. local Player = GetPlayer(Arg2)
  1656. if Player ~= nil and not Admin[Player.UserId] then
  1657. Admin[Player.UserId] = {Player = Player}
  1658. Chat("/w "..Player.Name.." You've got admin permissions! Type "..Prefix.."cmds or "..Prefix.."cmd to see all commands")
  1659. end
  1660. end
  1661. if Command("unadmin") or Command("removeadmin") then
  1662. local Player = GetPlayer(Arg2)
  1663. if Player ~= nil and Admin[Player.UserId] then
  1664. Admin[Player.UserId] = nil
  1665. Chat("/w "..Player.Name.." You are bad you've been removed admin permissions")
  1666. end
  1667. end
  1668. if Command("baseballbat") or Command("bat") then
  1669. local LocalPlayer = game.Players.LocalPlayer
  1670. local Character = LocalPlayer.Character
  1671. local Backpack = LocalPlayer.Backpack
  1672. local Humanoid = Character.Humanoid
  1673. if not Backpack:FindFirstChild("Bat") and not Backpack:FindFirstChild("Bat") then
  1674. local BaseBallBat = Instance.new("Tool", Backpack)
  1675. local Handle = Instance.new("Part", BaseBallBat)
  1676. BaseBallBat.GripPos = Vector3.new(0, -1.15, 0)
  1677. BaseBallBat.Name = "Bat"
  1678. Handle.Name = "Handle"
  1679. Handle.Size = Vector3.new(0.4, 5, 0.4)
  1680. local Animation =Instance.new("Animation", BaseBallBat)
  1681. Animation.AnimationId = "rbxassetid://218504594"
  1682. local Track = Humanoid:LoadAnimation(Animation)
  1683. local Cooldown = false
  1684. local Attacked = false
  1685. local Attacking = false
  1686. BaseBallBat.Equipped:Connect(function()
  1687. BaseBallBat.Activated:Connect(function()
  1688. if not Cooldown then
  1689. Cooldown = true
  1690. Attacking = true
  1691. Track:Play()
  1692. Handle.Touched:Connect(function(Hit)
  1693. if Hit.Parent and Hit.Parent ~= game.Players.LocalPlayer and not Attacked and Attacking then
  1694. Attacked = true
  1695. for i = 1,15 do
  1696. game.ReplicatedStorage.meleeEvent:FireServer(game.Players[Hit.Parent.Name])
  1697. end
  1698. end
  1699. end)
  1700. wait(0.25)
  1701. Cooldown = false
  1702. Attacked = false
  1703. Attacking = false
  1704. end
  1705. end)
  1706. end)
  1707. end
  1708. end
  1709. if Command("test") then
  1710. local savedcf = GetPos()
  1711. local CrimPad = workspace["Criminals Spawn"].SpawnLocation
  1712. local padcf = CrimPad.CFrame
  1713. workspace.Remote.loadchar:InvokeServer(nil, BrickColor.new("Really red").Name)
  1714. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CrimPad.CFrame
  1715. wait()
  1716. CrimPad.CFrame = GetPos()
  1717. CrimPad.CanCollide = false
  1718. CrimPad.Transparency = 1.000
  1719. CrimPad.Anchored = true
  1720. pcall(function()
  1721. for i,v in pairs(game.Teams.Inmates:GetPlayers()) do
  1722. if v ~= game.Players.LocalPlayer then
  1723. CrimPad.CFrame = v.Character.HumanoidRootPart.CFrame
  1724. end
  1725. end
  1726. for i,v in pairs(game.Teams.Guards:GetPlayers()) do
  1727. if v ~= game.Players.LocalPlayer then
  1728. CrimPad.CFrame = v.Character.HumanoidRootPart.CFrame
  1729. end
  1730. end
  1731. end)
  1732. workspace.Remote.loadchar:InvokeServer()
  1733. CrimPad.Transparency = 0.000
  1734. CrimPad.CFrame = padcf
  1735. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf
  1736. end
  1737. if Command("nexus") then
  1738. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(888, 100, 2388)
  1739. end
  1740. if Command("cafe") then
  1741. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(877, 100, 2256)
  1742. end
  1743. if Command("backnexus") then
  1744. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(982, 100, 2334)
  1745. end
  1746. if Command("crimbase") or Command("criminalbase") then
  1747. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(943, 95, 2055)
  1748. end
  1749. if Command("armory") then
  1750. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(789, 100, 2260)
  1751. end
  1752. if Command("lunchroom") then
  1753. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(905, 100, 2226)
  1754. end
  1755. if Command("gate") then
  1756. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(505, 103, 2250)
  1757. end
  1758. if Command("tower") then
  1759. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(822, 131, 2588)
  1760. end
  1761. if Command("gatetower") then
  1762. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(502, 126, 2306)
  1763. end
  1764. if Command("sewer") then
  1765. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(916, 79, 2311)
  1766. end
  1767. if Command("makecrimall") then
  1768. local savedcf = GetPos()
  1769. local CrimPad = workspace["Criminals Spawn"].SpawnLocation
  1770. local padcf = CrimPad.CFrame
  1771. workspace.Remote.loadchar:InvokeServer(nil, BrickColor.new("Really red").Name)
  1772. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CrimPad.CFrame
  1773. wait()
  1774. CrimPad.CFrame = GetPos()
  1775. CrimPad.CanCollide = false
  1776. CrimPad.Transparency = 1.000
  1777. CrimPad.Anchored = true
  1778. repeat wait()
  1779. pcall(function()
  1780. for i,v in pairs(game.Teams.Inmates:GetPlayers()) do
  1781. if v ~= game.Players.LocalPlayer then
  1782. Teleport(v, CrimPad.CFrame)
  1783. end
  1784. end
  1785. for i,v in pairs(game.Teams.Guards:GetPlayers()) do
  1786. if v ~= game.Players.LocalPlayer then
  1787. Teleport(v, CrimPad.CFrame)
  1788. end
  1789. end
  1790. end)
  1791. until #game.Teams.Criminals:GetPlayers() == (#game.Players:GetPlayers()-#game.Teams.Neutral:GetPlayers())
  1792. workspace.Remote.loadchar:InvokeServer()
  1793. CrimPad.Transparency = 0.000
  1794. CrimPad.CFrame = padcf
  1795. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf
  1796. end
  1797. if Command("bringall") then
  1798. for i,v in pairs(game.Players:GetPlayers()) do
  1799. if v ~= game.Players.LocalPlayer then
  1800. Teleport(v, GetPos())
  1801. end
  1802. end
  1803. end
  1804. if Command("notify") then
  1805. States.Notify = true
  1806. end
  1807. if Command("nonotify") then
  1808. States.Notify = false
  1809. end
  1810. if PrefixCommand("getprefix") then
  1811. Chat("Prefix : "..Prefix)
  1812. end
  1813. if Command("cmd") or Command("cmds") then
  1814. if Background.Visible == true then
  1815. Background.Visible = false
  1816. else
  1817. Background.Visible = true
  1818. end
  1819. end
  1820.  
  1821. end
  1822.  
  1823. function AdminPlayerChatted(Message, Player)
  1824. Split = Message:split(" ")
  1825. Arg1 = Split[1]
  1826. Arg2 = Split[2]
  1827. Arg3 = Split[3]
  1828. Arg4 = Split[4]
  1829. if Command("nexus") then
  1830. Teleport(Player, CFrame.new(888, 100, 2388))
  1831. end
  1832. if Command("cafe") then
  1833. Teleport(Player, CFrame.new(877, 100, 2256))
  1834. end
  1835. if Command("backnexus") then
  1836. Teleport(Player, CFrame.new(982, 100, 2334))
  1837. end
  1838. if Command("armory") then
  1839. Teleport(Player, CFrame.new(789, 100, 2260))
  1840. end
  1841. if Command("tower") then
  1842. Teleport(Player, CFrame.new(822, 131, 2588))
  1843. end
  1844. if Command("bring") then
  1845. TeleportV(GetPlayer(Arg2), Player)
  1846. end
  1847. if Command("void") then
  1848. Teleport(GetPlayer(Arg2), CFrame.new(99999, 99999, 99999))
  1849. end
  1850. if Command("beam") then
  1851. Beam(GetPlayer(Arg2), math.huge, 60)
  1852. end
  1853. if Command("disconnect") then
  1854. States.Disconnect = true
  1855. while wait() do
  1856. if States.Disconnect then
  1857. coroutine.wrap(function()
  1858. pcall(function()
  1859. workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["Remington 870"].ITEMPICKUP)
  1860.  
  1861. local Gun = game.Players.LocalPlayer.Backpack["Remington 870"] or game.Players.LocalPlayer.Character["Remington 870"]
  1862.  
  1863. local args = {
  1864. [1] = {
  1865. ["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),
  1866. ["Distance"] = 0,
  1867. ["Cframe"] = CFrame.new(),
  1868. ["Hit"] = workspace[game.Players.LocalPlayer.Name].Head
  1869. }, [2] = {
  1870. ["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),
  1871. ["Distance"] = 0,
  1872. ["Cframe"] = CFrame.new(),
  1873. ["Hit"] = workspace[game.Players.LocalPlayer.Name].Head
  1874. }, [3] = {
  1875. ["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),
  1876. ["Distance"] = 0,
  1877. ["Cframe"] = CFrame.new(),
  1878. ["Hit"] = workspace[game.Players.LocalPlayer.Name].Head
  1879. }, [4] = {
  1880. ["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),
  1881. ["Distance"] = 0,
  1882. ["Cframe"] = CFrame.new(),
  1883. ["Hit"] = workspace[game.Players.LocalPlayer.Name].Head
  1884. }, [5] = {
  1885. ["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),
  1886. ["Distance"] = 0,
  1887. ["Cframe"] = CFrame.new(),
  1888. ["Hit"] = workspace[game.Players.LocalPlayer.Name].Head
  1889. }, [6] = {
  1890. ["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),
  1891. ["Distance"] = 0,
  1892. ["Cframe"] = CFrame.new(),
  1893. ["Hit"] = workspace[game.Players.LocalPlayer.Name].Head
  1894. }, [7] = {
  1895. ["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),
  1896. ["Distance"] = 0,
  1897. ["Cframe"] = CFrame.new(),
  1898. ["Hit"] = workspace[game.Players.LocalPlayer.Name].Head
  1899. }, [8] = {
  1900. ["RayObject"] = Ray.new(Vector3.new(), Vector3.new()),
  1901. ["Distance"] = 0,
  1902. ["Cframe"] = CFrame.new(),
  1903. ["Hit"] = workspace[game.Players.LocalPlayer.Name].Head
  1904. }
  1905. }
  1906.  
  1907. game:GetService("ReplicatedStorage").ShootEvent:FireServer(args, Gun)
  1908. end)
  1909. end)()
  1910. end
  1911. end
  1912. end
  1913. if Command("undisconnect") then
  1914. States.Disconnect = false
  1915. end
  1916. if Command("spamarrest") then
  1917. local GP = GetPlayer(Arg2)
  1918. if GP then
  1919. States.SpamArrest2 = true
  1920. repeat wait()
  1921. pcall(function()
  1922. if GP.TeamColor.Name ~= "Really red" then
  1923. if not States.SpamArrest2 then return end
  1924. repeat Teleport(GP, CFrame.new(-919, 96, 2138)) until GP.TeamColor.Name == "Really red" or not States.SpamArrest2 or not game.Players[GP.Name]
  1925. end
  1926. wait(.1)
  1927. for i = 1,500 do
  1928. coroutine.wrap(function()
  1929. ArrestEvent(GP, math.huge)
  1930. end)()
  1931. end
  1932. end)
  1933. until not States.SpamArrest2 or not game.Players[GP.Name]
  1934. end
  1935. end
  1936. if Command("unspamarrest") then
  1937. States.SpamArrest2 = false
  1938. end
  1939. if Command("killguard") or Command("killguards") then
  1940. for i,v in pairs(game.Teams.Guards:GetPlayers()) do
  1941. if v ~= game.Players.LocalPlayer or v ~= Player then
  1942. Kill(v)
  1943. end
  1944. end
  1945. end
  1946. if Command("killinmate") or Command("killinmates") then
  1947. for i,v in pairs(game.Teams.Inmates:GetPlayers()) do
  1948. if v ~= game.Players.LocalPlayer or v ~= Player then
  1949. Kill(v)
  1950. end
  1951. end
  1952. end
  1953. if Command("killcriminal") or Command("killcriminals") then
  1954. for i,v in pairs(game.Teams.Criminals:GetPlayers()) do
  1955. if v ~= game.Players.LocalPlayer or v ~= Player then
  1956. Kill(v)
  1957. end
  1958. end
  1959. end
  1960. if Command("killall") or Command("killothers") then
  1961. for i,v in pairs(game.Players:GetPlayers()) do
  1962. if v ~= game.Players.LocalPlayer or v ~= Player then
  1963. Kill(v)
  1964. end
  1965. end
  1966. end
  1967. if Command("kill") or Command("kills") then
  1968. Kill(GetPlayer(Arg2))
  1969. end
  1970. if Command("loopkill") or Command("loopkills") then
  1971. local Player = GetPlayer(Arg2)
  1972. if Player ~= nil and not LoopKill[Player.UserId] then
  1973. LoopKill[Player.UserId] = {Player = Player}
  1974. end
  1975. end
  1976. if Command("unloopkill") or Command("unloopkills") then
  1977. local Player = GetPlayer(Arg2)
  1978. if Player ~= nil and LoopKill[Player.UserId] then
  1979. LoopKill[Player.UserId] = nil
  1980. end
  1981. end
  1982. if Command("tase") then
  1983. local Player = GetPlayer(Arg2)
  1984. if Player ~= nil then
  1985. Tase(Player)
  1986. end
  1987. end
  1988. if Command("makecrim") then
  1989. Teleport(GetPlayer(Arg2), CFrame.new(-919, 96, 2138))
  1990. end
  1991. if Command("arrest") then
  1992. Arrest(GetPlayer(Arg2))
  1993. end
  1994. if Command("crim") then
  1995. Teleport(Player, CFrame.new(-919, 96, 2138))
  1996. end
  1997. if Command("goto") or Command("to") then
  1998. TeleportV(Player, GetPlayer(Arg2))
  1999. end
  2000. if Command("cmd") or Command("cmds") then
  2001. 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)
  2002. Chat("/w "..Player.Name.." "..Prefix.."crim "..Prefix.."tower "..Prefix.."nexus "..Prefix.."backnexus "..Prefix.."cafe "..Prefix.."armory "..Prefix.."bring [plr]") wait(.1)
  2003. Chat("/w "..Player.Name.." "..Prefix.."killall "..Prefix.."killothers "..Prefix.."killinmate "..Prefix.."killinmates "..Prefix.."killguard "..Prefix.."killguards "..Prefix.."killcriminals "..Prefix.."killcriminal "..Prefix.."void [plr]")
  2004. Chat("/w "..Player.Name.." "..Prefix.."spamarrest [plr] "..Prefix.."unspamarrest "..Prefix.."disconnect "..Prefix.." "..Prefix.."beam [plr]")
  2005. Chat("/w "..Player.Name.." "..Prefix.."cmd "..Prefix.."cmds") wait(.1)
  2006. end
  2007. end
  2008.  
  2009. game.Players.LocalPlayer.Chatted:Connect(PlayerChatted)
  2010.  
  2011. spawn(function()
  2012. while wait() do
  2013. for i,v in pairs(LoopKill) do
  2014. pcall(function()
  2015. if v.Player and v.Player.Character and v.Player.Character.Head and v.Player.Character.Humanoid.Health ~= 0 then
  2016. Kill(v.Player)
  2017. end
  2018. end)
  2019. end
  2020. end
  2021. end)
  2022.  
  2023. spawn(function()
  2024. while wait() do
  2025. for i,v in pairs(LoopBeam) do
  2026. pcall(function()
  2027. if v and v.Player and v.Player.Character and v.Player.Character.Head and v.Player.Character.HumanoidRootPart then
  2028. Beam(v.Player, math.huge, 1)
  2029. end
  2030. end)
  2031. end
  2032. end
  2033. end)
  2034.  
  2035. spawn(function()
  2036. while wait() do
  2037. if States.Fast_Punch == true then
  2038. pcall(function()
  2039. getsenv(game.Players.LocalPlayer.Character.ClientInputHandler).cs.isFighting = false
  2040. end)
  2041. end
  2042. end
  2043. end)
  2044.  
  2045. coroutine.wrap(function()
  2046. while wait() do
  2047. if States.Kill_Aura then
  2048. for i,v in pairs(game.Players:GetPlayers()) do
  2049. pcall(function()
  2050. if v ~= game.Players.LocalPlayer then
  2051. local Distance = (v.Character:FindFirstChildOfClass("Part").Position - game.Players.LocalPlayer.Character:FindFirstChildOfClass("Part").Position).magnitude
  2052. if Distance <= 10 then
  2053. for i = 1,25 do
  2054. game.ReplicatedStorage.meleeEvent:FireServer(v)
  2055. end
  2056. end
  2057. end
  2058. end)
  2059. end
  2060. end
  2061. end
  2062. end)()
  2063.  
  2064. function CheckPermissions(Player)
  2065. Player.Chatted:Connect(function(Message)
  2066. if Admin[Player.UserId] then
  2067. AdminPlayerChatted(Message, Player)
  2068. end
  2069. end)
  2070. end
  2071.  
  2072. game.Players.PlayerRemoving:Connect(function(Player)
  2073. if States.Notify then
  2074. game.StarterGui:SetCore("SendNotification", {
  2075. Title = "Game",
  2076. Text = Player.DisplayName.." Rage Quit",
  2077. Icon = game.Players:GetUserThumbnailAsync(Player.UserId, Enum.ThumbnailType.HeadShot, Enum.ThumbnailSize.Size352x352)
  2078. })
  2079. end
  2080. end)
  2081.  
  2082. game.Players.PlayerAdded:Connect(function(Player)
  2083. if States.Notify then
  2084. game.StarterGui:SetCore("SendNotification", {
  2085. Title = "Game",
  2086. Text = Player.DisplayName.." Joined",
  2087. Icon = game.Players:GetUserThumbnailAsync(Player.UserId, Enum.ThumbnailType.HeadShot, Enum.ThumbnailSize.Size352x352)
  2088. })
  2089. end
  2090. CheckPermissions(Player)
  2091. end)
  2092.  
  2093. for i,v in pairs(game.Players:GetPlayers()) do
  2094. if v ~= game.Players.LocalPlayer then
  2095. CheckPermissions(v)
  2096. end
  2097. end
  2098.  
  2099. FindCmd.Changed:Connect(function()
  2100. if FindCmd.Text ~= "" then
  2101. for i,v in pairs(CmdHandler:GetChildren()) do
  2102. if v:IsA("TextLabel") then
  2103. if not string.lower(v.Text):match(string.lower(FindCmd.Text)) then
  2104. v.Parent = Background
  2105. v.Visible = false
  2106. end
  2107. end
  2108. end
  2109. for i,v in pairs(Background:GetChildren()) do
  2110. if v.Name == "COMMANDS" then
  2111. if string.lower(v.Text):match(string.lower(FindCmd.Text)) then
  2112. v.Parent = CmdHandler
  2113. v.Visible = true
  2114. end
  2115. end
  2116. end
  2117. elseif FindCmd.Text == "" and (#CmdHandler:GetChildren()-1) ~= #Cmds then
  2118. for i,v in pairs(CmdHandler:GetChildren()) do
  2119. if v:IsA("TextLabel") then
  2120. v:Destroy()
  2121. end
  2122. end
  2123. for i,v in pairs(Background:GetChildren()) do
  2124. if v.Name == "COMMANDS" then
  2125. v:Destroy()
  2126. end
  2127. end
  2128. for i,v in pairs(Cmds) do
  2129. local clone = CmdText:Clone()
  2130. clone.Text = v
  2131. clone.Name = "COMMANDS"
  2132. clone.Parent = CmdHandler
  2133. end
  2134. end
  2135. end)
  2136.  
  2137. game.Players.LocalPlayer:GetMouse().KeyDown:Connect(function(Key)
  2138. if Key == Prefix then
  2139. if Prefix ~= "/" then
  2140. Execute:CaptureFocus()
  2141. end
  2142. end
  2143. end)
  2144.  
  2145. Execute.FocusLost:Connect(function(FocusLost)
  2146. if FocusLost then
  2147. if Execute.Text:sub(1,#Prefix) ~= Prefix then
  2148. PlayerChatted(Prefix..Execute.Text)
  2149. else
  2150. PlayerChatted(Execute.Text)
  2151. end
  2152. end
  2153. end)
  2154.  
  2155. getgenv().DisableScript = function()
  2156. pcall(function()
  2157. CmdGui:Destroy()
  2158. States = {}
  2159. LoopKill = {}
  2160. LoopTase = {}
  2161. Admin = {}
  2162. ScriptDisabled = true
  2163. for i,v in pairs(game.Lighting:GetChildren()) do
  2164. v.Parent = workspace
  2165. end
  2166. Chat("Unloaded")
  2167. end)
  2168. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement