Advertisement
matssss2387234823

XD

Jan 22nd, 2019
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.96 KB | None | 0 0
  1. print ("Made by small boi#0827 aka Center Gaming.")
  2. PrisonLife = Instance.new("ScreenGui")
  3. OpenFrame = Instance.new("Frame")
  4. Open = Instance.new("TextButton")
  5. MainFrame = Instance.new("Frame")
  6. Fly = Instance.new("TextButton")
  7. PrisonLifeAllGuns = Instance.new("TextButton")
  8. PrisonLifeNoDoors = Instance.new("TextButton")
  9. PrisonLifeFastM9 = Instance.new("TextButton")
  10. PrisonLifeFastAK47 = Instance.new("TextButton")
  11. Noclip = Instance.new("TextButton")
  12. Minimize = Instance.new("TextButton")
  13. cLOSE = Instance.new("TextButton")
  14.  
  15. PrisonLife.Name = "PrisonLife"
  16. PrisonLife.Parent = game.CoreGui
  17.  
  18. OpenFrame.Name = "OpenFrame"
  19. OpenFrame.Parent = PrisonLife
  20. OpenFrame.BackgroundColor3 = Color3.new(1, 1, 1)
  21. OpenFrame.Position = UDim2.new(0, 0, 0.612546146, 0)
  22. OpenFrame.Size = UDim2.new(0, 128, 0, 51)
  23.  
  24. Open.Name = "Open"
  25. Open.Parent = OpenFrame
  26. Open.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  27. Open.BorderSizePixel = 4
  28. Open.Size = UDim2.new(0, 128, 0, 50)
  29. Open.Font = Enum.Font.GothamBold
  30. Open.FontSize = Enum.FontSize.Size14
  31. Open.Text = "OPEN"
  32. Open.TextColor3 = Color3.new(0, 0, 0)
  33. Open.TextScaled = true
  34. Open.TextSize = 14
  35. Open.TextWrapped = true
  36. Open.MouseButton1Down:connect(function()
  37. MainFrame.Visible = true
  38. end)
  39.  
  40. MainFrame.Name = "MainFrame"
  41. MainFrame.Parent = PrisonLife
  42. MainFrame.BackgroundColor3 = Color3.new(0.176471, 0.176471, 0.176471)
  43. MainFrame.BorderColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  44. MainFrame.BorderSizePixel = 4
  45. MainFrame.Position = UDim2.new(0.30727762, 0, 0.110701106, 0)
  46. MainFrame.Size = UDim2.new(0, 467, 0, 368)
  47. MainFrame.Visible = false
  48. MainFrame.Active = true
  49. MainFrame.Draggable = true
  50.  
  51. Fly.Name = "Fly"
  52. Fly.Parent = MainFrame
  53. Fly.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  54. Fly.Position = UDim2.new(0.0293683615, 0, 0.136772737, 0)
  55. Fly.Size = UDim2.new(0, 192, 0, 54)
  56. Fly.Font = Enum.Font.SourceSans
  57. Fly.FontSize = Enum.FontSize.Size14
  58. Fly.Text = "Fly"
  59. Fly.TextColor3 = Color3.new(0, 0, 0)
  60. Fly.TextScaled = true
  61. Fly.TextSize = 14
  62. Fly.TextWrapped = true
  63. Fly.MouseButton1Down:connect(function()
  64. repeat wait()
  65. until game.Players.LocalPlayer and game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character:findFirstChild("Torso") and game.Players.LocalPlayer.Character:findFirstChild("Humanoid")
  66. local mouse = game.Players.LocalPlayer:GetMouse()
  67. repeat wait() until mouse
  68. local plr = game.Players.LocalPlayer
  69. local torso = plr.Character.Torso
  70. local flying = true
  71. local deb = true
  72. local ctrl = {f = 0, b = 0, l = 0, r = 0}
  73. local lastctrl = {f = 0, b = 0, l = 0, r = 0}
  74. local maxspeed = 50
  75. local speed = 0
  76.  
  77. function Fly()
  78. local bg = Instance.new("BodyGyro", torso)
  79. bg.P = 9e4
  80. bg.maxTorque = Vector3.new(9e9, 9e9, 9e9)
  81. bg.cframe = torso.CFrame
  82. local bv = Instance.new("BodyVelocity", torso)
  83. bv.velocity = Vector3.new(0,0.1,0)
  84. bv.maxForce = Vector3.new(9e9, 9e9, 9e9)
  85. repeat wait()
  86. plr.Character.Humanoid.PlatformStand = true
  87. if ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0 then
  88. speed = speed+.5+(speed/maxspeed)
  89. if speed > maxspeed then
  90. speed = maxspeed
  91. end
  92. elseif not (ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0) and speed ~= 0 then
  93. speed = speed-1
  94. if speed < 0 then
  95. speed = 0
  96. end
  97. end
  98. if (ctrl.l + ctrl.r) ~= 0 or (ctrl.f + ctrl.b) ~= 0 then
  99. 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
  100. lastctrl = {f = ctrl.f, b = ctrl.b, l = ctrl.l, r = ctrl.r}
  101. elseif (ctrl.l + ctrl.r) == 0 and (ctrl.f + ctrl.b) == 0 and speed ~= 0 then
  102. 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
  103. else
  104. bv.velocity = Vector3.new(0,0.1,0)
  105. end
  106. bg.cframe = game.Workspace.CurrentCamera.CoordinateFrame * CFrame.Angles(-math.rad((ctrl.f+ctrl.b)*50*speed/maxspeed),0,0)
  107. until not flying
  108. ctrl = {f = 0, b = 0, l = 0, r = 0}
  109. lastctrl = {f = 0, b = 0, l = 0, r = 0}
  110. speed = 0
  111. bg:Destroy()
  112. bv:Destroy()
  113. plr.Character.Humanoid.PlatformStand = false
  114. end
  115. mouse.KeyDown:connect(function(key)
  116. if key:lower() == "e" then
  117. if flying then flying = false
  118. else
  119. flying = true
  120. Fly()
  121. end
  122. elseif key:lower() == "w" then
  123. ctrl.f = 1
  124. elseif key:lower() == "s" then
  125. ctrl.b = -1
  126. elseif key:lower() == "a" then
  127. ctrl.l = -1
  128. elseif key:lower() == "d" then
  129. ctrl.r = 1
  130. end
  131. end)
  132. mouse.KeyUp:connect(function(key)
  133. if key:lower() == "w" then
  134. ctrl.f = 0
  135. elseif key:lower() == "s" then
  136. ctrl.b = 0
  137. elseif key:lower() == "a" then
  138. ctrl.l = 0
  139. elseif key:lower() == "d" then
  140. ctrl.r = 0
  141. end
  142. end)
  143. Fly()
  144. end)
  145.  
  146. PrisonLifeAllGuns.Name = "(Prison Life) All Guns"
  147. PrisonLifeAllGuns.Parent = MainFrame
  148. PrisonLifeAllGuns.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  149. PrisonLifeAllGuns.Position = UDim2.new(0.0293683633, 0, 0.364629537, 0)
  150. PrisonLifeAllGuns.Size = UDim2.new(0, 192, 0, 54)
  151. PrisonLifeAllGuns.Font = Enum.Font.SourceSans
  152. PrisonLifeAllGuns.FontSize = Enum.FontSize.Size14
  153. PrisonLifeAllGuns.Text = "(Prison Life) All Guns"
  154. PrisonLifeAllGuns.TextColor3 = Color3.new(0, 0, 0)
  155. PrisonLifeAllGuns.TextScaled = true
  156. PrisonLifeAllGuns.TextSize = 14
  157. PrisonLifeAllGuns.TextWrapped = true
  158. PrisonLifeAllGuns.MouseButton1Down:connect(function()
  159. for i,v in pairs(workspace.Prison_ITEMS.giver:GetChildren()) do
  160. workspace.Remote.ItemHandler:InvokeServer(v.ITEMPICKUP)
  161. print("got you guns my m8!")
  162. end
  163. end)
  164.  
  165. PrisonLifeNoDoors.Name = "(Prison Life) No Doors"
  166. PrisonLifeNoDoors.Parent = MainFrame
  167. PrisonLifeNoDoors.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  168. PrisonLifeNoDoors.Position = UDim2.new(0.0293683652, 0, 0.695604682, 0)
  169. PrisonLifeNoDoors.Size = UDim2.new(0, 192, 0, 54)
  170. PrisonLifeNoDoors.Font = Enum.Font.SourceSans
  171. PrisonLifeNoDoors.FontSize = Enum.FontSize.Size14
  172. PrisonLifeNoDoors.Text = "(Prison Life) No Doors"
  173. PrisonLifeNoDoors.TextColor3 = Color3.new(0, 0, 0)
  174. PrisonLifeNoDoors.TextScaled = true
  175. PrisonLifeNoDoors.TextSize = 14
  176. PrisonLifeNoDoors.TextWrapped = true
  177. PrisonLifeNoDoors.MouseButton1Down:connect(function()
  178. game.Workspace.Doors:Destroy()
  179. local hint = Instance.new("Hint",game.Players.LocalPlayer.PlayerGui)
  180. hint.Text = "[ Unique'S PRISON LIFE COMMANDS ]: SUCCESSFULLY REMOVED COP DOORS"
  181. hint.Name = game.JobId
  182. wait(3)
  183. hint:Destroy()
  184. end)
  185.  
  186. PrisonLifeFastM9.Name = "(Prison Life) Fast M9"
  187. PrisonLifeFastM9.Parent = MainFrame
  188. PrisonLifeFastM9.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  189. PrisonLifeFastM9.Position = UDim2.new(0.467256844, 0, 0.695604682, 0)
  190. PrisonLifeFastM9.Size = UDim2.new(0, 192, 0, 54)
  191. PrisonLifeFastM9.Font = Enum.Font.SourceSans
  192. PrisonLifeFastM9.FontSize = Enum.FontSize.Size14
  193. PrisonLifeFastM9.Text = "(Prison Life) Fast M9"
  194. PrisonLifeFastM9.TextColor3 = Color3.new(0, 0, 0)
  195. PrisonLifeFastM9.TextScaled = true
  196. PrisonLifeFastM9.TextSize = 14
  197. PrisonLifeFastM9.TextWrapped = true
  198. PrisonLifeFastM9.MouseButton1Down:connect(function()
  199. local player = game:GetService("Players").LocalPlayer
  200. local gun = player.Backpack:FindFirstChild("M9")
  201. local sM = require(gun:FindFirstChild("GunStates"))
  202. sM["Damage"] = 999
  203. sM["MaxAmmo"] = 9999991
  204. sM["StoredAmmo"] = 9999991
  205. sM["FireRate"] = 0.05
  206. sM["AmmoPerClip"] = 9999991
  207. sM["Range"] = 5000
  208. sM["ReloadTime"] = 0.05
  209. sM["Bullets"] = 10
  210. sM["AutoFire"] = true
  211. end)
  212.  
  213. PrisonLifeFastAK47.Name = "(Prison Life) Fast AK-47"
  214. PrisonLifeFastAK47.Parent = MainFrame
  215. PrisonLifeFastAK47.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  216. PrisonLifeFastAK47.Position = UDim2.new(0.467256814, 0, 0.364082932, 0)
  217. PrisonLifeFastAK47.Size = UDim2.new(0, 192, 0, 54)
  218. PrisonLifeFastAK47.Font = Enum.Font.SourceSans
  219. PrisonLifeFastAK47.FontSize = Enum.FontSize.Size14
  220. PrisonLifeFastAK47.Text = "(Prison Life) Fast AK-47"
  221. PrisonLifeFastAK47.TextColor3 = Color3.new(0, 0, 0)
  222. PrisonLifeFastAK47.TextScaled = true
  223. PrisonLifeFastAK47.TextSize = 14
  224. PrisonLifeFastAK47.TextWrapped = true
  225. PrisonLifeFastAK47.MouseButton1Down:connect(function()
  226. local player = game:GetService("Players").LocalPlayer
  227. local gun = player.Backpack:FindFirstChild("AK-47")
  228. local sM = require(gun:FindFirstChild("GunStates"))
  229. sM["Damage"] = 999
  230. sM["MaxAmmo"] = 9999991
  231. sM["StoredAmmo"] = 9999991
  232. sM["FireRate"] = 0.05
  233. sM["AmmoPerClip"] = 9999991
  234. sM["Range"] = 5000
  235. sM["ReloadTime"] = 0.05
  236. sM["Bullets"] = 10
  237. sM["AutoFire"] = true
  238. end)
  239.  
  240. Noclip.Name = "Noclip"
  241. Noclip.Parent = MainFrame
  242. Noclip.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  243. Noclip.Position = UDim2.new(0.467256844, 0, 0.138539433, 0)
  244. Noclip.Size = UDim2.new(0, 192, 0, 54)
  245. Noclip.Font = Enum.Font.SourceSans
  246. Noclip.FontSize = Enum.FontSize.Size14
  247. Noclip.Text = "Noclip"
  248. Noclip.TextColor3 = Color3.new(0, 0, 0)
  249. Noclip.TextScaled = true
  250. Noclip.TextSize = 14
  251. Noclip.TextWrapped = true
  252. Noclip.MouseButton1Down:connect(function()
  253. end)
  254. --[[
  255. defeat skidded trash noclip checks
  256. this will probably only work on games that literally copy + pasted noclip checking code from devforum.
  257.  
  258. by 3dsboy08
  259. ]]
  260.  
  261. local statetype = Enum.HumanoidStateType
  262. local rnd = Random.new():NextInteger(150, 100000)
  263. local mt = getrawmetatable(statetype)
  264. local mt_index = mt.__index
  265. setreadonly(mt, false)
  266.  
  267. mt.__index = newcclosure(function(t, k)
  268. if not checkcaller() and t == statetype and k == "StrafingNoPhysics" then
  269. return rnd
  270. end
  271.  
  272. return mt_index(t, k)
  273. end)
  274.  
  275. setreadonly(mt, true)
  276.  
  277. noclip = false
  278. game:GetService('RunService').Stepped:connect(function()
  279. if noclip then
  280. game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
  281. end
  282. end)
  283. plr = game.Players.LocalPlayer
  284. mouse = plr:GetMouse()
  285. mouse.KeyDown:connect(function(key)
  286.  
  287. if key == "x" then
  288. noclip = not noclip
  289. game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
  290. end
  291. end)
  292.  
  293.  
  294. Minimize.Name = "Minimize"
  295. Minimize.Parent = MainFrame
  296. Minimize.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  297. Minimize.Position = UDim2.new(0.914346874, 0, -4.75178604e-05, 0)
  298. Minimize.Size = UDim2.new(0, 40, 0, 33)
  299. Minimize.Font = Enum.Font.SourceSans
  300. Minimize.FontSize = Enum.FontSize.Size14
  301. Minimize.Text = "-"
  302. Minimize.TextColor3 = Color3.new(0, 0, 0)
  303. Minimize.TextScaled = true
  304. Minimize.TextSize = 14
  305. Minimize.TextWrapped = true
  306. Minimize.MouseButton1Down:connect(function()
  307. MainFrame.Visible = false
  308. OpenFrame.Visible = true
  309. end)
  310.  
  311. cLOSE.Name = "cLOSE"
  312. cLOSE.Parent = MainFrame
  313. cLOSE.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  314. cLOSE.Position = UDim2.new(0.828693807, 0, -4.75178604e-05, 0)
  315. cLOSE.Size = UDim2.new(0, 40, 0, 33)
  316. cLOSE.Font = Enum.Font.SourceSans
  317. cLOSE.FontSize = Enum.FontSize.Size14
  318. cLOSE.Text = "X"
  319. cLOSE.TextColor3 = Color3.new(0, 0, 0)
  320. cLOSE.TextScaled = true
  321. cLOSE.TextSize = 14
  322. cLOSE.TextWrapped = true
  323. cLOSE.MouseButton1Down:connect(function()
  324. MainFrame.Visible = false
  325. OpenFrame.Visible = false
  326. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement