Advertisement
Guest User

Untitled

a guest
Jan 18th, 2020
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 22.08 KB | None | 0 0
  1.  
  2. killAuraF = true
  3. KillAura.BackgroundColor3 = Color3.new(0, 0, 0)
  4. repeat
  5.  
  6. wait()
  7. for i, plr in pairs(game.Players:GetChildren()) do
  8. if plr.Name ~= game.Players.LocalPlayer.Name and killAuraF == true then
  9. for i = 1,5 do
  10. game.ReplicatedStorage.meleeEvent:FireServer(plr)
  11. end
  12. end
  13. end
  14.  
  15. until killAuraF == false
  16.  
  17. else
  18. killAuraF = false
  19. KillAura.BackgroundColor3 = MainFrame.BackgroundColor3
  20. end
  21. end)
  22.  
  23. TPArrest.MouseButton1Click:connect(function()
  24. if mousein == false then
  25. local Player = game.Players.LocalPlayer
  26. local cpos = Player.Character.HumanoidRootPart.CFrame
  27. for i,v in pairs(game.Teams.Criminals:GetPlayers()) do
  28. if v.Name ~= Player.Name then
  29. local i = 10
  30. repeat
  31. wait()
  32. i = i-1
  33. game.Workspace.Remote.arrest:InvokeServer(v.Character.HumanoidRootPart)
  34. Player.Character.HumanoidRootPart.CFrame = v.Character.HumanoidRootPart.CFrame * CFrame.new(0, 0, 1)
  35. until i == 0
  36. end
  37. end
  38. Player.Character.HumanoidRootPart.CFrame = cpos
  39. Notify("Success", "Arrested all of the n00bs", "Cool!")
  40. end
  41. end)
  42.  
  43.  
  44. QuickEscape.MouseButton1Click:connect(function()
  45. if mousein == false then
  46. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(283, 72, 2213)
  47. end
  48. end)
  49.  
  50.  
  51. TpCar.MouseButton1Click:connect(function()
  52. if mousein == false then
  53. game.Players.LocalPlayer.Character.Humanoid.JumpPower = tonumber(Value.Text)
  54. end
  55. end)
  56.  
  57.  
  58. BT.MouseButton1Click:connect(function()
  59. if mousein == false then
  60. local tool = Instance.new("HopperBin", game.Players.LocalPlayer.Backpack)
  61. tool.BinType = "Hammer"
  62. local tool = Instance.new("HopperBin", game.Players.LocalPlayer.Backpack)
  63. tool.BinType = "Clone"
  64. local tool = Instance.new("HopperBin", game.Players.LocalPlayer.Backpack)
  65. tool.BinType = "GameTool"
  66. end
  67. end)
  68.  
  69. WS.MouseButton1Click:connect(function()
  70. if mousein == false then
  71. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = tonumber(Value.Text)
  72. end
  73. end)
  74.  
  75.  
  76. LOCK.MouseButton1Click:connect(function()
  77. if mousein == false then
  78. local a1 = Instance.new("Model", workspace)
  79. local a2 = Instance.new("Part", a1)
  80. a2.CanCollide = true
  81. a2.Anchored = true
  82. a2.CFrame = CFrame.new(10000, 10000, 10000)
  83. a2.Name = "Torso"
  84. local a3 = Instance.new("Humanoid", a1)
  85. a3.MaxHealth=100;a3.Health=100
  86. game.Players.LocalPlayer.Character = a1
  87. a3.Health=0
  88. end
  89. end)
  90.  
  91. melee.MouseButton1Click:connect(function()
  92. if mousein == false then
  93. local weapons = {"Crude Knife", "Sharpened stick", "Extendo mirror"}
  94. for i, v in pairs(game.ReplicatedStorage.Tools:GetChildren()) do
  95. for j, k in pairs(weapons) do
  96. if v.Name == k then
  97. v:Clone().Parent = game.Players.LocalPlayer.Backpack
  98. end
  99. end
  100. end
  101. end
  102. end)
  103.  
  104. RemDoors.MouseButton1Down:connect(function()
  105. game.Workspace.Doors:Destroy()
  106. end)
  107.  
  108. God.MouseButton1Down:connect(function()
  109. if mousein == false then
  110. game.Players.LocalPlayer.Character.Humanoid.Name = 1
  111. local l = game.Players.LocalPlayer.Character["1"]:Clone()
  112. l.Parent = game.Players.LocalPlayer.Character
  113. l.Name = "Humanoid"
  114. wait(0.1)
  115. game.Players.LocalPlayer.Character["1"]:Destroy()
  116. game.Workspace.CurrentCamera.CameraSubject = game.Players.LocalPlayer.Character
  117. game.Players.LocalPlayer.Character.Animate.Disabled = true
  118. wait(0.1)
  119. game.Players.LocalPlayer.Character.Animate.Disabled = false
  120. game.Players.LocalPlayer.Character.Humanoid.DisplayDistanceType = "None"
  121. end
  122. end)
  123.  
  124.  
  125.  
  126. KillAll.MouseButton1Down:connect(function()
  127. if mousein == false then
  128.  
  129.  
  130. local Player = game.Players.LocalPlayer
  131. local prevCFrame = Player.Character.HumanoidRootPart.CFrame
  132. for i,v in pairs(game.Players:GetChildren()) do
  133. if v.Name ~= game.Players.LocalPlayer.Name then
  134. if not v.Character:FindFirstChild("ForceField") then
  135. local playerName = v.Name
  136. local PlayerToKill = game.Players:FindFirstChild(playerName)
  137.  
  138.  
  139.  
  140. repeat
  141. if Player.Character.Humanoid.Sit == true then
  142. Player.Character.Humanoid.Sit = false
  143. end
  144. Player.Character.HumanoidRootPart.CFrame = PlayerToKill.Character.HumanoidRootPart.CFrame
  145. for h = 1,10 do
  146. game.ReplicatedStorage.meleeEvent:FireServer(PlayerToKill)
  147. end
  148. game:GetService("RunService").RenderStepped:wait()
  149. until PlayerToKill.Character.Humanoid.Health == 0 or v == nil
  150.  
  151. Player.Character.HumanoidRootPart.CFrame = prevCFrame
  152. end
  153. end
  154. end
  155.  
  156. end
  157. end)
  158.  
  159. function createTag(Color, Tag)
  160.  
  161. for i,v in pairs(game.Teams[Tag]:GetPlayers())do
  162. if v.Character then
  163. if not v.Character.Head:FindFirstChild("ESPTag") then
  164. local BBG = Instance.new("BillboardGui")
  165. BBG.Parent = v.Character.Head
  166. BBG.Adornee = v.Character.Head
  167. BBG.Name = "ESPTag"
  168. BBG.Size = UDim2.new(2, 0, 1, 0)
  169. BBG.StudsOffset = Vector3.new(-2.5, 6, 0)
  170. BBG.AlwaysOnTop = true
  171. local text = Instance.new("TextLabel", BBG)
  172. text.Text = Tag
  173. text.Size = UDim2.new(4, 0, 8, 0)
  174. text.Position = UDim2.new(0, 0, 0, 0)
  175. text.TextScaled = true
  176. text.TextColor3 = Color
  177. text.BackgroundTransparency = 1
  178. end
  179. end
  180. end
  181. end
  182.  
  183. function removeTag()
  184. for i,v in pairs(game.Players:GetChildren())do
  185. if v.Character then
  186. if v.Character.Head:FindFirstChild("ESPTag") then
  187. v.Character.Head.ESPTag:Destroy()
  188. end
  189. end
  190. end
  191. end
  192.  
  193. ESP.MouseButton1Down:connect(function()
  194. if mousein == false then
  195. if ESPF == false then
  196. ESPF = true
  197. ESP.BackgroundColor3 = Color3.new(0,0,0)
  198. repeat
  199. wait()
  200.  
  201. createTag(Color3.new(255,0,0), "Criminals")
  202. createTag(Color3.new(0,0,255), "Guards")
  203. createTag(Color3.new(255,85,0), "Inmates")
  204. until ESPF == false
  205. removeTag()
  206. else
  207. ESP.BackgroundColor3 = Color3.new(1,1,1)
  208. ESPF = false
  209. end
  210. end
  211. end)
  212.  
  213.  
  214. SuperPunch.MouseButton1Down:connect(function()
  215. if SuperPunchF == false then
  216. SuperPunchF = true
  217. SuperPunch.BackgroundColor3 = Color3.new(0,0,0)
  218. else
  219. SuperPunch.BackgroundColor3 = Color3.new(1,1,1)
  220. SuperPunchF = false
  221. end
  222.  
  223. end)
  224.  
  225.  
  226.  
  227. mousein = false
  228. Menu.MouseLeave:connect(function()
  229. Menu:TweenSize(UDim2.new(0, 170, 0, 30), "Out", "Quad", 0.10)
  230. mousein = false
  231. wait()
  232. if mousein == false then
  233. Blackout.BackgroundTransparency = 0.7
  234. end
  235. wait()
  236. if mousein == false then
  237. Blackout.BackgroundTransparency = 1
  238. end
  239. end)
  240.  
  241. Menu.MouseEnter:connect(function()
  242. Menu:TweenSize(UDim2.new(0, 170, 0, 300), "Out", "Quad", 0.10)
  243. mousein = true
  244. wait()
  245. if mousein == true then
  246. Blackout.BackgroundTransparency = 0.9
  247. end
  248. wait()
  249. if mousein == true then
  250. Blackout.BackgroundTransparency = 0.7
  251. end
  252. wait()
  253. if mousein == true then
  254. Blackout.BackgroundTransparency = 0.5
  255. end
  256. end)
  257.  
  258.  
  259. Functions.MouseButton1Down:connect(function()
  260. Frame1.Visible = true
  261. Frame2.Visible = false
  262. Frame3.Visible = false
  263. Frame4.Visible = false
  264. SettingsTab = false
  265. end)
  266.  
  267. Teleports.MouseButton1Down:connect(function()
  268. Frame2.Visible = true
  269. Frame1.Visible = false
  270. Frame3.Visible = false
  271. Frame4.Visible = false
  272. SettingsTab = false
  273. end)
  274. Guns.MouseButton1Down:connect(function()
  275. Frame2.Visible = false
  276. Frame1.Visible = false
  277. Frame3.Visible = true
  278. Frame4.Visible = false
  279. SettingsTab = false
  280. end)
  281. Togglables.MouseButton1Down:connect(function()
  282. Frame2.Visible = false
  283. Frame1.Visible = false
  284. Frame3.Visible = false
  285. Frame4.Visible = true
  286. SettingsTab = false
  287. end)
  288.  
  289. Settings.MouseButton1Down:connect(function()
  290. Frame2.Visible = false
  291. Frame1.Visible = false
  292. Frame3.Visible = false
  293. Frame4.Visible = false
  294. SettingsTab = true
  295. end)
  296.  
  297.  
  298.  
  299. HeadTp.MouseButton1Down:connect(function()
  300.  
  301.  
  302.  
  303. for i,v in pairs(game.Players:GetChildren()) do
  304. if v.Name ~= game.Players.LocalPlayer.Name then
  305. if v.Character then
  306. v.Character.Head.Position = game.Players.LocalPlayer.Character.Torso.Position + Vector3.new(0,0,2)
  307. end
  308. end
  309. end
  310.  
  311.  
  312.  
  313.  
  314. end)
  315.  
  316.  
  317.  
  318.  
  319. ArrestAura.MouseButton1Click:connect(function()
  320. if ArrestAuraF == false then
  321. ArrestAuraF = true
  322. ArrestAura.BackgroundColor3 = Color3.new(0, 0, 0)
  323. repeat
  324. wait()
  325. for i = 1,10 do
  326. local arrestEvent = game.Workspace.Remote.arrest
  327. for _, plr in pairs (game:GetService('Players'):GetChildren()) do
  328. if plr.Name ~= game.Players.LocalPlayer.Name then
  329. local obj = plr.Character.HumanoidRootPart
  330. local response =arrestEvent:InvokeServer(obj)
  331. end
  332. end
  333. end
  334.  
  335. until ArrestAuraF == false
  336. else
  337. ArrestAuraF = false
  338. ArrestAura.BackgroundColor3 = MainFrame.BackgroundColor3
  339.  
  340. end
  341. end)
  342.  
  343.  
  344. --[[wait()
  345. char = game.Players.LocalPlayer.CharacterAdded:wait()
  346. game.Players.LocalPlayer.Character.HumanoidRootPart.Touched:connect(function(part)
  347. if NoClipF == true then
  348. part.CanCollide = false
  349. wait(1)
  350. part.CanCollide = true
  351. end
  352. end)
  353.  
  354. game.Players.LocalPlayer.Character.Humanoid.Died:connect(function()
  355. char = game.Players.LocalPlayer.CharacterAdded:wait()
  356. game.Players.LocalPlayer.Character.HumanoidRootPart.Touched:connect(function(part)
  357. if NoClipF == true then
  358. part.CanCollide = false
  359. wait(1)
  360. part.CanCollide = true
  361. end
  362. end)
  363. end)]]
  364.  
  365.  
  366.  
  367.  
  368. ------------------Hotkeys---------------------
  369.  
  370.  
  371.  
  372.  
  373.  
  374.  
  375. local Scooldown = false
  376.  
  377. function punch()
  378.  
  379. local mainRemotes = game.ReplicatedStorage
  380. local meleeRemote = mainRemotes['meleeEvent']
  381. local mouse = game.Players.LocalPlayer:GetMouse()
  382. local punching = false
  383. Scooldown = true
  384. local part = Instance.new("Part", game.Players.LocalPlayer.Character)
  385. part.Transparency = 1
  386. part.Size = Vector3.new(5, 2, 3)
  387. part.CanCollide = false
  388. local w1 = Instance.new("Weld", part)
  389. w1.Part0 = game.Players.LocalPlayer.Character.Torso
  390. w1.Part1 = part
  391. w1.C1 = CFrame.new(0,0,2)
  392. part.Touched:connect(function(hit)
  393. if game.Players:FindFirstChild(hit.Parent.Name) then
  394. local plr = game.Players:FindFirstChild(hit.Parent.Name)
  395. if plr.Name ~= game.Players.LocalPlayer.Name then
  396. part:Destroy()
  397.  
  398. for i = 1,100 do
  399. meleeRemote:FireServer(plr)
  400. end
  401. end
  402. end
  403. end)
  404.  
  405. wait(1)
  406. Scooldown = false
  407. part:Destroy()
  408. end
  409.  
  410.  
  411. Mouse.KeyDown:connect(function(key)
  412. if SuperPunchF == true then
  413. if Scooldown == false then
  414. if key:lower() == "f" then
  415.  
  416. punch()
  417.  
  418. end
  419. end
  420. end
  421. end)
  422.  
  423.  
  424. print("hi")
  425. hotkeypos = 0
  426. for i,v in pairs(Frame4:GetChildren())do
  427. local HotkeyFrame = Hotkey1:Clone()
  428. HotkeyFrame.Name = v.Name
  429. HotkeyFrame.Parent = Hotkeys
  430. HotkeyFrame.Position = UDim2.new(0,0,0, hotkeypos)
  431. HotkeyFrame.HotkeyLabel.Text = v.Name.." Hotkey:"
  432. hotkeypos = hotkeypos+50
  433. HotkeyFrame.Hotkey.FocusLost:connect(function(pressed)
  434. if pressed then
  435.  
  436. Notify("Error", "The "..v.Name.." hotkey is invalid.", "Ok. ;(")
  437.  
  438. end
  439. end)
  440.  
  441. end
  442.  
  443.  
  444. UserInputService.InputBegan:connect(function(Input, Processed)
  445.  
  446. if Input.UserInputType == Enum.UserInputType.Keyboard then
  447. print("1")
  448. if focus == false then
  449. print("2")
  450. if Hotkeys["Noclip"].Hotkey.Text ~= "" then
  451. if Input.KeyCode == Enum.KeyCode[Hotkeys["Noclip"].Hotkey.Text:upper()] then
  452. if not game.Players.LocalPlayer.Character:FindFirstChild("ForceField") then
  453. print("im working")
  454. if NoClipF == false then
  455. NoClipF = true
  456. Noclip.BackgroundColor3 = Color3.new(0, 0, 0)
  457. repeat
  458. game.Players.LocalPlayer.Character.Humanoid:ChangeState(11);
  459. wait()
  460. until NoClipF == false
  461. else
  462. NoClipF = false
  463. Noclip.BackgroundColor3 = MainFrame.BackgroundColor3
  464. end
  465. end
  466.  
  467. end
  468. end
  469.  
  470.  
  471. if Hotkeys["Click Tp"].Hotkey.Text ~= "" then
  472. if Input.KeyCode == Enum.KeyCode[Hotkeys["Click Tp"].Hotkey.Text:upper()] then
  473. if ctpF == false then
  474. ctpF = true
  475. ClickTp.BackgroundColor3 = Color3.new(0, 0, 0)
  476. else
  477. ctpF = false
  478. ClickTp.BackgroundColor3 = MainFrame.BackgroundColor3
  479. end
  480. end
  481. end
  482.  
  483. if Hotkeys["ESP"].Hotkey.Text ~= "" then
  484. if Input.KeyCode == Enum.KeyCode[Hotkeys["ESP"].Hotkey.Text:upper()] then
  485. if ESPF == false then
  486. ESPF = true
  487. ESP.BackgroundColor3 = Color3.new(0,0,0)
  488. repeat
  489. wait()
  490.  
  491. createTag(Color3.new(255,0,0), "Criminals")
  492. createTag(Color3.new(0,0,255), "Guards")
  493. createTag(Color3.new(255,85,0), "Inmates")
  494. until ESPF == false
  495. removeTag()
  496. else
  497. ESP.BackgroundColor3 = Color3.new(1,1,1)
  498. ESPF = false
  499. end
  500. end
  501. end
  502.  
  503. if Hotkeys["Airwalk"].Hotkey.Text ~= "" then
  504. if Input.KeyCode == Enum.KeyCode[Hotkeys["Airwalk"].Hotkey.Text:upper()] then
  505. if ArrestF == false then
  506. ArrestF = true
  507. LA.BackgroundColor3 = Color3.new(0, 0, 0)
  508. repeat
  509. wait()
  510. game.Players.LocalPlayer.Character.Humanoid:ChangeState(10);
  511. until ArrestF == false
  512.  
  513. else
  514. ArrestF = false
  515. LA.BackgroundColor3 = MainFrame.BackgroundColor3
  516. end
  517. end
  518. end
  519.  
  520.  
  521. if Hotkeys["Arrest Aura"].Hotkey.Text ~= "" then
  522. if Input.KeyCode == Enum.KeyCode[Hotkeys["Arrest Aura"].Hotkey.Text:upper()] then
  523. if ArrestAuraF == false then
  524. ArrestAuraF = true
  525. ArrestAura.BackgroundColor3 = Color3.new(0, 0, 0)
  526. repeat
  527. wait()
  528. for i = 1,10 do
  529. local arrestEvent = game.Workspace.Remote.arrest
  530. for _, plr in pairs (game:GetService('Players'):GetChildren()) do
  531. if plr.Name ~= game.Players.LocalPlayer.Name then
  532. local obj = plr.Character.HumanoidRootPart
  533. local response =arrestEvent:InvokeServer(obj)
  534. end
  535. end
  536. end
  537.  
  538. until ArrestAuraF == false
  539. else
  540. ArrestAuraF = false
  541. ArrestAura.BackgroundColor3 = MainFrame.BackgroundColor3
  542.  
  543. end
  544. end
  545. end
  546.  
  547. if Hotkeys["KillAura"].Hotkey.Text ~= "" then
  548. if Input.KeyCode == Enum.KeyCode[Hotkeys["KillAura"].Hotkey.Text:upper()] then
  549. if killAuraF == false then
  550. killAuraF = true
  551. KillAura.BackgroundColor3 = Color3.new(0, 0, 0)
  552. repeat
  553.  
  554. wait()
  555. for i, plr in pairs(game.Players:GetChildren()) do
  556. if plr.Name ~= game.Players.LocalPlayer.Name and killAuraF == true then
  557. for i = 1,5 do
  558. game.ReplicatedStorage.meleeEvent:FireServer(plr)
  559. end
  560. end
  561. end
  562.  
  563. until killAuraF == false
  564.  
  565. else
  566. killAuraF = false
  567. KillAura.BackgroundColor3 = MainFrame.BackgroundColor3
  568. end
  569. end
  570. end
  571.  
  572. if Hotkeys["Taser Bypass"].Hotkey.Text ~= "" then
  573. if Input.KeyCode == Enum.KeyCode[Hotkeys["Bypass Taser"].Hotkey.Text:upper()] then
  574. if game.Players.LocalPlayer.Character:FindFirstChild("ClientInputHandler") then
  575. if game.Players.LocalPlayer.Character:FindFirstChild("ClientInputHandler").Disabled == true then
  576. game.Players.LocalPlayer.Character:FindFirstChild("ClientInputHandler").Disabled = false
  577. BypassF = false
  578. BPT.BackgroundColor3 = Color3.new(0, 0, 0)
  579. else
  580. game.Players.LocalPlayer.Character:FindFirstChild("ClientInputHandler").Disabled = true
  581. BPT.BackgroundColor3 = MainFrame.BackgroundColor3
  582. BypassF = true
  583. end
  584. else
  585. Notify("Error", "ClientInputHandler not found!", "Ok ;(")
  586.  
  587. end
  588.  
  589. end
  590.  
  591.  
  592. end
  593.  
  594.  
  595.  
  596. end
  597.  
  598. if Hotkeys["Super Punch"].Hotkey.Text ~= nil then
  599. if Input.KeyCode == Enum.KeyCode[Hotkeys["Super Punch"].Hotkey.Text:upper()] then
  600. if SuperPunchF == true then
  601. SuperPunchF = false
  602. SuperPunch.BackgroundColor3 = Color3.new(1,1,1)
  603. else
  604. SuperPunch.BackgroundColor3 = Color3.new(0,0,0)
  605. SuperPunchF = true
  606. end
  607. end
  608. end
  609.  
  610. end
  611.  
  612.  
  613.  
  614.  
  615. end)
  616.  
  617.  
  618.  
  619.  
  620.  
  621.  
  622.  
  623.  
  624.  
  625.  
  626.  
  627.  
  628. -------------------------------------------
  629.  
  630. Tp1.MouseButton1Down:connect(function()
  631. if mousein == false then
  632. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = Tp1P
  633. end
  634. end)
  635.  
  636. Tp2.MouseButton1Down:connect(function()
  637. if mousein == false then
  638. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = Tp2P
  639. end
  640. end)
  641. Tp3.MouseButton1Down:connect(function()
  642. if mousein == false then
  643. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = Tp3P
  644. end
  645. end)
  646. Tp4.MouseButton1Down:connect(function()
  647.  
  648. if mousein == false then
  649. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = Tp4P
  650. end
  651. end)
  652. Tp5.MouseButton1Down:connect(function()
  653. if mousein == false then
  654. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = Tp5P
  655. end
  656. end)
  657. Tp6.MouseButton1Down:connect(function()
  658. if mousein == false then
  659. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = Tp6P
  660. end
  661. end)
  662. Tp8.MouseButton1Down:connect(function()
  663. if mousein == false then
  664. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = Tp8P
  665. end
  666.  
  667. end)
  668. Tp9.MouseButton1Down:connect(function()
  669. if mousein == false then
  670. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Players[Player.Text].Character.HumanoidRootPart.CFrame
  671. end
  672. end)
  673. Tp10.MouseButton1Down:connect(function()
  674. if mousein == false then
  675. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = Tp9P
  676. end
  677. end)
  678.  
  679.  
  680.  
  681.  
  682.  
  683. game.Players.LocalPlayer.CharacterAdded:connect(function()
  684. game.Players.LocalPlayer.Character.Humanoid.Died:connect(function()
  685. game.Players.LocalPlayer.Character:WaitForChild("ClientInputHandler").Disabled = BypassF
  686. end)
  687. end)
  688.  
  689.  
  690.  
  691.  
  692.  
  693. Mouse.Button1Down:connect(function()
  694. if ctpF == true then
  695. LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(Mouse.Hit.p)
  696. end
  697. end)
  698.  
  699.  
  700. open = false
  701. Open.MouseButton1Down:connect(function()
  702. if open == false then
  703. Topbar.Visible = true
  704. open = true
  705. Open.Text = "Close"
  706. else
  707. Topbar.Visible = false
  708. open = false
  709. Open.Text = "Open"
  710. end
  711. end)
  712.  
  713.  
  714.  
  715.  
  716.  
  717.  
  718.  
  719.  
  720.  
  721.  
  722.  
  723. TeamC1.MouseButton1Down:connect(function()
  724. if mousein == false then
  725. local prevposition = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  726. wait(0.1)
  727. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-975, 112, 2055)
  728. wait(0.5)
  729. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = prevposition
  730. end
  731. end)
  732.  
  733. TeamC2.MouseButton1Down:connect(function()
  734. if mousein == false then
  735. workspace.Remote.TeamEvent:FireServer("Bright blue")
  736. end
  737. end)
  738.  
  739. TeamC3.MouseButton1Down:connect(function()
  740. if mousein == false then
  741. workspace.Remote.TeamEvent:FireServer("Bright orange")
  742. end
  743. end)
  744.  
  745. ArrestPlr.MouseButton1Down:connect(function()
  746. if mousein == false then
  747. local target
  748. if SN(PlayerNameBox.Text) ~= nil then
  749. target = game.Players:FindFirstChild(SN(PlayerNameBox.Text))
  750.  
  751. end
  752.  
  753.  
  754. if target ~= nil then
  755.  
  756. local Player = game.Players.LocalPlayer
  757. local prevPos = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  758. for i,v in pairs(game.Teams.Criminals:GetPlayers()) do
  759. if v.Name:lower() == target.Name:lower() then
  760. local i = 5
  761. repeat
  762. wait()
  763. i = i-1
  764. if Player.Character.Humanoid.Sit == true then
  765. Player.Character.Humanoid.Sit = false
  766. end
  767. game.Workspace.Remote.arrest:InvokeServer(v.Character.HumanoidRootPart)
  768. Player.Character.HumanoidRootPart.CFrame = v.Character.HumanoidRootPart.CFrame * CFrame.new(0, 0, 1)
  769. until i == 0
  770. Player.Character.HumanoidRootPart.CFrame = prevPos
  771. end
  772. end
  773. else
  774. Notify("Error", "Player isnt in game.", "Ok.")
  775. end
  776. end
  777.  
  778. end)
  779.  
  780.  
  781. KillPlr.MouseButton1Down:connect(function()
  782. if mousein == false then
  783. local target
  784. if SN(PlayerNameBox.Text) ~= nil then
  785. target = game.Players:FindFirstChild(SN(PlayerNameBox.Text))
  786. end
  787.  
  788.  
  789.  
  790.  
  791.  
  792.  
  793.  
  794.  
  795.  
  796.  
  797.  
  798.  
  799.  
  800.  
  801.  
  802.  
  803.  
  804.  
  805.  
  806.  
  807.  
  808.  
  809.  
  810.  
  811.  
  812.  
  813.  
  814.  
  815.  
  816.  
  817.  
  818.  
  819. if target ~= nil then
  820. local Player = game.Players.LocalPlayer
  821. for i,v in pairs(game.Players:GetChildren()) do
  822. if v.Name == target.Name then
  823. if not v.Character:FindFirstChild("ForceField") then
  824.  
  825. local PlayerToKill = game.Players:FindFirstChild(target.Name)
  826. local prevCFrame = Player.Character.HumanoidRootPart.CFrame
  827.  
  828.  
  829. repeat
  830. Player.Character.HumanoidRootPart.CFrame = PlayerToKill.Character.HumanoidRootPart.CFrame
  831. for h = 1,10 do
  832. game.ReplicatedStorage.meleeEvent:FireServer(PlayerToKill)
  833. end
  834. wait()
  835. until PlayerToKill.Character.Humanoid.Health == 0 or v == nil
  836. wait()
  837. Player.Character.HumanoidRootPart.CFrame = prevCFrame
  838. end
  839. end
  840. end
  841. else
  842. Notify("Error", "Player isnt in game.", "Ok.")
  843. end
  844. end
  845. end)
  846.  
  847. local function getclass(t)
  848. for i,v in pairs(t:GetChildren()) do
  849. if v.ClassName == "TextBox" then
  850. v.Focused:connect(function()
  851.  
  852. print("3")
  853. end)
  854. v.FocusLost:connect(function()
  855. focused = false
  856.  
  857. end)
  858. end
  859. getclass(v)
  860. end
  861. end
  862.  
  863.  
  864.  
  865.  
  866. labelPos = 0
  867. function resetPlayerList()
  868. wait(1)
  869. Players:ClearAllChildren()
  870. labelPos = 0
  871. for i,v in pairs(game.Players:GetChildren())do
  872. if v.Name ~= game.Players.LocalPlayer.Name then
  873. local label = Instance.new("TextButton", Players)
  874. label.Text = v.Name
  875. label.Size = UDim2.new(0, 140, 0, 35)
  876. label.Position = UDim2.new(0, 0, 0, labelPos)
  877. label.TextScaled = true
  878. label.BackgroundColor3 = Color3.new(1,1,1)
  879. labelPos = labelPos+35
  880. Players.CanvasSize = UDim2.new(0, 0, 0, labelPos)
  881. label.MouseButton1Down:connect(function()
  882. Player.Text = label.Text
  883. end)
  884. end
  885. end
  886. end
  887.  
  888.  
  889.  
  890.  
  891.  
  892.  
  893.  
  894.  
  895. resetPlayerList()
  896. game.Players.PlayerAdded:connect(function()
  897. resetPlayerList()
  898. end)
  899. game.Players.PlayerRemoving:connect(function()
  900. wait(1)
  901. resetPlayerList()
  902. end)
  903.  
  904.  
  905.  
  906.  
  907. Ak47.MouseButton1Down:connect(function()
  908. if mousein == false then
  909. local Weapon = {"AK-47"}
  910. for i,v in pairs(workspace.Prison_ITEMS.giver:GetChildren()) do
  911. if v.Name == Weapon[1] then
  912. local lol = workspace.Remote.ItemHandler:InvokeServer(v.ITEMPICKUP)
  913. end
  914. end
  915. end
  916. end)
  917. M4A1.MouseButton1Down:connect(function()
  918. if mousein == false then
  919. local Weapon = {"M4A1"}
  920. for i,v in pairs(workspace.Prison_ITEMS.giver:GetChildren()) do
  921. if v.Name == Weapon[1] then
  922. local lol = workspace.Remote.ItemHandler:InvokeServer(v.ITEMPICKUP)
  923. end
  924. end
  925. end
  926. end)
  927. M9.MouseButton1Down:connect(function()
  928. if mousein == false then
  929. local Weapon = {"M9"}
  930. for i,v in pairs(workspace.Prison_ITEMS.giver:GetChildren()) do
  931. if v.Name == Weapon[1] then
  932. local lol = workspace.Remote.ItemHandler:InvokeServer(v.ITEMPICKUP)
  933. end
  934. end
  935. end
  936. end)
  937. Shotgun.MouseButton1Down:connect(function()
  938. if mousein == false then
  939. local Weapon = {"Remington 870"}
  940. for i,v in pairs(workspace.Prison_ITEMS.giver:GetChildren()) do
  941. if v.Name == Weapon[1] then
  942. local lol = workspace.Remote.ItemHandler:InvokeServer(v.ITEMPICKUP)
  943. end
  944. end
  945. end
  946. end)
  947.  
  948. Knife.MouseButton1Down:connect(function()
  949. for i,v in pairs(workspace.Prison_ITEMS.giver:GetChildren()) do
  950.  
  951. local lol = workspace.Remote.ItemHandler:InvokeServer(v.ITEMPICKUP)
  952.  
  953. end
  954. end)
  955.  
  956. melee.MouseButton1Down:connect(function()
  957. if mousein == false then
  958. for i,v in pairs(workspace.Prison_ITEMS.single:GetChildren()) do
  959.  
  960. local lol = workspace.Remote.ItemHandler:InvokeServer(v.ITEMPICKUP)
  961. end
  962. end
  963. end)
  964.  
  965.  
  966. LoginButton.MouseButton1Down:connect(function()
  967. LoginScreen:Destroy()
  968. Notify("Loading...", "Be patient.", ">:(")
  969. wait(math.random(2,3))
  970.  
  971. Open.Visible = true
  972. open = false
  973. for i = 1,10 do
  974. print("WRECK THE GAME!")
  975. end
  976. Notify("Loaded!", "You can start wrecking the game now!", "Cool!")
  977. end)
  978.  
  979. getclass(PrisonLife)
  980. LoginScreen.Parent = PrisonLife
  981. Notify("Launcher Loaded!", "Press login to start wrecking the game!", "Cool!")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement