Advertisement
Guest User

Untitled

a guest
Jun 22nd, 2018
615
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.11 KB | None | 0 0
  1.  
  2. local PrisonLife = Instance.new("ScreenGui")
  3. local frame = Instance.new("Frame")
  4. local open = Instance.new("TextButton")
  5. local maingui = Instance.new("Frame")
  6. local mtitle = Instance.new("TextBox")
  7. local fastm9 = Instance.new("TextButton")
  8. local fastshotgun = Instance.new("TextButton")
  9. local fastak = Instance.new("TextButton")
  10. local fasttaser = Instance.new("TextButton")
  11. local fastm4a1 = Instance.new("TextButton")
  12. local TextBox = Instance.new("TextBox")
  13. local opgui = Instance.new("TextButton")
  14. local noclip = Instance.new("TextButton")
  15. local close = Instance.new("TextButton")
  16. local fly = Instance.new("TextButton")
  17. local admin = Instance.new("TextButton")
  18.  
  19. -- Properties
  20.  
  21. PrisonLife.Name = "Prison Life"
  22. PrisonLife.Parent = game.CoreGui
  23.  
  24. frame.Name = "frame"
  25. frame.Parent = PrisonLife
  26. frame.BackgroundColor3 = Color3.new(0, 0, 0)
  27. frame.BackgroundTransparency = 0.5
  28. frame.Position = UDim2.new(0, 0, 0.581027746, 0)
  29. frame.Selectable = true
  30. frame.Size = UDim2.new(0, 143, 0, 23)
  31.  
  32. open.Name = "open"
  33. open.Parent = frame
  34. open.BackgroundColor3 = Color3.new(0, 0, 0)
  35. open.BackgroundTransparency = 0.5
  36. open.Size = UDim2.new(0, 143, 0, 23)
  37. open.Font = Enum.Font.SourceSans
  38. open.Text = "OPEN"
  39. open.TextColor3 = Color3.new(1, 1, 1)
  40. open.TextSize = 14
  41. open.MouseButton1Down:connect(function()
  42. maingui.Visible = true
  43. frame.Visible = false
  44.  
  45. end)
  46.  
  47. maingui.Name = "maingui"
  48. maingui.Parent = PrisonLife
  49. maingui.BackgroundColor3 = Color3.new(0, 0, 0)
  50. maingui.Position = UDim2.new(0.554194152, 0, 0.185770765, 0)
  51. maingui.Selectable = true
  52. maingui.Size = UDim2.new(0, 317, 0, 287)
  53.  
  54. mtitle.Name = "mtitle"
  55. mtitle.Parent = maingui
  56. mtitle.BackgroundColor3 = Color3.new(0, 0, 0)
  57. mtitle.Size = UDim2.new(0, 317, 0, 27)
  58. mtitle.Font = Enum.Font.SourceSans
  59. mtitle.Text = "Prison Life GUI"
  60. mtitle.TextColor3 = Color3.new(1, 1, 1)
  61. mtitle.TextScaled = true
  62. mtitle.TextSize = 14
  63. mtitle.TextWrapped = true
  64.  
  65. fastm9.Name = "fastm9"
  66. fastm9.Parent = maingui
  67. fastm9.BackgroundColor3 = Color3.new(1, 1, 1)
  68. fastm9.Position = UDim2.new(0.0820189416, 0, 0.142857134, 0)
  69. fastm9.Size = UDim2.new(0, 103, 0, 19)
  70. fastm9.Font = Enum.Font.SourceSans
  71. fastm9.Text = "Fast M9"
  72. fastm9.TextColor3 = Color3.new(0, 0, 0)
  73. fastm9.TextSize = 14
  74. fastm9.MouseButton1Down:connect(function()
  75. local player = game:GetService("Players").LocalPlayer
  76. local gun = player.Backpack:FindFirstChild("M9")
  77. local sM = require(gun:FindFirstChild("GunStates"))
  78. sM["Damage"] = 999
  79. sM["MaxAmmo"] = 9999991
  80. sM["StoredAmmo"] = 9999991
  81. sM["FireRate"] = 0.05
  82. sM["AmmoPerClip"] = 9999991
  83. sM["Range"] = 5000
  84. sM["ReloadTime"] = 0.05
  85. sM["Bullets"] = 10
  86. sM["AutoFire"] = true
  87. end)
  88.  
  89. fastshotgun.Name = "fastshotgun"
  90. fastshotgun.Parent = maingui
  91. fastshotgun.BackgroundColor3 = Color3.new(1, 1, 1)
  92. fastshotgun.Position = UDim2.new(0.0820189416, 0, 0.261324048, 0)
  93. fastshotgun.Size = UDim2.new(0, 103, 0, 19)
  94. fastshotgun.Font = Enum.Font.SourceSans
  95. fastshotgun.Text = "Fast Shotgun"
  96. fastshotgun.TextColor3 = Color3.new(0, 0, 0)
  97. fastshotgun.TextSize = 14
  98. fastshotgun.MouseButton1Down:connect(function()
  99. local player = game:GetService("Players").LocalPlayer
  100. local gun = player.Backpack:FindFirstChild("Remington 870")
  101. local sM = require(gun:FindFirstChild("GunStates"))
  102. sM["Damage"] = 999
  103. sM["MaxAmmo"] = 9999991
  104. sM["StoredAmmo"] = 9999991
  105. sM["FireRate"] = 0.05
  106. sM["AmmoPerClip"] = 9999991
  107. sM["Range"] = 5000
  108. sM["ReloadTime"] = 0.05
  109. sM["Bullets"] = 10
  110. sM["AutoFire"] = true
  111. end)
  112.  
  113.  
  114. fastak.Name = "fastak"
  115. fastak.Parent = maingui
  116. fastak.BackgroundColor3 = Color3.new(1, 1, 1)
  117. fastak.Position = UDim2.new(0.0820189416, 0, 0.393728226, 0)
  118. fastak.Size = UDim2.new(0, 103, 0, 19)
  119. fastak.Font = Enum.Font.SourceSans
  120. fastak.Text = "Fast AK-47"
  121. fastak.TextColor3 = Color3.new(0, 0, 0)
  122. fastak.TextSize = 14
  123. fastak.MouseButton1Down:connect(function()
  124. local player = game:GetService("Players").LocalPlayer
  125. local gun = player.Backpack:FindFirstChild("AK-47")
  126. local sM = require(gun:FindFirstChild("GunStates"))
  127. sM["Damage"] = 999
  128. sM["MaxAmmo"] = 9999991
  129. sM["StoredAmmo"] = 9999991
  130. sM["FireRate"] = 0.05
  131. sM["AmmoPerClip"] = 9999991
  132. sM["Range"] = 5000
  133. sM["ReloadTime"] = 0.05
  134. sM["Bullets"] = 10
  135. sM["AutoFire"] = true
  136. end)
  137.  
  138. fasttaser.Name = "fasttaser"
  139. fasttaser.Parent = maingui
  140. fasttaser.BackgroundColor3 = Color3.new(1, 1, 1)
  141. fasttaser.Position = UDim2.new(0.0820189416, 0, 0.515679479, 0)
  142. fasttaser.Size = UDim2.new(0, 103, 0, 19)
  143. fasttaser.Font = Enum.Font.SourceSans
  144. fasttaser.Text = "Fast Taser"
  145. fasttaser.TextColor3 = Color3.new(0, 0, 0)
  146. fasttaser.TextSize = 14
  147. fasttaser.MouseButton1Down:connect(function()
  148. local player = game:GetService("Players").LocalPlayer
  149. local gun = player.Backpack:FindFirstChild("Taser")
  150. local sM = require(gun:FindFirstChild("GunStates"))
  151. sM["Damage"] = 999
  152. sM["MaxAmmo"] = 9999991
  153. sM["StoredAmmo"] = 9999991
  154. sM["FireRate"] = 0.05
  155. sM["AmmoPerClip"] = 9999991
  156. sM["Range"] = 5000
  157. sM["ReloadTime"] = 0.05
  158. sM["Bullets"] = 10
  159. sM["AutoFire"] = true
  160. end)
  161.  
  162. fastm4a1.Name = "fastm4a1"
  163. fastm4a1.Parent = maingui
  164. fastm4a1.BackgroundColor3 = Color3.new(1, 1, 1)
  165. fastm4a1.Position = UDim2.new(0.0820189416, 0, 0.630662084, 0)
  166. fastm4a1.Size = UDim2.new(0, 103, 0, 19)
  167. fastm4a1.Font = Enum.Font.SourceSans
  168. fastm4a1.Text = "Fast M4A1"
  169. fastm4a1.TextColor3 = Color3.new(0, 0, 0)
  170. fastm4a1.TextSize = 14
  171. fastm4a1.MouseButton1Down:connect(function()
  172. local player = game:GetService("Players").LocalPlayer
  173. local gun = player.Backpack:FindFirstChild("M4A1")
  174. local sM = require(gun:FindFirstChild("GunStates"))
  175. sM["Damage"] = 999
  176. sM["MaxAmmo"] = 9999991
  177. sM["StoredAmmo"] = 9999991
  178. sM["FireRate"] = 0.05
  179. sM["AmmoPerClip"] = 9999991
  180. sM["Range"] = 5000
  181. sM["ReloadTime"] = 0.05
  182. sM["Bullets"] = 10
  183. sM["AutoFire"] = true
  184. end)
  185.  
  186. TextBox.Parent = maingui
  187. TextBox.BackgroundColor3 = Color3.new(1, 1, 1)
  188. TextBox.Position = UDim2.new(0.520504713, 0, 0.142857105, 0)
  189. TextBox.Size = UDim2.new(0, 119, 0, 33)
  190. TextBox.Font = Enum.Font.SourceSans
  191. TextBox.Text = "When Doing Fast Weaponds Unequip weaponds first then click"
  192. TextBox.TextColor3 = Color3.new(0, 0, 0)
  193. TextBox.TextScaled = true
  194. TextBox.TextSize = 14
  195. TextBox.TextWrapped = true
  196.  
  197. opgui.Name = "opgui"
  198. opgui.Parent = maingui
  199. opgui.BackgroundColor3 = Color3.new(1, 1, 1)
  200. opgui.Position = UDim2.new(0.54574132, 0, 0.292682916, 0)
  201. opgui.Size = UDim2.new(0, 103, 0, 83)
  202. opgui.Font = Enum.Font.SourceSans
  203. opgui.Text = "Op GUI"
  204. opgui.TextColor3 = Color3.new(0, 0, 0)
  205. opgui.TextSize = 30
  206. opgui.TextWrapped = true
  207. opgui.MouseButton1Down:connect(function()
  208. loadstring(game:GetObjects("rbxassetid://1479654684")[1].Source)()
  209. end)
  210.  
  211. noclip.Name = "noclip"
  212. noclip.Parent = maingui
  213. noclip.BackgroundColor3 = Color3.new(1, 1, 1)
  214. noclip.Position = UDim2.new(0.54574132, 0, 0.630662084, 0)
  215. noclip.Size = UDim2.new(0, 103, 0, 19)
  216. noclip.Font = Enum.Font.SourceSans
  217. noclip.Text = "Noclip (F)"
  218. noclip.TextColor3 = Color3.new(0, 0, 0)
  219. noclip.TextSize = 14
  220. noclip.MouseButton1Down:connect(function()
  221. noclip = false
  222. game:GetService('RunService').Stepped:connect(function()
  223. if noclip then
  224. game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
  225. end
  226. end)
  227. plr = game.Players.LocalPlayer
  228. mouse = plr:GetMouse()
  229. mouse.KeyDown:connect(function(key)
  230.  
  231. if key == "f" then
  232. noclip = not noclip
  233. game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
  234. end
  235. end)
  236. end)
  237.  
  238. close.Name = "close"
  239. close.Parent = maingui
  240. close.BackgroundColor3 = Color3.new(0, 0, 0)
  241. close.Position = UDim2.new(0.835962117, 0, 0, 0)
  242. close.Size = UDim2.new(0, 52, 0, 27)
  243. close.Font = Enum.Font.SourceSans
  244. close.Text = "X"
  245. close.TextColor3 = Color3.new(1, 1, 1)
  246. close.TextSize = 14
  247. close.MouseButton1Down:connect(function()
  248. maingui.Visible = false
  249. frame.Visible = true
  250. end)
  251.  
  252. fly.Name = "fly"
  253. fly.Parent = maingui
  254. fly.BackgroundColor3 = Color3.new(1, 1, 1)
  255. fly.Position = UDim2.new(0.0820189267, 0, 0.752613246, 0)
  256. fly.Size = UDim2.new(0, 258, 0, 19)
  257. fly.Font = Enum.Font.SourceSans
  258. fly.Text = "Fly (E)"
  259. fly.TextColor3 = Color3.new(0, 0, 0)
  260. fly.TextSize = 14
  261. fly.MouseButton1Down:connect(function()
  262. repeat wait()
  263. until game.Players.LocalPlayer and game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character:findFirstChild("Torso") and game.Players.LocalPlayer.Character:findFirstChild("Humanoid")
  264. local mouse = game.Players.LocalPlayer:GetMouse()
  265. repeat wait() until mouse
  266. local plr = game.Players.LocalPlayer
  267. local torso = plr.Character.Torso
  268. local flying = true
  269. local deb = true
  270. local ctrl = {f = 0, b = 0, l = 0, r = 0}
  271. local lastctrl = {f = 0, b = 0, l = 0, r = 0}
  272. local maxspeed = 100
  273. local speed = 100
  274.  
  275. function Fly()
  276. local bg = Instance.new("BodyGyro", torso)
  277. bg.P = 9e4
  278. bg.maxTorque = Vector3.new(9e9, 9e9, 9e9)
  279. bg.cframe = torso.CFrame
  280. local bv = Instance.new("BodyVelocity", torso)
  281. bv.velocity = Vector3.new(0,0.1,0)
  282. bv.maxForce = Vector3.new(9e9, 9e9, 9e9)
  283. repeat wait()
  284. plr.Character.Humanoid.PlatformStand = true
  285. if ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0 then
  286. speed = speed+.5+(speed/maxspeed)
  287. if speed > maxspeed then
  288. speed = maxspeed
  289. end
  290. elseif not (ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0) and speed ~= 0 then
  291. speed = speed-1
  292. if speed < 0 then
  293. speed = 0
  294. end
  295. end
  296. if (ctrl.l + ctrl.r) ~= 0 or (ctrl.f + ctrl.b) ~= 0 then
  297. 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
  298. lastctrl = {f = ctrl.f, b = ctrl.b, l = ctrl.l, r = ctrl.r}
  299. elseif (ctrl.l + ctrl.r) == 0 and (ctrl.f + ctrl.b) == 0 and speed ~= 0 then
  300. 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
  301. else
  302. bv.velocity = Vector3.new(0,0.1,0)
  303. end
  304. bg.cframe = game.Workspace.CurrentCamera.CoordinateFrame * CFrame.Angles(-math.rad((ctrl.f+ctrl.b)*50*speed/maxspeed),0,0)
  305. until not flying
  306. ctrl = {f = 0, b = 0, l = 0, r = 0}
  307. lastctrl = {f = 0, b = 0, l = 0, r = 0}
  308. speed = 0
  309. bg:Destroy()
  310. bv:Destroy()
  311. plr.Character.Humanoid.PlatformStand = false
  312. end
  313. mouse.KeyDown:connect(function(key)
  314. if key:lower() == "e" then
  315. if flying then flying = false
  316. else
  317. flying = true
  318. Fly()
  319. end
  320. elseif key:lower() == "w" then
  321. ctrl.f = 1
  322. elseif key:lower() == "s" then
  323. ctrl.b = -1
  324. elseif key:lower() == "a" then
  325. ctrl.l = -1
  326. elseif key:lower() == "d" then
  327. ctrl.r = 1
  328. end
  329. end)
  330. mouse.KeyUp:connect(function(key)
  331. if key:lower() == "w" then
  332. ctrl.f = 0
  333. elseif key:lower() == "s" then
  334. ctrl.b = 0
  335. elseif key:lower() == "a" then
  336. ctrl.l = 0
  337. elseif key:lower() == "d" then
  338. ctrl.r = 0
  339. end
  340. end)
  341. Fly()
  342. end)
  343.  
  344. admin.Name = "admin"
  345. admin.Parent = maingui
  346. admin.BackgroundColor3 = Color3.new(1, 1, 1)
  347. admin.Position = UDim2.new(0.0820189267, 0, 0.881533086, 0)
  348. admin.Size = UDim2.new(0, 258, 0, 19)
  349. admin.Font = Enum.Font.SourceSans
  350. admin.Text = "Infinite Yield"
  351. admin.TextColor3 = Color3.new(0, 0, 0)
  352. admin.TextSize = 14
  353. admin.MouseButton1Down:connect(function()
  354. loadstring(game:HttpGet(('https://pastebin.com/raw/MjBzRjmT'),true))()
  355. end)
  356.  
  357. -- Scripts
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement