th3p3nguin34351

vj script

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