Advertisement
GreenMs02

Fixed line

Jun 23rd, 2019
853
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 22.87 KB | None | 0 0
  1.  
  2. if game.PlaceId == 155615604 then
  3. print("User is on prison life")
  4. local notification3 = Instance.new("Sound", game.Players.LocalPlayer.PlayerGui)
  5. notification3.SoundId = "rbxassetid://578970639"
  6. notification3:Play()
  7. game.StarterGui:SetCore('SendNotification', {Title='Success'; Text='Welcome to PrizonDestroyer! It has successfully loaded. Made by NecessaryPaint, thanks to SkyFall for helping!', Duration=30;});
  8. wait(2)
  9. local notification4 = Instance.new("Sound", game.Players.LocalPlayer.PlayerGui)
  10. notification4.SoundId = "rbxassetid://578970639"
  11. notification4:Play()
  12. game.StarterGui:SetCore('SendNotification', {Title='Version'; Text='Youre currently running VERSION: LAST VERSION, DISCONTINUED ADMIN!', Duration=30;});
  13. wait(2)
  14. local notification4 = Instance.new("Sound", game.Players.LocalPlayer.PlayerGui)
  15. notification4.SoundId = "rbxassetid://578970639"
  16. notification4:Play()
  17. game.StarterGui:SetCore('SendNotification', {Title='Update'; Text='To check out the updates, use the command :updates.', Duration=30;});
  18. wait(2)
  19. local notification5 = Instance.new("Sound", game.Players.LocalPlayer.PlayerGui)
  20. notification5.SoundId = "rbxassetid://578970639"
  21. notification5:Play()
  22. game.StarterGui:SetCore('SendNotification', {Title='Commands'; Text='Say :cmds to list out all of the commands. It prints out in console!', Duration=30;});
  23. wait(2)
  24. local notification5 = Instance.new("Sound", game.Players.LocalPlayer.PlayerGui)
  25. notification5.SoundId = "rbxassetid://578970639"
  26. notification5:Play()
  27. game.StarterGui:SetCore('SendNotification', {Title='Message of the update'; Text='Goodbye, Prizon Destroyer. You served well. Rest in piece.', Duration=30;});
  28. else
  29. print("User is not on prison life")
  30. local notification6 = Instance.new("Sound", game.Players.LocalPlayer.PlayerGui)
  31. notification6.SoundId = "rbxassetid://578970639"
  32. notification6:Play()
  33. game.StarterGui:SetCore('SendNotification', {Title='An error occured!'; Text='We couldnt run the script, because you executed it in the wrong order, or youre not in Prison Life!', Duration=30;});
  34. return
  35. end
  36. local Player = game:GetService("Players").LocalPlayer
  37.  
  38.  
  39. game.Players.LocalPlayer.Chatted:connect(function(msg)
  40. if msg == ":getguns" then
  41. local notification7 = Instance.new("Sound", game.Players.LocalPlayer.PlayerGui)
  42. notification7.SoundId = "rbxassetid://578970639"
  43. notification7:Play()
  44. game.StarterGui:SetCore('SendNotification', {Title='Weapons'; Text='Added all the weapons into your inventory! However, the M4A1 requires the gamepass!', Duration=30;});
  45. wait(1)
  46. for i,v in pairs(workspace.Prison_ITEMS.giver:GetChildren()) do
  47.  
  48. local OwO = workspace.Remote.ItemHandler:InvokeServer(v.ITEMPICKUP)
  49.  
  50. end
  51. end
  52. end)
  53.  
  54. game.Players.LocalPlayer.Chatted:connect(function(msg)
  55. if msg == ":cmds" then
  56. local notification8 = Instance.new("Sound", game.Players.LocalPlayer.PlayerGui)
  57. notification8.SoundId = "rbxassetid://578970639"
  58. notification8:Play()
  59. game.StarterGui:SetCore('SendNotification', {Title='Commands'; Text='Printed out all commands to console!', Duration=30;});
  60. print("------------------------------------------------------------------------------------------")
  61. print(":inmate = Puts you into the inmates team.")
  62. print(":guard = Puts you into the guards team.")
  63. print(":criminal = Puts you into the criminals team.")
  64. print(":neutral = Puts you into the neutrals team (You can kill everyone if you're on this team.)")
  65. print(":getguns = Gives you all the guns (If you want the M4A1 you need the gamepass.)")
  66. print(":getmodguns = Gives you all the guns but are modified to have infinite ammo (If you want the M4A1 you need the gamepass.)")
  67. print(":kill all = Kills everyone. (dosen't include you)")
  68. print(":removedoors = Removes all the doors from the game.")
  69. print(":arrest all = Arrests all the criminals that have escaped (Also works if you're a prisoner)")
  70. print(":superpunch = Basically punch just like one punch man!")
  71. print(":criminalbase = Teleport to the criminal base.")
  72. print(":guardarea = Teleports you to the guards area.")
  73. print(":prison = Teleports you to the prison.")
  74. print(":respawn = Respawns your character.")
  75. print(":fly = Enables the fly mode. You can toggle fly by pressing E.")
  76. print(":noclip = Enables noclip. You can toggle it by pressing q.")
  77. print(":updates = Shows the update logs.")
  78. print(":btools = Gives you Building Tools.")
  79. print(":noacooldown = No cooldown on arresting someone.")
  80. print(":bypasst = Bypass tasers.")
  81. print("Created by NecessaryPaint, credits to SkyFall for helping!")
  82. print("Also join SkyFall's discord server!: https://discord.gg/fckzcCc")
  83. print("------------------------------------------------------------------------------------------")
  84. end
  85. end)
  86.  
  87. game.Players.LocalPlayer.Chatted:connect(function(msg)
  88. if msg == ":kill all" then
  89. local notification9 = Instance.new("Sound", game.Players.LocalPlayer.PlayerGui)
  90. notification9.SoundId = "rbxassetid://578970639"
  91. notification9:Play()
  92. game.StarterGui:SetCore('SendNotification', {Title='Kill All'; Text='Killing everyone...', Duration=30;});
  93. workspace.Remote.TeamEvent:FireServer("Medium stone grey")
  94.  
  95. game.Workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["Remington 870"].ITEMPICKUP)
  96.  
  97. wait(0.5)
  98. function kill(a)
  99. local A_1 =
  100. {
  101. [1] =
  102. {
  103. ["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-391.152252, 8.65560055, -83.2166901)),
  104. ["Distance"] = 3.2524313926697,
  105. ["Cframe"] = CFrame.new(840.310791, 101.334137, 2267.87988, 0.0636406094, 0.151434347, -0.986416459, 0, 0.988420188, 0.151741937, 0.997972965, -0.00965694897, 0.0629036576),
  106. ["Hit"] = a.Character.Head
  107. },
  108. [2] =
  109. {
  110. ["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-392.481476, -8.44939327, -76.7261353)),
  111. ["Distance"] = 3.2699294090271,
  112. ["Cframe"] = CFrame.new(840.290466, 101.184189, 2267.93506, 0.0964837447, 0.0589403138, -0.993587971, 4.65661287e-10, 0.998245299, 0.0592165813, 0.995334625, -0.00571343815, 0.0963144377),
  113. ["Hit"] = a.Character.Head
  114. },
  115. [3] =
  116. {
  117. ["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-389.21701, -2.50536323, -92.2163162)),
  118. ["Distance"] = 3.1665518283844,
  119. ["Cframe"] = CFrame.new(840.338867, 101.236496, 2267.80371, 0.0166504811, 0.0941716284, -0.995416701, 1.16415322e-10, 0.995554805, 0.0941846818, 0.999861419, -0.00156822044, 0.0165764652),
  120. ["Hit"] = a.Character.Head
  121. },
  122. [4] =
  123. {
  124. ["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-393.353973, 3.13988972, -72.5452042)),
  125. ["Distance"] = 3.3218522071838,
  126. ["Cframe"] = CFrame.new(840.277222, 101.285957, 2267.9707, 0.117109694, 0.118740402, -0.985994935, -1.86264515e-09, 0.992826641, 0.119563118, 0.993119001, -0.0140019981, 0.116269611),
  127. ["Hit"] = a.Character.Head
  128. },
  129. [5] =
  130. {
  131. ["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-390.73172, 3.2097764, -85.5477524)),
  132. ["Distance"] = 3.222757101059,
  133. ["Cframe"] = CFrame.new(840.317993, 101.286423, 2267.86035, 0.0517584644, 0.123365127, -0.991010666, 0, 0.992340803, 0.123530701, 0.99865967, -0.00639375951, 0.0513620302),
  134. ["Hit"] = a.Character.Head
  135. }
  136. }
  137. local A_2 = game.Players.LocalPlayer.Backpack["Remington 870"]
  138. local Event = game:GetService("ReplicatedStorage").ShootEvent
  139. Event:FireServer(A_1, A_2)
  140. Event:FireServer(A_1, A_2)
  141. end
  142.  
  143. for i,v in pairs(game.Players:GetChildren())do
  144. if v.Name ~= game.Players.LocalPlayer.Name then
  145. kill(v)
  146. end
  147. end
  148. wait(1)
  149. workspace.Remote.TeamEvent:FireServer("Bright orange")
  150. end
  151. end)
  152.  
  153. game.Players.LocalPlayer.Chatted:connect(function(msg)
  154. if msg == ":guard" then
  155. local notification10 = Instance.new("Sound", game.Players.LocalPlayer.PlayerGui)
  156. notification10.SoundId = "rbxassetid://578970639"
  157. notification10:Play()
  158. game.StarterGui:SetCore('SendNotification', {Title='Team'; Text='You have been successfully teamed to the Guards team!', Duration=30;});
  159. workspace.Remote.TeamEvent:FireServer("Bright blue")
  160. end
  161. end)
  162. game.Players.LocalPlayer.Chatted:connect(function(msg)
  163. if msg == ":inmate" then
  164. local notification11 = Instance.new("Sound", game.Players.LocalPlayer.PlayerGui)
  165. notification11.SoundId = "rbxassetid://578970639"
  166. notification11:Play()
  167. game.StarterGui:SetCore('SendNotification', {Title='Team'; Text='Successfully teamed to the Inmates team!', Duration=30;});
  168. workspace.Remote.TeamEvent:FireServer("Bright orange")
  169. end
  170. end)
  171.  
  172. game.Players.LocalPlayer.Chatted:connect(function(msg)
  173. if msg == ":criminal" then
  174. local notification12 = Instance.new("Sound", game.Players.LocalPlayer.PlayerGui)
  175. notification12.SoundId = "rbxassetid://578970639"
  176. notification12:Play()
  177. game.StarterGui:SetCore('SendNotification', {Title='Team'; Text='Successfully teamed to the Criminals team!', Duration=30;});
  178. local LCS = game.Workspace["Criminals Spawn"].SpawnLocation
  179.  
  180. LCS.CanCollide = false
  181. LCS.Size = Vector3.new(51.05, 24.12, 54.76)
  182. LCS.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  183. LCS.Transparency = 1
  184. wait(0.5)
  185. LCS.CFrame = CFrame.new(-920.510803, 92.2271957, 2138.27002, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  186. LCS.Size = Vector3.new(6, 0.2, 6)
  187. LCS.Transparency = 0
  188.  
  189. end
  190. end)
  191.  
  192. game.Players.LocalPlayer.Chatted:connect(function(msg)
  193. if msg == ":neutral" then
  194. local notification13 = Instance.new("Sound", game.Players.LocalPlayer.PlayerGui)
  195. notification13.SoundId = "rbxassetid://578970639"
  196. notification13:Play()
  197. game.StarterGui:SetCore('SendNotification', {Title='Team'; Text='Successfully teamd to the Neutral team! Now, you can kill anyone with a gun.', Duration=30;});
  198. workspace.Remote.TeamEvent:FireServer("Medium stone grey")
  199. end
  200. end)
  201. game.Players.LocalPlayer.Chatted:connect(function(msg)
  202. if msg == ":arrest all" then
  203. local notification1 = Instance.new("Sound", game.Players.LocalPlayer.PlayerGui)
  204. notification1.SoundId = "rbxassetid://578970639"
  205. notification1:Play()
  206. game.StarterGui:SetCore('SendNotification', {Title='Arrest All'; Text='Teleporting to all the criminals...', Duration=30;});
  207. Player = game.Players.LocalPlayer
  208. local Pcf = Player.Character.HumanoidRootPart.CFrame
  209. for i,v in pairs(game.Teams.Criminals:GetPlayers()) do
  210. if v.Name ~= Player.Name then
  211. local i = 10
  212. repeat
  213. wait()
  214. i = i-1
  215. game.Workspace.Remote.arrest:InvokeServer(v.Character.HumanoidRootPart)
  216. Player.Character.HumanoidRootPart.CFrame = v.Character.HumanoidRootPart.CFrame * CFrame.new(0, 0, 1)
  217. until i == 0
  218.  
  219. end
  220. end
  221. end
  222. end)
  223. game.Players.LocalPlayer.Chatted:connect(function(msg)
  224. if msg == ":getmodguns" then
  225. game.StarterGui:SetCore('SendNotification', {Title='Weapons'; Text='Added all the weapons with infinite ammo into your inventory! However, the M4A1 requires the gamepass!', Duration=30;});
  226. local notification17 = Instance.new("Sound", game.Players.LocalPlayer.PlayerGui)
  227. notification17.SoundId = "rbxassetid://578970639"
  228. notification17:Play()
  229. for i,v in pairs(Workspace.Prison_ITEMS.giver:GetChildren()) do
  230.  
  231. lol = Workspace.Remote.ItemHandler:InvokeServer(v.ITEMPICKUP)
  232. print(lol)
  233. end
  234.  
  235. local client = game:GetService("Players").LocalPlayer
  236.  
  237. for _, child in next, client.Backpack:GetChildren() do
  238. if child:IsA("Tool") then
  239. client.Character.Humanoid:UnequipTools()
  240. end
  241. end
  242. local reg = (getreg or debug.getregistry)
  243. local get = (debug.getupvalues or secret953)
  244. local client = game:GetService("Players").LocalPlayer
  245. local render = game:GetService('RunService').RenderStepped
  246.  
  247. local function fakeStats()
  248. function change(t)
  249. local myStats = {
  250. ReloadTime = 0,
  251. FireRate = 0,
  252. AutoFire = true,
  253. StoredAmmo = math.huge,
  254. MaxAmmo = math.huge,
  255. CurrentAmmo = math.huge,
  256. }
  257.  
  258. for name, fake in next, myStats do
  259. t[name] = fake
  260. end
  261. end
  262.  
  263. for k, v in next, reg() do
  264. if type(v) == "function" then
  265. local upvals = get(v)
  266. if upvals and upvals.GunStates then
  267. change(upvals.GunStates)
  268. end
  269. end
  270. end
  271. end
  272.  
  273. client.Backpack.ChildAdded:connect(function(child)
  274. if child:IsA("Tool") and child:FindFirstChild("GunInterface") then
  275. client.Character.Humanoid:EquipTool(child)
  276.  
  277. render:wait()
  278. fakeStats()
  279. render:wait()
  280.  
  281. client.Character.Humanoid:UnequipTools()
  282. end
  283. end)
  284.  
  285. for _, child in next, client.Backpack:GetChildren() do
  286. if child:IsA("Tool") and child:FindFirstChild("GunInterface") then
  287. client.Character.Humanoid:EquipTool(child)
  288.  
  289. render:wait()
  290. fakeStats()
  291. render:wait()
  292.  
  293. client.Character.Humanoid:UnequipTools()
  294. end
  295. end
  296. end
  297. end)
  298. game.Players.LocalPlayer.Chatted:connect(function(msg)
  299. if msg == ":removedoors" then
  300. local notification13 = Instance.new("Sound", game.Players.LocalPlayer.PlayerGui)
  301. notification13.SoundId = "rbxassetid://578970639"
  302. notification13:Play()
  303. game.StarterGui:SetCore('SendNotification', {Title='Doors'; Text='Succesufully removed all the doors!', Duration=30;});
  304. workspace.Prison_Cellblock.doors:Destroy()
  305.  
  306. for i,v in pairs(workspace:GetChildren())do
  307. if v.Name == "Doors" then
  308. v:Destroy()
  309. end
  310. end
  311. end
  312. end)
  313.  
  314. game.Players.LocalPlayer.Chatted:connect(function(msg)
  315. if msg == ":superpunch" then
  316. local notification13 = Instance.new("Sound", game.Players.LocalPlayer.PlayerGui)
  317. notification13.SoundId = "rbxassetid://578970639"
  318. notification13:Play()
  319. game.StarterGui:SetCore('SendNotification', {Title='LocalPlayer'; Text='You can now punch people like one punch man!', Duration=30;});
  320. mainRemotes = game.ReplicatedStorage
  321. meleeRemote = mainRemotes['meleeEvent']
  322. mouse = game.Players.LocalPlayer:GetMouse()
  323. punching = false
  324. cooldown = false
  325.  
  326. function punch()
  327. cooldown = true
  328. local part = Instance.new("Part", game.Players.LocalPlayer.Character)
  329. part.Transparency = 1
  330. part.Size = Vector3.new(5, 2, 3)
  331. part.CanCollide = false
  332. local w1 = Instance.new("Weld", part)
  333. w1.Part0 = game.Players.LocalPlayer.Character.Torso
  334. w1.Part1 = part
  335. w1.C1 = CFrame.new(0,0,2)
  336. part.Touched:connect(function(hit)
  337. if game.Players:FindFirstChild(hit.Parent.Name) then
  338. local plr = game.Players:FindFirstChild(hit.Parent.Name)
  339. if plr.Name ~= game.Players.LocalPlayer.Name then
  340. part:Destroy()
  341.  
  342. for i = 1,100 do
  343. meleeRemote:FireServer(plr)
  344. end
  345. end
  346. end
  347. end)
  348.  
  349. wait(1)
  350. cooldown = false
  351. part:Destroy()
  352. end
  353.  
  354.  
  355. mouse.KeyDown:connect(function(key)
  356. if cooldown == false then
  357. if key:lower() == "f" then
  358.  
  359. punch()
  360.  
  361. end
  362. end
  363. end)
  364. end
  365. end)
  366.  
  367. game.Players.LocalPlayer.Chatted:connect(function(msg)
  368. if msg == ":criminalbase" then
  369. local notification13 = Instance.new("Sound", game.Players.LocalPlayer.PlayerGui)
  370. notification13.SoundId = "rbxassetid://578970639"
  371. notification13:Play()
  372. game.StarterGui:SetCore('SendNotification', {Title='Teleport'; Text='Youre now on the criminal base!', Duration=30;});
  373. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-943, 96, 2055)
  374. end
  375. end)
  376.  
  377. game.Players.LocalPlayer.Chatted:connect(function(msg)
  378. if msg == ":guardarea" then
  379. local notification13 = Instance.new("Sound", game.Players.LocalPlayer.PlayerGui)
  380. notification13.SoundId = "rbxassetid://578970639"
  381. notification13:Play()
  382. game.StarterGui:SetCore('SendNotification', {Title='Teleport'; Text='Youre now on the guards area!', Duration=30;});
  383. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(802,99,2270)
  384. end
  385. end)
  386.  
  387. game.Players.LocalPlayer.Chatted:connect(function(msg)
  388. if msg == ":respawn" then
  389. local notification13 = Instance.new("Sound", game.Players.LocalPlayer.PlayerGui)
  390. notification13.SoundId = "rbxassetid://578970639"
  391. notification13:Play()
  392. game.StarterGui:SetCore('SendNotification', {Title='LocalPlayer'; Text='Respawning...', Duration=30;});
  393. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(0, -496, 0)
  394. end
  395. end)
  396.  
  397. game.Players.LocalPlayer.Chatted:connect(function(msg)
  398. if msg == ":prison" then
  399. local notification13 = Instance.new("Sound", game.Players.LocalPlayer.PlayerGui)
  400. notification13.SoundId = "rbxassetid://578970639"
  401. notification13:Play()
  402. game.StarterGui:SetCore('SendNotification', {Title='Teleport'; Text='Teleporting to the prison...', Duration=30;});
  403. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(879,99,2377)
  404. end
  405. end)
  406.  
  407. game.Players.LocalPlayer.Chatted:connect(function(msg)
  408. if msg == ":fly" then
  409. local notification13 = Instance.new("Sound", game.Players.LocalPlayer.PlayerGui)
  410. notification13.SoundId = "rbxassetid://578970639"
  411. notification13:Play()
  412. game.StarterGui:SetCore('SendNotification', {Title='Fly'; Text='Flying has been enabled. To toggle flying press E! If you die, you have to say the command again!', Duration=30;});
  413. repeat wait()
  414. until game.Players.LocalPlayer and game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character:findFirstChild("Torso") and game.Players.LocalPlayer.Character:findFirstChild("Humanoid")
  415. local mouse = game.Players.LocalPlayer:GetMouse()
  416. repeat wait() until mouse
  417. local plr = game.Players.LocalPlayer
  418. local torso = plr.Character.Torso
  419. local flying = true
  420. local deb = true
  421. local ctrl = {f = 0, b = 0, l = 0, r = 0}
  422. local lastctrl = {f = 0, b = 0, l = 0, r = 0}
  423. local maxspeed = 50
  424. local speed = 0
  425.  
  426. function Fly()
  427. local bg = Instance.new("BodyGyro", torso)
  428. bg.P = 9e4
  429. bg.maxTorque = Vector3.new(9e9, 9e9, 9e9)
  430. bg.cframe = torso.CFrame
  431. local bv = Instance.new("BodyVelocity", torso)
  432. bv.velocity = Vector3.new(0,0.1,0)
  433. bv.maxForce = Vector3.new(9e9, 9e9, 9e9)
  434. repeat wait()
  435. plr.Character.Humanoid.PlatformStand = true
  436. if ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0 then
  437. speed = speed+.5+(speed/maxspeed)
  438. if speed > maxspeed then
  439. speed = maxspeed
  440. end
  441. elseif not (ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0) and speed ~= 0 then
  442. speed = speed-1
  443. if speed < 0 then
  444. speed = 0
  445. end
  446. end
  447. if (ctrl.l + ctrl.r) ~= 0 or (ctrl.f + ctrl.b) ~= 0 then
  448. bv.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (ctrl.f+ctrl.b)) + ((game.Workspace.CurrentCamera.CoordinateFrame * CFrame.new(ctrl.l+ctrl.r,(ctrl.f+ctrl.b)*.2,0).p) - game.Workspace.CurrentCamera.CoordinateFrame.p))*speed
  449. lastctrl = {f = ctrl.f, b = ctrl.b, l = ctrl.l, r = ctrl.r}
  450. elseif (ctrl.l + ctrl.r) == 0 and (ctrl.f + ctrl.b) == 0 and speed ~= 0 then
  451. bv.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (lastctrl.f+lastctrl.b)) + ((game.Workspace.CurrentCamera.CoordinateFrame * CFrame.new(lastctrl.l+lastctrl.r,(lastctrl.f+lastctrl.b)*.2,0).p) - game.Workspace.CurrentCamera.CoordinateFrame.p))*speed
  452. else
  453. bv.velocity = Vector3.new(0,0.1,0)
  454. end
  455. bg.cframe = game.Workspace.CurrentCamera.CoordinateFrame * CFrame.Angles(-math.rad((ctrl.f+ctrl.b)*50*speed/maxspeed),0,0)
  456. until not flying
  457. ctrl = {f = 0, b = 0, l = 0, r = 0}
  458. lastctrl = {f = 0, b = 0, l = 0, r = 0}
  459. speed = 0
  460. bg:Destroy()
  461. bv:Destroy()
  462. plr.Character.Humanoid.PlatformStand = false
  463. end
  464. mouse.KeyDown:connect(function(key)
  465. if key:lower() == "e" then
  466. if flying then flying = false
  467. else
  468. flying = true
  469. Fly()
  470. end
  471. elseif key:lower() == "w" then
  472. ctrl.f = 1
  473. elseif key:lower() == "s" then
  474. ctrl.b = -1
  475. elseif key:lower() == "a" then
  476. ctrl.l = -1
  477. elseif key:lower() == "d" then
  478. ctrl.r = 1
  479. end
  480. end)
  481. mouse.KeyUp:connect(function(key)
  482. if key:lower() == "w" then
  483. ctrl.f = 0
  484. elseif key:lower() == "s" then
  485. ctrl.b = 0
  486. elseif key:lower() == "a" then
  487. ctrl.l = 0
  488. elseif key:lower() == "d" then
  489. ctrl.r = 0
  490. end
  491. end)
  492. Fly()
  493. end
  494. end)
  495.  
  496. game.Players.LocalPlayer.Chatted:connect(function(msg)
  497. if msg == ":noclip" then
  498. local notification7 = Instance.new("Sound", game.Players.LocalPlayer.PlayerGui)
  499. notification7.SoundId = "rbxassetid://578970639"
  500. notification7:Play()
  501. game.StarterGui:SetCore('SendNotification', {Title='Noclip'; Text='Noclip has been activated! Use Q to toggle it.', Duration=30;});
  502. noclip = false
  503. game:GetService('RunService').Stepped:connect(function()
  504. if noclip then
  505. game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
  506. end
  507. end)
  508. plr = game.Players.LocalPlayer
  509. mouse = plr:GetMouse()
  510. mouse.KeyDown:connect(function(key)
  511.  
  512. if key == "q" then
  513. noclip = not noclip
  514. game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
  515. end
  516. end)
  517. end
  518. end)
  519.  
  520. game.Players.LocalPlayer.Chatted:connect(function(msg)
  521. if msg == ":updates" then
  522. local notification8 = Instance.new("Sound", game.Players.LocalPlayer.PlayerGui)
  523. notification8.SoundId = "rbxassetid://578970639"
  524. notification8:Play()
  525. game.StarterGui:SetCore('SendNotification', {Title='Update'; Text='Printed out the update logs to the console.', Duration=30;});
  526. print("------------------------------------------------------------------------------------------")
  527. print("Prizon Destroyer's source leaked, admin discontinued!")
  528. print("Btw Synapse X's server is toxic as fuck.")
  529. print("------------------------------------------------------------------------------------------")
  530. end
  531. end)
  532.  
  533. game.Players.LocalPlayer.Chatted:connect(function(msg)
  534. if msg == ":btools" then
  535. local notification11 = Instance.new("Sound", game.Players.LocalPlayer.PlayerGui)
  536. notification11.SoundId = "rbxassetid://578970639"
  537. notification11:Play()
  538. game.StarterGui:SetCore('SendNotification', {Title='BTools'; Text='Successfully gve you BTools!', Duration=30;});
  539. local tool1 = Instance.new("HopperBin",game.Players.LocalPlayer.Backpack)
  540. local tool2 = Instance.new("HopperBin",game.Players.LocalPlayer.Backpack)
  541. local tool3 = Instance.new("HopperBin",game.Players.LocalPlayer.Backpack)
  542. local tool4 = Instance.new("HopperBin",game.Players.LocalPlayer.Backpack)
  543. local tool5 = Instance.new("HopperBin",game.Players.LocalPlayer.Backpack)
  544. tool1.BinType = "Clone"
  545. tool2.BinType = "GameTool"
  546. tool3.BinType = "Hammer"
  547. tool4.BinType = "Script"
  548. tool5.BinType = "Grab"
  549. end
  550. end)
  551.  
  552. game.Players.LocalPlayer.Chatted:connect(function(msg)
  553. if msg == ":noacooldown" then
  554. local notification13 = Instance.new("Sound", game.Players.LocalPlayer.PlayerGui)
  555. notification13.SoundId = "rbxassetid://578970639"
  556. notification13:Play()
  557. game.StarterGui:SetCore('SendNotification', {Title='Cooldown'; Text='Successfully removed arrest cooldown!', Duration=30;});
  558. local mouse = game.Players.LocalPlayer:GetMouse()
  559. local arrestEvent = game.Workspace.Remote.arrest
  560. mouse.Button1Down:connect(function()
  561. local obj = mouse.Target
  562. local response = arrestEvent:InvokeServer(obj)
  563. end)
  564. end
  565. end)
  566.  
  567. game.Players.LocalPlayer.Chatted:connect(function(msg)
  568. if msg == ":bypasst" then
  569. local notification11 = Instance.new("Sound", game.Players.LocalPlayer.PlayerGui)
  570. notification11.SoundId = "rbxassetid://578970639"
  571. notification11:Play()
  572. game.StarterGui:SetCore('SendNotification', {Title='Bypass'; Text='Taser bypass has been activated! If you die, you have to re-activate it.', Duration=30;});
  573. game.Players.LocalPlayer.Character.ClientInputHandler.Disabled = true
  574. game.Players.LocalPlayer.CharacterAdded:connect(function()
  575. game.Workspace:WaitForChild(game.Players.LocalPlayer.Name)
  576. game.Players.LocalPlayer.Character.ClientInputHandler.Disabled = true
  577. end)
  578. end
  579. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement