Advertisement
pyth0n______

Prison Life GUI

May 20th, 2018
648
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.90 KB | None | 0 0
  1. local OOF = Instance.new("ScreenGui")
  2. local Open = Instance.new("TextButton")
  3. local MainFrame = Instance.new("Frame")
  4. local PrisonLife = Instance.new("TextLabel")
  5. local Close = Instance.new("TextButton")
  6. local Fly = Instance.new("TextButton")
  7. local Noclip = Instance.new("TextButton")
  8. local ESP = Instance.new("TextButton")
  9. local RevizAdmin = Instance.new("TextButton")
  10. local RemoveDoors = Instance.new("TextButton")
  11. local Madebypyth0n = Instance.new("TextLabel")
  12.  
  13. -- Properties
  14.  
  15. OOF.Name = "OOF"
  16. OOF.Parent = game.CoreGui
  17.  
  18. Open.Name = "Open"
  19. Open.Parent = OOF
  20. Open.BackgroundColor3 = Color3.new(1, 1, 1)
  21. Open.Position = UDim2.new(0.00801974069, 0, 0.733749986, 0)
  22. Open.Size = UDim2.new(0, 163, 0, 50)
  23. Open.Font = Enum.Font.Cartoon
  24. Open.Text = "Open"
  25. Open.TextColor3 = Color3.new(1, 0, 0)
  26. Open.TextScaled = true
  27. Open.TextSize = 14
  28. Open.TextWrapped = true
  29.  
  30. MainFrame.Name = "MainFrame"
  31. MainFrame.Parent = OOF
  32. MainFrame.BackgroundColor3 = Color3.new(1, 1, 1)
  33. MainFrame.Position = UDim2.new(0.387415171, 0, 0.276250005, 0)
  34. MainFrame.Size = UDim2.new(0, 509, 0, 358)
  35. MainFrame.Visible = false
  36.  
  37. PrisonLife.Name = "Prison Life"
  38. PrisonLife.Parent = MainFrame
  39. PrisonLife.BackgroundColor3 = Color3.new(1, 1, 1)
  40. PrisonLife.BorderSizePixel = 0
  41. PrisonLife.Size = UDim2.new(0, 509, 0, 50)
  42. PrisonLife.Font = Enum.Font.Cartoon
  43. PrisonLife.Text = "Prison Life Hax"
  44. PrisonLife.TextColor3 = Color3.new(1, 0, 0)
  45. PrisonLife.TextScaled = true
  46. PrisonLife.TextSize = 14
  47. PrisonLife.TextWrapped = true
  48.  
  49. Close.Name = "Close"
  50. Close.Parent = MainFrame
  51. Close.BackgroundColor3 = Color3.new(1, 1, 1)
  52. Close.BorderSizePixel = 0
  53. Close.Position = UDim2.new(0.897838891, 0, 0, 0)
  54. Close.Size = UDim2.new(0, 52, 0, 50)
  55. Close.Font = Enum.Font.Cartoon
  56. Close.Text = "X"
  57. Close.TextColor3 = Color3.new(1, 0, 0)
  58. Close.TextScaled = true
  59. Close.TextSize = 14
  60. Close.TextWrapped = true
  61.  
  62. Fly.Name = "Fly"
  63. Fly.Parent = MainFrame
  64. Fly.BackgroundColor3 = Color3.new(1, 1, 1)
  65. Fly.Position = UDim2.new(0.0628683716, 0, 0.170391053, 0)
  66. Fly.Size = UDim2.new(0, 200, 0, 50)
  67. Fly.Font = Enum.Font.Cartoon
  68. Fly.Text = "Fly"
  69. Fly.TextColor3 = Color3.new(1, 0, 0)
  70. Fly.TextScaled = true
  71. Fly.TextSize = 14
  72. Fly.TextWrapped = true
  73.  
  74. (Fly).MouseButton1Down:connect(function()
  75. repeat wait()
  76. until game.Players.LocalPlayer and game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character:findFirstChild("Torso") and game.Players.LocalPlayer.Character:findFirstChild("Humanoid")
  77. local mouse = game.Players.LocalPlayer:GetMouse()
  78. repeat wait() until mouse
  79. local plr = game.Players.LocalPlayer
  80. local torso = plr.Character.Torso
  81. local flying = true
  82. local deb = true
  83. local ctrl = {f = 0, b = 0, l = 0, r = 0}
  84. local lastctrl = {f = 0, b = 0, l = 0, r = 0}
  85. local maxspeed = 50
  86. local speed = 0
  87.  
  88. function Fly()
  89. local bg = Instance.new("BodyGyro", torso)
  90. bg.P = 9e4
  91. bg.maxTorque = Vector3.new(9e9, 9e9, 9e9)
  92. bg.cframe = torso.CFrame
  93. local bv = Instance.new("BodyVelocity", torso)
  94. bv.velocity = Vector3.new(0,0.1,0)
  95. bv.maxForce = Vector3.new(9e9, 9e9, 9e9)
  96. repeat wait()
  97. plr.Character.Humanoid.PlatformStand = true
  98. if ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0 then
  99. speed = speed+.5+(speed/maxspeed)
  100. if speed > maxspeed then
  101. speed = maxspeed
  102. end
  103. elseif not (ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0) and speed ~= 0 then
  104. speed = speed-1
  105. if speed < 0 then
  106. speed = 0
  107. end
  108. end
  109. if (ctrl.l + ctrl.r) ~= 0 or (ctrl.f + ctrl.b) ~= 0 then
  110. 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
  111. lastctrl = {f = ctrl.f, b = ctrl.b, l = ctrl.l, r = ctrl.r}
  112. elseif (ctrl.l + ctrl.r) == 0 and (ctrl.f + ctrl.b) == 0 and speed ~= 0 then
  113. 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
  114. else
  115. bv.velocity = Vector3.new(0,0.1,0)
  116. end
  117. bg.cframe = game.Workspace.CurrentCamera.CoordinateFrame * CFrame.Angles(-math.rad((ctrl.f+ctrl.b)*50*speed/maxspeed),0,0)
  118. until not flying
  119. ctrl = {f = 0, b = 0, l = 0, r = 0}
  120. lastctrl = {f = 0, b = 0, l = 0, r = 0}
  121. speed = 0
  122. bg:Destroy()
  123. bv:Destroy()
  124. plr.Character.Humanoid.PlatformStand = false
  125. end
  126. mouse.KeyDown:connect(function(key)
  127. if key:lower() == "e" then
  128. if flying then flying = false
  129. else
  130. flying = true
  131. Fly()
  132. end
  133. elseif key:lower() == "w" then
  134. ctrl.f = 1
  135. elseif key:lower() == "s" then
  136. ctrl.b = -1
  137. elseif key:lower() == "a" then
  138. ctrl.l = -1
  139. elseif key:lower() == "d" then
  140. ctrl.r = 1
  141. end
  142. end)
  143. mouse.KeyUp:connect(function(key)
  144. if key:lower() == "w" then
  145. ctrl.f = 0
  146. elseif key:lower() == "s" then
  147. ctrl.b = 0
  148. elseif key:lower() == "a" then
  149. ctrl.l = 0
  150. elseif key:lower() == "d" then
  151. ctrl.r = 0
  152. end
  153. end)
  154. Fly()
  155. end)
  156.  
  157. Noclip.Name = "Noclip"
  158. Noclip.Parent = MainFrame
  159. Noclip.BackgroundColor3 = Color3.new(1, 1, 1)
  160. Noclip.Position = UDim2.new(0.530451894, 0, 0.170391053, 0)
  161. Noclip.Size = UDim2.new(0, 200, 0, 50)
  162. Noclip.Font = Enum.Font.Cartoon
  163. Noclip.Text = "Noclip"
  164. Noclip.TextColor3 = Color3.new(1, 0, 0)
  165. Noclip.TextScaled = true
  166. Noclip.TextSize = 14
  167. Noclip.TextWrapped = true
  168.  
  169. (Noclip).MouseButton1Down:connect(function()
  170. local noclip = true char = game.Players.LocalPlayer.Character while true do if noclip == true then for _,v in pairs(char:children()) do pcall(function() if v.className == "Part" then v.CanCollide = false elseif v.ClassName == "Model" then v.Head.CanCollide = false end end) end end game:service("RunService").Stepped:wait() end
  171. end)
  172.  
  173. ESP.Name = "ESP"
  174. ESP.Parent = MainFrame
  175. ESP.BackgroundColor3 = Color3.new(1, 1, 1)
  176. ESP.Position = UDim2.new(0.0628683716, 0, 0.393854767, 0)
  177. ESP.Size = UDim2.new(0, 200, 0, 50)
  178. ESP.Modal = true
  179. ESP.Font = Enum.Font.Cartoon
  180. ESP.Text = "ESP"
  181. ESP.TextColor3 = Color3.new(1, 0, 0)
  182. ESP.TextScaled = true
  183. ESP.TextSize = 14
  184. ESP.TextWrapped = true
  185.  
  186. (ESP).MouseButton1Down:connect(function()
  187. -- Made by Clifford from Intriga Discord -- Edited by Foxxy#2439 --
  188.  
  189. local localPlayer=game.Players.LocalPlayer
  190.  
  191. function highlightModel(objObject)
  192. for i,v in pairs(objObject:children())do
  193. if v:IsA'BasePart'and v.Name~='HumanoidRootPart'then
  194. local bHA=Instance.new('BoxHandleAdornment',v)
  195. bHA.Adornee=v
  196. bHA.Size= v.Name=='Head' and Vector3.new(1.25,1.25,1.25) or v.Size
  197. bHA.Color3=v.Name=='Head'and Color3.new(1,0,0)or v.Name=='Torso'and Color3.new(0,1,0)or Color3.new(0,0,1)
  198. bHA.Transparency=.5
  199. bHA.ZIndex=1
  200. bHA.AlwaysOnTop=true
  201. end
  202. if #v:children()>0 then
  203. highlightModel(v)
  204. end
  205. end
  206. end
  207.  
  208. function unHighlightModel(objObject)
  209. for i,v in pairs(objObject:children())do
  210. if v:IsA'BasePart' and v:findFirstChild'BoxHandleAdornment' then
  211. v.BoxHandleAdornment:Destroy()
  212. end
  213. if #v:children()>0 then
  214. unHighlightModel(v)
  215. end
  216. end
  217. end
  218.  
  219. function sortTeamHighlights(objPlayer)
  220. repeat wait() until objPlayer.Character
  221. if objPlayer.TeamColor~=localPlayer.TeamColor then
  222. highlightModel(objPlayer.Character)
  223. else
  224. unHighlightModel(objPlayer.Character)
  225. end
  226. if objPlayer~=localPlayer then
  227. objPlayer.Changed:connect(function(strProp)
  228. if strProp=='TeamColor'then
  229. if objPlayer.TeamColor~=localPlayer.TeamColor then
  230. unHighlightModel(objPlayer.Character)
  231. highlightModel(objPlayer.Character)
  232. else
  233. unHighlightModel(objPlayer.Character)
  234. end
  235. end
  236. end)
  237. else
  238. objPlayer.Changed:connect(function(strProp)
  239. if strProp=='TeamColor'then
  240. wait(.5)
  241. for i,v in pairs(game.Players:GetPlayers())do
  242. unHighlightModel(v)
  243. if v.TeamColor~=localPlayer.TeamColor then
  244. highlightModel(v.Character)
  245. end
  246. end
  247. end
  248. end)
  249. end
  250. end
  251.  
  252. for i,v in pairs(game.Players:GetPlayers())do
  253. v.CharacterAdded:connect(function()
  254. sortTeamHighlights(v)
  255. end)
  256. sortTeamHighlights(v)
  257. end
  258. game.Players.PlayerAdded:connect(function(objPlayer)
  259. objPlayer.CharacterAdded:connect(function(objChar)
  260. sortTeamHighlights(objPlayer)
  261. end)
  262. end)
  263. end)
  264.  
  265. RevizAdmin.Name = "Reviz Admin"
  266. RevizAdmin.Parent = MainFrame
  267. RevizAdmin.BackgroundColor3 = Color3.new(1, 1, 1)
  268. RevizAdmin.Position = UDim2.new(0.530451894, 0, 0.393854767, 0)
  269. RevizAdmin.Size = UDim2.new(0, 200, 0, 50)
  270. RevizAdmin.Font = Enum.Font.Cartoon
  271. RevizAdmin.Text = "Reviz Admin"
  272. RevizAdmin.TextColor3 = Color3.new(1, 0, 0)
  273. RevizAdmin.TextScaled = true
  274. RevizAdmin.TextSize = 14
  275. RevizAdmin.TextWrapped = true
  276.  
  277. (RevizAdmin).MouseButton1Down:connect(function()
  278. loadstring(game:HttpGet(('https://pastebin.com/raw/ALHnRwc2'),true))()
  279. end)
  280.  
  281. RemoveDoors.Name = "Remove Doors"
  282. RemoveDoors.Parent = MainFrame
  283. RemoveDoors.BackgroundColor3 = Color3.new(1, 1, 1)
  284. RemoveDoors.Position = UDim2.new(0.0628683716, 0, 0.617318392, 0)
  285. RemoveDoors.Size = UDim2.new(0, 200, 0, 50)
  286. RemoveDoors.Font = Enum.Font.Cartoon
  287. RemoveDoors.Text = "Remove Doors"
  288. RemoveDoors.TextColor3 = Color3.new(1, 0, 0)
  289. RemoveDoors.TextScaled = true
  290. RemoveDoors.TextSize = 14
  291. RemoveDoors.TextWrapped = true
  292.  
  293. (RemoveDoors).MouseButton1Down:connect(function()
  294. game.Workspace.Doors:Destroy()
  295. end)
  296.  
  297. Madebypyth0n.Name = "Made by pyth0n"
  298. Madebypyth0n.Parent = MainFrame
  299. Madebypyth0n.BackgroundColor3 = Color3.new(1, 1, 1)
  300. Madebypyth0n.BorderSizePixel = 0
  301. Madebypyth0n.Position = UDim2.new(0, 0, 0.796089411, 0)
  302. Madebypyth0n.Size = UDim2.new(0, 509, 0, 73)
  303. Madebypyth0n.Font = Enum.Font.Cartoon
  304. Madebypyth0n.Text = "Made by pyth0n"
  305. Madebypyth0n.TextColor3 = Color3.new(1, 0, 0)
  306. Madebypyth0n.TextScaled = true
  307. Madebypyth0n.TextSize = 14
  308. Madebypyth0n.TextWrapped = true
  309.  
  310. -- Scripts
  311. Open.MouseButton1Click:connect (function()
  312. Open.Visible = false
  313. MainFrame.Visible = true
  314. end)
  315.  
  316. Close.MouseButton1Click:connect (function()
  317. Open.Visible = true
  318. MainFrame.Visible = false
  319. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement