Advertisement
matta122

Roblox Prison Life GUI

Feb 8th, 2019
202
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.25 KB | None | 0 0
  1. -- Farewell Infortality.
  2. -- Version: 2.82
  3. -- Instances:
  4. local ScreenGui = Instance.new("ScreenGui")
  5. local Frame = Instance.new("Frame")
  6. local TextLabel = Instance.new("TextLabel")
  7. local TextButton = Instance.new("TextButton")
  8. local TextButton_2 = Instance.new("TextButton")
  9. local TextBox = Instance.new("TextBox")
  10. local TextButton_3 = Instance.new("TextButton")
  11. local TextButton_4 = Instance.new("TextButton")
  12. local TextButton_5 = Instance.new("TextButton")
  13. local TextButton_6 = Instance.new("TextButton")
  14. local TextButton_7 = Instance.new("TextButton")
  15. local TextButton_8 = Instance.new("TextButton")
  16. local TextButton_9 = Instance.new("TextButton")
  17. local TextButton_10 = Instance.new("TextButton")
  18. local TextButton_11 = Instance.new("TextButton")
  19. --Properties:
  20. ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  21. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  22. ScreenGui.ResetOnSpawn = false
  23.  
  24. Frame.Parent = ScreenGui
  25. Frame.BackgroundColor3 = Color3.new(0.27451, 0.27451, 0.27451)
  26. Frame.BorderColor3 = Color3.new(0, 0, 0)
  27. Frame.Position = UDim2.new(0.612470329, 0, 0.0951683745, 0)
  28. Frame.Size = UDim2.new(0, 419, 0, 493)
  29.  
  30. TextLabel.Parent = Frame
  31. TextLabel.BackgroundColor3 = Color3.new(0.439216, 0.439216, 0.439216)
  32. TextLabel.Size = UDim2.new(0, 419, 0, 22)
  33. TextLabel.Font = Enum.Font.SourceSans
  34. TextLabel.Text = "Prison Life OP GUI <./"
  35. TextLabel.TextColor3 = Color3.new(0, 0, 0)
  36. TextLabel.TextSize = 14
  37.  
  38. TextButton.Parent = Frame
  39. TextButton.BackgroundColor3 = Color3.new(1, 0, 0)
  40. TextButton.BorderSizePixel = 0
  41. TextButton.Position = UDim2.new(0.941442251, 0, 0, 0)
  42. TextButton.Size = UDim2.new(0, 24, 0, 22)
  43. TextButton.Font = Enum.Font.SourceSans
  44. TextButton.Text = "X"
  45. TextButton.TextColor3 = Color3.new(0, 0, 0)
  46. TextButton.TextSize = 14
  47.  
  48. TextButton_2.Parent = Frame
  49. TextButton_2.BackgroundColor3 = Color3.new(0.933333, 0.411765, 1)
  50. TextButton_2.Position = UDim2.new(0.0145631069, 0, 0.475312322, 0)
  51. TextButton_2.Size = UDim2.new(0, 200, 0, 40)
  52. TextButton_2.Font = Enum.Font.SourceSans
  53. TextButton_2.Text = "Fly"
  54. TextButton_2.TextColor3 = Color3.new(0, 0, 0)
  55. TextButton_2.TextScaled = true
  56. TextButton_2.TextSize = 14
  57. TextButton_2.TextWrapped = true
  58.  
  59. TextBox.Parent = Frame
  60. TextBox.BackgroundColor3 = Color3.new(0.341176, 1, 0.270588)
  61. TextBox.BorderColor3 = Color3.new(0, 0, 0)
  62. TextBox.Position = UDim2.new(0.493755311, -200, 0.807805181, -50)
  63. TextBox.Size = UDim2.new(0, 199, 0, 50)
  64. TextBox.Font = Enum.Font.Arial
  65. TextBox.Text = ""
  66. TextBox.TextColor3 = Color3.new(0, 0, 0)
  67. TextBox.TextSize = 20
  68. TextBox.TextWrapped = true
  69.  
  70. TextButton_3.Parent = Frame
  71. TextButton_3.BackgroundColor3 = Color3.new(0.172549, 0.615686, 1)
  72. TextButton_3.Position = UDim2.new(0.0145631069, 0, 0.371832609, 0)
  73. TextButton_3.Size = UDim2.new(0, 200, 0, 38)
  74. TextButton_3.Font = Enum.Font.SourceSans
  75. TextButton_3.Text = "Gaurd Room"
  76. TextButton_3.TextColor3 = Color3.new(0, 0, 0)
  77. TextButton_3.TextScaled = true
  78. TextButton_3.TextSize = 14
  79. TextButton_3.TextWrapped = true
  80.  
  81. TextButton_4.Parent = Frame
  82. TextButton_4.BackgroundColor3 = Color3.new(1, 0, 0.0156863)
  83. TextButton_4.Position = UDim2.new(0.0145631069, 0, 0.265597224, 0)
  84. TextButton_4.Size = UDim2.new(0, 200, 0, 38)
  85. TextButton_4.Font = Enum.Font.SourceSans
  86. TextButton_4.Text = "Criminal Hideout"
  87. TextButton_4.TextColor3 = Color3.new(0, 0, 0)
  88. TextButton_4.TextScaled = true
  89. TextButton_4.TextSize = 14
  90. TextButton_4.TextWrapped = true
  91.  
  92. TextButton_5.Parent = Frame
  93. TextButton_5.BackgroundColor3 = Color3.new(0.341176, 1, 0.270588)
  94. TextButton_5.BorderColor3 = Color3.new(0, 0, 0)
  95. TextButton_5.Position = UDim2.new(0.00870906468, 0, 0.850561678, 0)
  96. TextButton_5.Size = UDim2.new(0, 199, 0, 50)
  97. TextButton_5.Font = Enum.Font.Arial
  98. TextButton_5.Text = "Reset Walkspeed To Defualt"
  99. TextButton_5.TextColor3 = Color3.new(0, 0, 0)
  100. TextButton_5.TextSize = 20
  101. TextButton_5.TextWrapped = true
  102.  
  103. TextButton_6.Parent = Frame
  104. TextButton_6.BackgroundColor3 = Color3.new(0.486275, 1, 0.898039)
  105. TextButton_6.Position = UDim2.new(0.00970888138, 0, 0.0595148057, 0)
  106. TextButton_6.Size = UDim2.new(0, 200, 0, 41)
  107. TextButton_6.Font = Enum.Font.SourceSans
  108. TextButton_6.Text = "Prison Tear Down (No Undo)"
  109. TextButton_6.TextColor3 = Color3.new(0, 0, 0)
  110. TextButton_6.TextScaled = true
  111. TextButton_6.TextSize = 14
  112. TextButton_6.TextWrapped = true
  113.  
  114. TextButton_7.Parent = Frame
  115. TextButton_7.BackgroundColor3 = Color3.new(1, 0.262745, 0.901961)
  116. TextButton_7.Position = UDim2.new(0.510203719, 0, 0.0595148057, 0)
  117. TextButton_7.Size = UDim2.new(0, 200, 0, 41)
  118. TextButton_7.Font = Enum.Font.SourceSans
  119. TextButton_7.Text = "Give All Guns"
  120. TextButton_7.TextColor3 = Color3.new(0, 0, 0)
  121. TextButton_7.TextScaled = true
  122. TextButton_7.TextSize = 14
  123. TextButton_7.TextWrapped = true
  124.  
  125. TextButton_8.Parent = Frame
  126. TextButton_8.BackgroundColor3 = Color3.new(1, 0.447059, 0.0784314)
  127. TextButton_8.Position = UDim2.new(0.0145631069, 0, 0.157543868, 0)
  128. TextButton_8.Size = UDim2.new(0, 200, 0, 38)
  129. TextButton_8.Font = Enum.Font.SourceSans
  130. TextButton_8.Text = "Cafe"
  131. TextButton_8.TextColor3 = Color3.new(0, 0, 0)
  132. TextButton_8.TextScaled = true
  133. TextButton_8.TextSize = 14
  134. TextButton_8.TextWrapped = true
  135.  
  136. TextButton_9.Parent = Frame
  137. TextButton_9.BackgroundColor3 = Color3.new(1, 0.933333, 0)
  138. TextButton_9.Position = UDim2.new(0.510203719, 0, 0.15687789, 0)
  139. TextButton_9.Size = UDim2.new(0, 200, 0, 41)
  140. TextButton_9.Font = Enum.Font.SourceSans
  141. TextButton_9.Text = "Arrest All"
  142. TextButton_9.TextColor3 = Color3.new(0, 0, 0)
  143. TextButton_9.TextScaled = true
  144. TextButton_9.TextSize = 14
  145. TextButton_9.TextWrapped = true
  146.  
  147. TextButton_10.Parent = Frame
  148. TextButton_10.BackgroundColor3 = Color3.new(0, 1, 0.968628)
  149. TextButton_10.Position = UDim2.new(0.510203719, 0, 0.262354553, 0)
  150. TextButton_10.Size = UDim2.new(0, 200, 0, 41)
  151. TextButton_10.Font = Enum.Font.SourceSans
  152. TextButton_10.Text = "Kill Aura"
  153. TextButton_10.TextColor3 = Color3.new(0, 0, 0)
  154. TextButton_10.TextScaled = true
  155. TextButton_10.TextSize = 14
  156. TextButton_10.TextWrapped = true
  157.  
  158. TextButton_11.Parent = Frame
  159. TextButton_11.BackgroundColor3 = Color3.new(0.988235, 1, 0.188235)
  160. TextButton_11.Position = UDim2.new(0.00970873795, 0, 0.585901022, 0)
  161. TextButton_11.Size = UDim2.new(0, 200, 0, 38)
  162. TextButton_11.Font = Enum.Font.SourceSans
  163. TextButton_11.Text = "NoClip"
  164. TextButton_11.TextColor3 = Color3.new(0, 0, 0)
  165. TextButton_11.TextScaled = true
  166. TextButton_11.TextSize = 14
  167. TextButton_11.TextWrapped = true
  168. -- Scripts:
  169. function SCRIPT_HBGP66_FAKESCRIPT() -- Frame.Draggable
  170. local script = Instance.new('LocalScript')
  171. script.Parent = Frame
  172. local UserInputService = game:GetService("UserInputService")
  173.  
  174. local gui = script.Parent
  175.  
  176. local dragging
  177. local dragInput
  178. local dragStart
  179. local startPos
  180.  
  181. local function update(input)
  182. local delta = input.Position - dragStart
  183. gui.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
  184. end
  185.  
  186. gui.InputBegan:Connect(function(input)
  187. if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
  188. dragging = true
  189. dragStart = input.Position
  190. startPos = gui.Position
  191.  
  192. input.Changed:Connect(function()
  193. if input.UserInputState == Enum.UserInputState.End then
  194. dragging = false
  195. end
  196. end)
  197. end
  198. end)
  199.  
  200. gui.InputChanged:Connect(function(input)
  201. if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
  202. dragInput = input
  203. end
  204. end)
  205.  
  206. UserInputService.InputChanged:Connect(function(input)
  207. if input == dragInput and dragging then
  208. update(input)
  209. end
  210. end)
  211.  
  212. end
  213. coroutine.resume(coroutine.create(SCRIPT_HBGP66_FAKESCRIPT))
  214. function SCRIPT_WDTC68_FAKESCRIPT() -- Frame.LocalScript
  215. local script = Instance.new('LocalScript')
  216. script.Parent = Frame
  217. wait(2) -- waits for player to load
  218. while true do
  219. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = game.Players.LocalPlayer.PlayerGui.ScreenGui.Frame.TextBox.Text -- changes value to player entered text
  220. if game.Players.LocalPlayer.Character.Humanoid.WalkSpeed == 0 then -- checks if there's no walkspeed
  221. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 16 -- changes walkspeed if there's none
  222. end
  223. wait()-- waits for script
  224. end -- ends the script
  225.  
  226. -- Minecraft_Developer (McDev)
  227.  
  228. end
  229. coroutine.resume(coroutine.create(SCRIPT_WDTC68_FAKESCRIPT))
  230. function SCRIPT_CIVR84_FAKESCRIPT() -- TextButton.LocalScript
  231. local script = Instance.new('LocalScript')
  232. script.Parent = TextButton
  233. local button = script.Parent -- the GUI button
  234.  
  235.  
  236.  
  237.  
  238.  
  239. button.MouseButton1Down:connect(function () -- Calling the event
  240. script.Parent.Parent.Parent:Destroy()
  241. end)
  242.  
  243.  
  244.  
  245. end
  246. coroutine.resume(coroutine.create(SCRIPT_CIVR84_FAKESCRIPT))
  247. function SCRIPT_AIOZ83_FAKESCRIPT() -- Frame.save
  248. local script = Instance.new('LocalScript')
  249. script.Parent = Frame
  250.  
  251. local save = Instance.new("Part")
  252. save.Anchored = true
  253. save.Position = "183.5, 0.5, 2141.5"
  254. save.Parent = game.Workspace
  255.  
  256.  
  257. end
  258. coroutine.resume(coroutine.create(SCRIPT_AIOZ83_FAKESCRIPT))
  259. function SCRIPT_VHAL87_FAKESCRIPT() -- TextButton_2.LocalScript
  260. local script = Instance.new('LocalScript')
  261. script.Parent = TextButton_2
  262. local button = script.Parent -- the GUI button
  263. local Flying = true
  264. local Fly = Instance.new("TextButton")
  265.  
  266. button.MouseButton1Down:connect(function () -- Calling the event
  267.  
  268. repeat wait()
  269. until game.Players.LocalPlayer and game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character:findFirstChild("Torso") and game.Players.LocalPlayer.Character:findFirstChild("Humanoid")
  270. local mouse = game.Players.LocalPlayer:GetMouse()
  271. repeat wait() until mouse
  272. local plr = game.Players.LocalPlayer
  273. local torso = plr.Character.Torso
  274. local flying = true
  275. local deb = true
  276. local ctrl = {f = 0, b = 0, l = 0, r = 0}
  277. local lastctrl = {f = 0, b = 0, l = 0, r = 0}
  278. local maxspeed = 50
  279. local speed = 0
  280.  
  281. function Fly()
  282. local bg = Instance.new("BodyGyro", torso)
  283. bg.P = 9e4
  284. bg.maxTorque = Vector3.new(9e9, 9e9, 9e9)
  285. bg.cframe = torso.CFrame
  286. local bv = Instance.new("BodyVelocity", torso)
  287. bv.velocity = Vector3.new(0,0.1,0)
  288. bv.maxForce = Vector3.new(9e9, 9e9, 9e9)
  289. repeat wait()
  290. plr.Character.Humanoid.PlatformStand = true
  291. if ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0 then
  292. speed = speed+.5+(speed/maxspeed)
  293. if speed > maxspeed then
  294. speed = maxspeed
  295. end
  296. elseif not (ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0) and speed ~= 0 then
  297. speed = speed-1
  298. if speed < 0 then
  299. speed = 0
  300. end
  301. end
  302. if (ctrl.l + ctrl.r) ~= 0 or (ctrl.f + ctrl.b) ~= 0 then
  303. 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
  304. lastctrl = {f = ctrl.f, b = ctrl.b, l = ctrl.l, r = ctrl.r}
  305. elseif (ctrl.l + ctrl.r) == 0 and (ctrl.f + ctrl.b) == 0 and speed ~= 0 then
  306. 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
  307. else
  308. bv.velocity = Vector3.new(0,0.1,0)
  309. end
  310. bg.cframe = game.Workspace.CurrentCamera.CoordinateFrame * CFrame.Angles(-math.rad((ctrl.f+ctrl.b)*50*speed/maxspeed),0,0)
  311. until not flying
  312. ctrl = {f = 0, b = 0, l = 0, r = 0}
  313. lastctrl = {f = 0, b = 0, l = 0, r = 0}
  314. speed = 0
  315. bg:Destroy()
  316. bv:Destroy()
  317. plr.Character.Humanoid.PlatformStand = false
  318. end
  319. mouse.KeyDown:connect(function(key)
  320. if key:lower() == "e" then
  321. if flying then flying = false
  322. else
  323. flying = true
  324. Fly()
  325. end
  326. elseif key:lower() == "w" then
  327. ctrl.f = 1
  328. elseif key:lower() == "s" then
  329. ctrl.b = -1
  330. elseif key:lower() == "a" then
  331. ctrl.l = -1
  332. elseif key:lower() == "d" then
  333. ctrl.r = 1
  334. end
  335. end)
  336. mouse.KeyUp:connect(function(key)
  337. if key:lower() == "w" then
  338. ctrl.f = 0
  339. elseif key:lower() == "s" then
  340. ctrl.b = 0
  341. elseif key:lower() == "a" then
  342. ctrl.l = 0
  343. elseif key:lower() == "d" then
  344. ctrl.r = 0
  345. end
  346. end)
  347. Fly()
  348. end)
  349.  
  350.  
  351.  
  352.  
  353. end
  354. coroutine.resume(coroutine.create(SCRIPT_VHAL87_FAKESCRIPT))
  355. function SCRIPT_TMTH73_FAKESCRIPT() -- TextButton_3.LocalScript
  356. local script = Instance.new('LocalScript')
  357. script.Parent = TextButton_3
  358. local button = script.Parent -- the GUI button
  359.  
  360. local location = CFrame.new(822.251892, 99.3380127, 2257.18579) -- target location !!This is not a Vector3.new() location its [Coordinate frame](http://wiki.roblox.com/index.php?title=Cframe)
  361.  
  362.  
  363.  
  364. button.MouseButton1Down:connect(function () -- Calling the event
  365.  
  366. local plrgui = button.Parent.Parent.Parent -- It's the playerGui location where the screengui is located
  367.  
  368. local player = plrgui.Parent -- the player
  369.  
  370. player.character.HumanoidRootPart.CFrame = location -- player's character location will be set to the designated location
  371.  
  372. end)
  373.  
  374. end
  375. coroutine.resume(coroutine.create(SCRIPT_TMTH73_FAKESCRIPT))
  376. function SCRIPT_TYHE73_FAKESCRIPT() -- TextButton_4.LocalScript
  377. local script = Instance.new('LocalScript')
  378. script.Parent = TextButton_4
  379. local button = script.Parent -- the GUI button
  380.  
  381. local location = CFrame.new(-943.903503, 93.4767914, 2059.47461) -- target location !!This is not a Vector3.new() location its [Coordinate frame](http://wiki.roblox.com/index.php?title=Cframe)
  382.  
  383.  
  384.  
  385. button.MouseButton1Down:connect(function () -- Calling the event
  386.  
  387. local plrgui = button.Parent.Parent.Parent -- It's the playerGui location where the screengui is located
  388.  
  389. local player = plrgui.Parent -- the player
  390.  
  391. player.character.HumanoidRootPart.CFrame = location -- player's character location will be set to the designated location
  392.  
  393. end)
  394.  
  395. end
  396. coroutine.resume(coroutine.create(SCRIPT_TYHE73_FAKESCRIPT))
  397. function SCRIPT_QSXE88_FAKESCRIPT() -- TextButton_5.LocalScript
  398. local script = Instance.new('LocalScript')
  399. script.Parent = TextButton_5
  400. local button = script.Parent
  401.  
  402. button.MouseButton1Click:connect(function()
  403. game.Players.LocalPlayer.PlayerGui.ScreenGui.Frame.TextBox.Text = '16'
  404.  
  405. end)
  406.  
  407. end
  408. coroutine.resume(coroutine.create(SCRIPT_QSXE88_FAKESCRIPT))
  409. function SCRIPT_HLAA78_FAKESCRIPT() -- TextButton_6.LocalScript
  410. local script = Instance.new('LocalScript')
  411. script.Parent = TextButton_6
  412. local button = script.Parent -- the GUI button
  413.  
  414.  
  415.  
  416. button.MouseButton1Down:connect(function () -- Calling the event
  417.  
  418. game.Workspace.Prison_Guard_Outpost:Destroy()
  419. game.Workspace.Prison_Cafeteria:Destroy()
  420. game.Workspace.Prison_Halls:Destroy()
  421. game.Workspace.Prison_Cellblock:Destroy()
  422. game.Workspace.Prison_Administration:Destroy()
  423. game.Workspace.Prison_OuterWall:Destroy()
  424. game.Workspace.Prison_road:Destroy()
  425.  
  426.  
  427.  
  428. end)
  429.  
  430. end
  431. coroutine.resume(coroutine.create(SCRIPT_HLAA78_FAKESCRIPT))
  432. function SCRIPT_HBUC87_FAKESCRIPT() -- TextButton_7.LocalScript
  433. local script = Instance.new('LocalScript')
  434. script.Parent = TextButton_7
  435. local button = script.Parent -- the GUI button
  436.  
  437.  
  438.  
  439. button.MouseButton1Down:connect(function () -- Calling the event
  440.  
  441. local Weapon = {"AK-47"}
  442. for i,v in pairs(workspace.Prison_ITEMS.giver:GetChildren()) do
  443. if v.Name == Weapon[1] then
  444. local lol = workspace.Remote.ItemHandler:InvokeServer(v.ITEMPICKUP)
  445. end
  446. end
  447.  
  448. local Weapon = {"Remington 870"}
  449. for i,v in pairs(workspace.Prison_ITEMS.giver:GetChildren()) do
  450. if v.Name == Weapon[1] then
  451. local lol = workspace.Remote.ItemHandler:InvokeServer(v.ITEMPICKUP)
  452. end
  453. end
  454.  
  455. local Weapon = {"M9"}
  456. for i,v in pairs(workspace.Prison_ITEMS.giver:GetChildren()) do
  457. if v.Name == Weapon[1] then
  458. local lol = workspace.Remote.ItemHandler:InvokeServer(v.ITEMPICKUP)
  459. end
  460. end
  461.  
  462. end)
  463.  
  464. end
  465. coroutine.resume(coroutine.create(SCRIPT_HBUC87_FAKESCRIPT))
  466. function SCRIPT_RNED65_FAKESCRIPT() -- TextButton_8.LocalScript
  467. local script = Instance.new('LocalScript')
  468. script.Parent = TextButton_8
  469. local button = script.Parent -- the GUI button
  470.  
  471. local location = CFrame.new(893.606262, 99.3379669, 2289.07983) -- target location !!This is not a Vector3.new() location its [Coordinate frame](http://wiki.roblox.com/index.php?title=Cframe)
  472.  
  473.  
  474.  
  475. button.MouseButton1Down:connect(function () -- Calling the event
  476.  
  477. local plrgui = button.Parent.Parent.Parent -- It's the playerGui location where the screengui is located
  478.  
  479. local player = plrgui.Parent -- the player
  480.  
  481. player.character.HumanoidRootPart.CFrame = location -- player's character location will be set to the designated location
  482.  
  483. end)
  484.  
  485. end
  486. coroutine.resume(coroutine.create(SCRIPT_RNED65_FAKESCRIPT))
  487. function SCRIPT_QJRL66_FAKESCRIPT() -- TextButton_9.LocalScript
  488. local script = Instance.new('LocalScript')
  489. script.Parent = TextButton_9
  490. local button = script.Parent -- the GUI button
  491. local Player = game.Players.LocalPlayer
  492. local cpos = Player.Character.HumanoidRootPart.CFrame
  493.  
  494.  
  495. button.MouseButton1Down:connect(function () -- Calling the event
  496. for i,v in pairs(game.Teams.Criminals:GetPlayers()) do
  497. if v.Name ~= Player.Name then
  498. local i = 10
  499. repeat
  500. wait()
  501. i = i-1
  502. game.Workspace.Remote.arrest:InvokeServer(v.Character.HumanoidRootPart)
  503. Player.Character.HumanoidRootPart.CFrame = v.Character.HumanoidRootPart.CFrame * CFrame.new(0, 0, 1)
  504. until i == 0
  505. end
  506. end
  507. end)
  508.  
  509. end
  510. coroutine.resume(coroutine.create(SCRIPT_QJRL66_FAKESCRIPT))
  511. function SCRIPT_YFBE81_FAKESCRIPT() -- TextButton_10.LocalScript
  512. local script = Instance.new('LocalScript')
  513. script.Parent = TextButton_10
  514. local button = script.Parent -- the GUI button
  515.  
  516.  
  517.  
  518. button.MouseButton1Down:connect(function () -- Calling the event
  519.  
  520. mainRemotes = game.ReplicatedStorage
  521. meleeRemote = mainRemotes['meleeEvent']
  522.  
  523. killAura = true
  524.  
  525. contextactionservice = game.ContextActionService
  526.  
  527. function toggleKillAura(actionName, inputState, inputObject)
  528. print('Doing the action : ' .. actionName)
  529. if inputState == Enum.UserInputState.Begin then
  530. if killAura == true then
  531. killAura = false
  532. else
  533. killAura = true
  534. end
  535. end
  536. end
  537.  
  538. contextactionservice:BindAction('ToggleKillAura', toggleKillAura, false, Enum.KeyCode.K)
  539.  
  540. while wait() do
  541. if killAura == true then
  542. for _, plr in pairs (game:GetService('Players'):GetChildren()) do
  543. if plr.Name ~= game.Players.LocalPlayer.Name then
  544. meleeRemote:FireServer(plr)
  545. end
  546. end
  547. end
  548. end
  549. end)
  550.  
  551. end
  552. coroutine.resume(coroutine.create(SCRIPT_YFBE81_FAKESCRIPT))
  553. function SCRIPT_VKQJ90_FAKESCRIPT() -- TextButton_11.LocalScript
  554. local script = Instance.new('LocalScript')
  555. script.Parent = TextButton_11
  556. local button = script.Parent -- the GUI button
  557.  
  558.  
  559.  
  560.  
  561.  
  562. button.MouseButton1Down:connect(function () -- Calling the event
  563.  
  564.  
  565. while true do
  566. local noclip = true
  567. char = game.Players.LocalPlayer.Character
  568.  
  569. while true do if noclip == true then for _,v in pairs(char:children())
  570. do pcall(function() if v.className == "Part" then
  571. v.CanCollide = false elseif v.ClassName == "Model" then v.Head.CanCollide = false
  572. wait(.5)
  573. end
  574. end)
  575. end
  576. end
  577.  
  578. game:service("RunService").Stepped:wait()
  579. end
  580. end
  581.  
  582. end)
  583.  
  584. end
  585. coroutine.resume(coroutine.create(SCRIPT_VKQJ90_FAKESCRIPT))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement