Advertisement
VuaxExploits

Prison LIFE OP GUI

Dec 7th, 2019
3,710
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.92 KB | None | 0 0
  1. -- Gui to Lua
  2. -- Version: 3
  3.  
  4. -- Instances:
  5.  
  6. local ScreenGui = Instance.new("ScreenGui")
  7. local Main = Instance.new("Frame")
  8. local Frame = Instance.new("Frame")
  9. local Frame_2 = Instance.new("Frame")
  10. local KillAll = Instance.new("TextButton")
  11. local FLY = Instance.new("TextButton")
  12. local SuperPunch = Instance.new("TextButton")
  13. local EscapeJail = Instance.new("TextButton")
  14. local ArrestCrims = Instance.new("TextButton")
  15. local GetWeapons = Instance.new("TextButton")
  16. local Jumppower = Instance.new("TextButton")
  17. local Walkspeed = Instance.new("TextButton")
  18. local TextLabel = Instance.new("TextLabel")
  19.  
  20. --Properties:
  21.  
  22. ScreenGui.Parent = game.CoreGui
  23. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  24.  
  25. Main.Name = "Main"
  26. Main.Parent = ScreenGui
  27. Main.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  28. Main.BorderSizePixel = 0
  29. Main.Position = UDim2.new(0.0182767622, 0, 0.0557768941, 0)
  30. Main.Size = UDim2.new(0.18276763, 0, 0.0677290857, 0)
  31.  
  32. Frame.Parent = Main
  33. Frame.BackgroundColor3 = Color3.new(1, 1, 1)
  34. Frame.BorderSizePixel = 0
  35. Frame.Position = UDim2.new(0, 0, 0.996953428, 0)
  36. Frame.Size = UDim2.new(0.996848166, 0, 0.264705896, 0)
  37.  
  38. Frame_2.Parent = Main
  39. Frame_2.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  40. Frame_2.BorderSizePixel = 0
  41. Frame_2.Position = UDim2.new(-6.70552254e-08, 0, 1.26165915, 0)
  42. Frame_2.Size = UDim2.new(0.996848166, 0, 6.79411793, 0)
  43.  
  44. KillAll.Name = "Kill All"
  45. KillAll.Parent = ScreenGui
  46. KillAll.BackgroundColor3 = Color3.new(1, 1, 1)
  47. KillAll.BackgroundTransparency = 1
  48. KillAll.Position = UDim2.new(-0.0221932083, 0, 0.12350598, 0)
  49. KillAll.Size = UDim2.new(0.261096597, 0, 0.114873841, 0)
  50. KillAll.Font = Enum.Font.GothamBold
  51. KillAll.Text = "Kill All"
  52. KillAll.TextColor3 = Color3.new(1, 1, 1)
  53. KillAll.TextSize = 14
  54. KillAll.MouseButton1Down:connect(function()
  55. local player = game:GetService("Players").LocalPlayer
  56.  
  57. function kill(p)
  58. if p.Character and p.Character.PrimaryPart then
  59. local gun = player.Backpack:FindFirstChild("Remington 870") or player.Character:FindFirstChild("Remington 870")
  60. local hitInfo = {}
  61. for i=1,5 do
  62. hitInfo[i]={RayObject = Ray.new(), Distance = 3, CFrame = CFrame.new(), Hit = p.Character.Head}
  63. end
  64. for i=1,2 do
  65. game:GetService("ReplicatedStorage").ShootEvent:FireServer(hitInfo,gun)
  66. end
  67. end
  68. end
  69.  
  70. player.Chatted:Connect(function(msg)
  71. if msg == ";kill others" then
  72. if player.Backpack:FindFirstChild("Remington 870")==nil and player.Character:FindFirstChild("Remington 870")==nil then
  73. workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["Remington 870"].ITEMPICKUP)
  74. wait(0.1)
  75. end
  76. for _,p in ipairs(game.Players:GetPlayers()) do
  77. if p~=player then
  78. kill(p)
  79. end
  80. end
  81. end
  82. end
  83.  
  84.  
  85. FLY.Name = "FLY"
  86. FLY.Parent = ScreenGui
  87. FLY.BackgroundColor3 = Color3.new(1, 1, 1)
  88. FLY.BackgroundTransparency = 1
  89. FLY.Position = UDim2.new(-0.0223518535, 0, 0.29099226, 0)
  90. FLY.Size = UDim2.new(0.261096597, 0, 0.114873841, 0)
  91. FLY.Font = Enum.Font.GothamBold
  92. FLY.Text = "Fly"
  93. FLY.TextColor3 = Color3.new(1, 1, 1)
  94. FLY.TextSize = 14
  95. FLY.MouseButton1Down:connect(function()
  96. repeat wait()
  97. until game.Players.LocalPlayer and game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character:findFirstChild("Torso") and game.Players.LocalPlayer.Character:findFirstChild("Humanoid")
  98. local mouse = game.Players.LocalPlayer:GetMouse()
  99. repeat wait() until mouse
  100. local plr = game.Players.LocalPlayer
  101. local torso = plr.Character.Torso
  102. local flying = true
  103. local deb = true
  104. local ctrl = {f = 0, b = 0, l = 0, r = 0}
  105. local lastctrl = {f = 0, b = 0, l = 0, r = 0}
  106. local maxspeed = 50
  107. local speed = 0
  108. end)
  109.  
  110. SuperPunch.Name = "Super Punch"
  111. SuperPunch.Parent = ScreenGui
  112. SuperPunch.BackgroundColor3 = Color3.new(1, 1, 1)
  113. SuperPunch.BackgroundTransparency = 1
  114. SuperPunch.Position = UDim2.new(-0.0221932083, 0, 0.18525897, 0)
  115. SuperPunch.Size = UDim2.new(0.261096597, 0, 0.114873841, 0)
  116. SuperPunch.Font = Enum.Font.GothamBold
  117. SuperPunch.Text = "Super Punch"
  118. SuperPunch.TextColor3 = Color3.new(1, 1, 1)
  119. SuperPunch.TextSize = 14
  120. SuperPunch.MouseButton1Down:connect(function()
  121. mainRemotes = game.ReplicatedStorage meleeRemote = mainRemotes['meleeEvent'] mouse = game.Players.LocalPlayer:GetMouse() punching = false cooldown = false function punch() cooldown = true local part = Instance.new("Part", game.Players.LocalPlayer.Character) part.Transparency = 1 part.Size = Vector3.new(5, 2, 3) part.CanCollide = false local w1 = Instance.new("Weld", part) w1.Part0 = game.Players.LocalPlayer.Character.Torso w1.Part1 = part w1.C1 = CFrame.new(0,0,2) part.Touched:connect(function(hit) if game.Players:FindFirstChild(hit.Parent.Name) then local plr = game.Players:FindFirstChild(hit.Parent.Name) if plr.Name ~= game.Players.LocalPlayer.Name then part:Destroy() for i = 1,100 do meleeRemote:FireServer(plr) end end end end) wait(1) cooldown = false part:Destroy() end mouse.KeyDown:connect(function(key) if cooldown == false then if key:lower() == "f" then punch() end end end)
  122. end)
  123. end)
  124.  
  125.  
  126. EscapeJail.Name = "EscapeJail"
  127. EscapeJail.Parent = ScreenGui
  128. EscapeJail.BackgroundColor3 = Color3.new(1, 1, 1)
  129. EscapeJail.BackgroundTransparency = 1
  130. EscapeJail.Position = UDim2.new(-0.0208877251, 0, 0.238353878, 0)
  131. EscapeJail.Size = UDim2.new(0.261096597, 0, 0.114873841, 0)
  132. EscapeJail.Font = Enum.Font.GothamBold
  133. EscapeJail.Text = "Escape Jail"
  134. EscapeJail.TextColor3 = Color3.new(1, 1, 1)
  135. EscapeJail.TextSize = 14
  136. EscapeJail.MouseButton1Down:connect(function()
  137. local PlayerName = game.Players.LocalPlayer.Name
  138. game.Workspace[PlayerName]:MoveTo(Vector3.new(495.292633, 96.23159023, 2077.02905))
  139. end)
  140. end)
  141.  
  142. ArrestCrims.Name = "Arrest Crims"
  143. ArrestCrims.Parent = ScreenGui
  144. ArrestCrims.BackgroundColor3 = Color3.new(1, 1, 1)
  145. ArrestCrims.BackgroundTransparency = 1
  146. ArrestCrims.Position = UDim2.new(-0.0223518535, 0, 0.352190167, 0)
  147. ArrestCrims.Size = UDim2.new(0.261096597, 0, 0.114873841, 0)
  148. ArrestCrims.Font = Enum.Font.GothamBold
  149. ArrestCrims.Text = "Arrest Crims"
  150. ArrestCrims.TextColor3 = Color3.new(1, 1, 1)
  151. ArrestCrims.TextSize = 14
  152. ArrestCrims.MouseButton1Down:connect(function()
  153. local Player = game.Players.LocalPlayer
  154. local cpos = Player.Character.HumanoidRootPart.CFrame
  155. for i,v in pairs(game.Teams.Criminals:GetPlayers()) do
  156. if v.Name ~= Player.Name then
  157. local i = 10
  158. repeat
  159. wait()
  160. i = i-1
  161. game.Workspace.Remote.arrest:InvokeServer(v.Character.HumanoidRootPart)
  162. Player.Character.HumanoidRootPart.CFrame = v.Character.HumanoidRootPart.CFrame * CFrame.new(0, 0, 1)
  163. until i == 0
  164. end
  165. end
  166. Player.Character.HumanoidRootPart.CFrame = cpos
  167. Notify("Success", "Arrested all of the n00bs", "Cool!")
  168. end)
  169. end)
  170.  
  171.  
  172. GetWeapons.Name = "Get Weapons"
  173. GetWeapons.Parent = ScreenGui
  174. GetWeapons.BackgroundColor3 = Color3.new(1, 1, 1)
  175. GetWeapons.BackgroundTransparency = 1
  176. GetWeapons.Position = UDim2.new(-0.0223518535, 0, 0.405575573, 0)
  177. GetWeapons.Size = UDim2.new(0.261096597, 0, 0.114873841, 0)
  178. GetWeapons.Font = Enum.Font.GothamBold
  179. GetWeapons.Text = "Get Weapons"
  180. GetWeapons.TextColor3 = Color3.new(1, 1, 1)
  181. GetWeapons.TextSize = 14
  182. GetWeapons.MouseButton1Down:connect(function()
  183. local weapons = {"Remington 870"}
  184. for i, v in pairs(game.Workspace["Prison_ITEMS"].giver:GetChildren()) do
  185. for j, k in pairs(weapons) do
  186. if v.Name == k then
  187. v:MoveTo(game.Players.LocalPlayer.Character.Torso.Position)
  188. end
  189. end
  190. end
  191.  
  192. end)
  193.  
  194. Jumppower.Name = "Jumppower"
  195. Jumppower.Parent = ScreenGui
  196. Jumppower.BackgroundColor3 = Color3.new(1, 1, 1)
  197. Jumppower.BackgroundTransparency = 1
  198. Jumppower.Position = UDim2.new(-0.0236573368, 0, 0.454821289, 0)
  199. Jumppower.Size = UDim2.new(0.261096597, 0, 0.114873841, 0)
  200. Jumppower.Font = Enum.Font.GothamBold
  201. Jumppower.Text = "Jumppower"
  202. Jumppower.TextColor3 = Color3.new(1, 1, 1)
  203. Jumppower.TextSize = 14
  204.  
  205. Jumppower.MouseButton1Down:connect(function()
  206. game.Players.LocalPlayer.Character.Humanoid.JumpPower = 100
  207. end)
  208.  
  209. Walkspeed.Name = "Walkspeed"
  210. Walkspeed.Parent = ScreenGui
  211. Walkspeed.BackgroundColor3 = Color3.new(1, 1, 1)
  212. Walkspeed.BackgroundTransparency = 1
  213. Walkspeed.Position = UDim2.new(-0.0236573368, 0, 0.504222631, 0)
  214. Walkspeed.Size = UDim2.new(0.261096597, 0, 0.114873841, 0)
  215. Walkspeed.Font = Enum.Font.GothamBold
  216. Walkspeed.Text = "Walkspeed"
  217. Walkspeed.TextColor3 = Color3.new(1, 1, 1)
  218. Walkspeed.TextSize = 14
  219.  
  220. Walkspeed.MouseButton1Down:connect(function()
  221. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 100
  222. end)
  223.  
  224. TextLabel.Parent = ScreenGui
  225. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  226. TextLabel.BackgroundTransparency = 1
  227. TextLabel.Position = UDim2.new(-0.0234986953, 0, 0.0398406386, 0)
  228. TextLabel.Size = UDim2.new(0.261096597, 0, 0.0996015966, 0)
  229. TextLabel.Font = Enum.Font.SourceSans
  230. TextLabel.Text = "prisonhaxx"
  231. TextLabel.TextColor3 = Color3.new(1, 1, 1)
  232. TextLabel.TextSize = 14
  233. TextLabel.TextStrokeColor3 = Color3.new(1, 1, 1)
  234.  
  235. -- Scripts:
  236.  
  237. local function SYCD_fake_script() -- ScreenGui.Script
  238. local script = Instance.new('Script', ScreenGui)
  239.  
  240. frame = script.Parent.Main -- Take out {}s, and put name of frame
  241. frame.Draggable = true
  242. frame.Active = true
  243. frame.Selectable = true
  244. end
  245. coroutine.wrap(SYCD_fake_script)()
  246. local function RATWNY_fake_script() -- Frame.Script
  247. local script = Instance.new('Script', Frame)
  248.  
  249. while true do
  250. for a = 1,360,1 do wait(.01)
  251. script.Parent.BackgroundColor3 = Color3.fromHSV(a/360,1,1)
  252. end
  253. end
  254.  
  255. end
  256. coroutine.wrap(RATWNY_fake_script)()
  257. local function RIFNCVW_fake_script() -- Main.Script
  258. local script = Instance.new('Script', Main)
  259.  
  260. frame = script.Parent.frame
  261. frame.Draggable = true
  262. frame.Active = true
  263. frame.Selectable = true
  264. end
  265. coroutine.wrap(RIFNCVW_fake_script)()
  266. local function TNFPHDV_fake_script() -- KillAll.Script
  267. local script = Instance.new('Script', KillAll)
  268.  
  269. while true do
  270. for a = 1,360,1 do wait(.01)
  271. script.Parent.TextColor3 = Color3.fromHSV(a/360,1,1)
  272. end
  273. end
  274. end
  275. coroutine.wrap(TNFPHDV_fake_script)()
  276. local function XKTP_fake_script() -- FLY.Script
  277. local script = Instance.new('Script', FLY)
  278.  
  279. while true do
  280. for a = 1,360,1 do wait(.01)
  281. script.Parent.TextColor3 = Color3.fromHSV(a/360,1,1)
  282. end
  283. end
  284. end
  285. coroutine.wrap(XKTP_fake_script)()
  286. local function ADMGK_fake_script() -- SuperPunch.Script
  287. local script = Instance.new('Script', SuperPunch)
  288.  
  289. while true do
  290. for a = 1,360,1 do wait(.01)
  291. script.Parent.TextColor3 = Color3.fromHSV(a/360,1,1)
  292. end
  293. end
  294. end
  295. coroutine.wrap(ADMGK_fake_script)()
  296. local function LNGDJ_fake_script() -- EscapeJail.Script
  297. local script = Instance.new('Script', EscapeJail)
  298.  
  299. while true do
  300. for a = 1,360,1 do wait(.01)
  301. script.Parent.TextColor3 = Color3.fromHSV(a/360,1,1)
  302. end
  303. end
  304. end
  305. coroutine.wrap(LNGDJ_fake_script)()
  306. local function NDQQY_fake_script() -- ArrestCrims.Script
  307. local script = Instance.new('Script', ArrestCrims)
  308.  
  309. while true do
  310. for a = 1,360,1 do wait(.01)
  311. script.Parent.TextColor3 = Color3.fromHSV(a/360,1,1)
  312. end
  313. end
  314. end
  315. coroutine.wrap(NDQQY_fake_script)()
  316. local function WYULQVA_fake_script() -- GetWeapons.Script
  317. local script = Instance.new('Script', GetWeapons)
  318.  
  319. while true do
  320. for a = 1,360,1 do wait(.01)
  321. script.Parent.TextColor3 = Color3.fromHSV(a/360,1,1)
  322. end
  323. end
  324. end
  325. coroutine.wrap(WYULQVA_fake_script)()
  326. local function TEFMJ_fake_script() -- Jumppower.Script
  327. local script = Instance.new('Script', Jumppower)
  328.  
  329. while true do
  330. for a = 1,360,1 do wait(.01)
  331. script.Parent.TextColor3 = Color3.fromHSV(a/360,1,1)
  332. end
  333. end
  334. end
  335. coroutine.wrap(TEFMJ_fake_script)()
  336. local function NMSN_fake_script() -- Walkspeed.Script
  337. local script = Instance.new('Script', Walkspeed)
  338.  
  339. while true do
  340. for a = 1,360,1 do wait(.01)
  341. script.Parent.TextColor3 = Color3.fromHSV(a/360,1,1)
  342. end
  343. end
  344. end
  345. coroutine.wrap(NMSN_fake_script)()
  346. local function UFACUZ_fake_script() -- TextLabel.Script
  347. local script = Instance.new('Script', TextLabel)
  348.  
  349. while true do
  350. for a = 1,360,1 do wait(.01)
  351. script.Parent.TextColor3 = Color3.fromHSV(a/360,1,1)
  352. end
  353. end
  354. end
  355. coroutine.wrap(UFACUZ_fake_script)()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement