Advertisement
FuZe_Bleed

prison life remake :)

Sep 13th, 2018
156
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.08 KB | None | 0 0
  1. -- Local Player
  2. local p = game.Players.LocalPlayer
  3.  
  4. -- Instance Objects
  5. local gui = Instance.new('ScreenGui',p.PlayerGui)
  6. local frame = Instance.new('ScrollingFrame',gui)
  7. local open = Instance.new('TextButton',gui)
  8. local name = Instance.new('TextLabel',frame)
  9. local arrest = Instance.new('TextButton',frame)
  10. local btools = Instance.new('TextButton',frame)
  11. local escape = Instance.new('TextButton',frame)
  12. local exit = Instance.new('TextButton',frame)
  13. local killaura = Instance.new('TextButton',frame)
  14. local melee = Instance.new('TextButton',frame)
  15. local removedoors = Instance.new('TextButton',frame)
  16. local tools = Instance.new('TextButton',frame)
  17. local speedplus = Instance.new('TextButton',frame)
  18. local speedminus = Instance.new('TextButton',frame)
  19. local jumpplus = Instance.new('TextButton',frame)
  20. local jumpminus = Instance.new('TextButton',frame)
  21. local bypass = Instance.new('TextButton',frame)
  22. local db = Instance.new('TextButton',frame)
  23. local floor = Instance.new('TextButton',frame)
  24. local creator = Instance.new('TextButton',frame)
  25. local prison = Instance.new('TextButton',frame)
  26. local garage = Instance.new('TextButton',frame)
  27.  
  28. -- Name object
  29. gui.Name = First GUI
  30. frame.Name = "Commands"
  31. open.Name = "Open"
  32. name.Name = "Name"
  33. arrest.Name = "ArrestButton"
  34. btools.Name = "BtoolsButton"
  35. escape.Name = "EscapeButton"
  36. exit.Name = "ExitButton"
  37. killaura.Name = "KillauraButton"
  38. melee.Name = "MeleeButton"
  39. removedoors.Name = "RemoveDoorsButton"
  40. tools.Name = "ToolsButton"
  41. speedplus.Name = "SpeedAdd"
  42. speedminus.Name = "SpeedReduce"
  43. jumpplus.Name = "JumpAdd"
  44. jumpminus.Name = "JumpReduce"
  45. bypass.Name = "Bypass"
  46. db.Name = "DisableBypass"
  47. floor.Name = "Floor"
  48. creator.Name = "CreatorName"
  49. prison.Name = "TPtoprison"
  50. garage.Name = "TPtogarage"
  51.  
  52. -- Object Visible
  53. frame.Visible = true
  54. open.Visible = false
  55. name.Visible = true
  56. arrest.Visible = true
  57. btools.Visible = true
  58. escape.Visible = true
  59. exit.Visible = true
  60. killaura.Visible = true
  61. melee.Visible = true
  62. removedoors.Visible = true
  63. tools.Visible = true
  64. speedplus.Visible = true
  65. speedminus.Visible = true
  66. jumpplus.Visible = true
  67. jumpminus.Visible = true
  68. bypass.Visible = true
  69. db.Visible = true
  70. floor.Visible = true
  71. creator.Visible = true
  72. prison.Visible = true
  73. garage.Visible = true
  74.  
  75. -- Background Color
  76. frame.BackgroundColor3 = Color3.new(255,255,255)
  77. open.BackgroundColor3 = Color3.new(105,105,105)
  78. name.BackgroundColor3 = Color3.new(255,255,255)
  79. arrest.BackgroundColor3 = Color3.new(0,255,0)
  80. btools.BackgroundColor3 = Color3.new(0,255,0)
  81. escape.BackgroundColor3 = Color3.new(0,255,0)
  82. exit.BackgroundColor3 = Color3.new(255,0,0)
  83. killaura.BackgroundColor3 = Color3.new(0,255,0)
  84. melee.BackgroundColor3 = Color3.new(0,255,0)
  85. removedoors.BackgroundColor3 = Color3.new(0,255,0)
  86. tools.BackgroundColor3 = Color3.new(0,255,0)
  87. speedplus.BackgroundColor3 = Color3.new(0,255,0)
  88. speedminus.BackgroundColor3 = Color3.new(0,255,0)
  89. jumpplus.BackgroundColor3 = Color3.new(0,255,0)
  90. jumpminus.BackgroundColor3 = Color3.new(0,255,0)
  91. bypass.BackgroundColor3 = Color3.new(0,255,0)
  92. db.BackgroundColor3 = Color3.new(0,255,0)
  93. floor.BackgroundColor3 = Color3.new(0,255,0)
  94. creator.BackgroundColor3 = Color3.new(169,169,169)
  95. prison.BackgroundColor3 = Color3.new(0,255,0)
  96. garage.BackgroundColor3 = Color3.new(0,255,0)
  97.  
  98. -- Background Transparency
  99. frame.BackgroundTransparency = 0.7
  100. open.BackgroundTransparency = 0.5
  101. name.BackgroundTransparency = 0.6
  102. arrest.BackgroundTransparency = 0
  103. btools.BackgroundTransparency = 0
  104. escape.BackgroundTransparency = 0
  105. exit.BackgroundTransparency = 0
  106. killaura.BackgroundTransparency = 0
  107. melee.BackgroundTransparency = 0
  108. removedoors.BackgroundTransparency = 0
  109. tools.BackgroundTransparency = 0
  110. speedplus.BackgroundTransparency = 0
  111. speedminus.BackgroundTransparency = 0
  112. jumpplus.BackgroundTransparency = 0
  113. jumpminus.BackgroundTransparency = 0
  114. bypass.BackgroundTransparency = 0
  115. db.BackgroundTransparency = 0
  116. floor.BackgroundTransparency = 0
  117. creator.BackgroundTransparency = 0
  118. prison.BackgroundTransparency = 0
  119. garage.BackgroundTransparency = 0
  120.  
  121. -- Objects Size
  122. frame.Size = UDim2.new(0,250,0,350)
  123. open.Size = UDim2.new(0,60,0,25)
  124. name.Size = UDim2.new(0,180,0,40)
  125. arrest.Size = UDim2.new(0.9,12,0,30)
  126. btools.Size = UDim2.new(0.9,12,0,30)
  127. escape.Size = UDim2.new(0.9,12,0,30)
  128. exit.Size = UDim2.new(0,50,0,40)
  129. killaura.Size = UDim2.new(0.9,12,0,30)
  130. melee.Size = UDim2.new(0.9,12,0,30)
  131. removedoors.Size = UDim2.new(0.9,12,0,30)
  132. tools.Size = UDim2.new(0.9,12,0,30)
  133. speedplus.Size = UDim2.new(0.9,12,0,30)
  134. speedminus.Size = UDim2.new(0.9,12,0,30)
  135. jumpplus.Size = UDim2.new(0.9,12,0,30)
  136. jumpminus.Size = UDim2.new(0.9,12,0,30)
  137. bypass.Size = UDim2.new(0.9,12,0,30)
  138. db.Size = UDim2.new(0.9,12,0,30)
  139. floor.Size = UDim2.new(0.9,12,0,30)
  140. creator.Size = UDim2.new(0.9,12,0,30)
  141. prison.Size = UDim2.new(0.9,12,0,30)
  142. garage.Size = UDim2.new(0.9,12,0,30)
  143.  
  144. -- Objects Position
  145. frame.Position = UDim2.new(0,5,0.4,0)
  146. open.Position = UDim2.new(0,0,0,0)
  147. name.Position = UDim2.new(0,0,0,0)
  148. arrest.Position = UDim2.new(0,0,0,320)
  149. btools.Position = UDim2.new(0,0,0,185)
  150. escape.Position = UDim2.new(0,0,0,230)
  151. exit.Position = UDim2.new(0,184,0,0)
  152. killaura.Position = UDim2.new(0,0,0,275)
  153. melee.Position = UDim2.new(0,0,0,140)
  154. removedoors.Position = UDim2.new(0,0,0,50)
  155. tools.Position = UDim2.new(0,0,0,95)
  156. speedplus.Position = UDim2.new(0,0,0,365)
  157. speedminus.Position = UDim2.new(0,0,0,410)
  158. jumpplus.Position = UDim2.new(0,0,0,455)
  159. jumpminus.Position = UDim2.new(0,0,0,500)
  160. bypass.Position = UDim2.new(0,0,0,545)
  161. db.Position = UDim2.new(0,0,0,590)
  162. floor.Position = UDim2.new(0,0,0,635)
  163. prison.Position = UDim2.new(0,0,0,680)
  164. garage.Position = UDim2.new(0,0,0,725)
  165. creator.Position = UDim2.new(0,0,0,770)
  166.  
  167. -- Objects Text Color
  168. open.TextColor3 = Color3.new(0,0,0)
  169. name.TextColor3 = Color3.new(0,0,0)
  170. arrest.TextColor3 = Color3.new(0,0,0)
  171. btools.TextColor3 = Color3.new(0,0,0)
  172. escape.TextColor3 = Color3.new(0,0,0)
  173. exit.TextColor3 = Color3.new(0,0,0)
  174. killaura.TextColor3 = Color3.new(0,0,0)
  175. melee.TextColor3 = Color3.new(0,0,0)
  176. removedoors.TextColor3 = Color3.new(0,0,0)
  177. tools.TextColor3 = Color3.new(0,0,0)
  178. speedplus.TextColor3 = Color3.new(0,0,0)
  179. speedminus.TextColor3 = Color3.new(0,0,0)
  180. jumpplus.TextColor3 = Color3.new(0,0,0)
  181. jumpminus.TextColor3 = Color3.new(0,0,0)
  182. bypass.TextColor3 = Color3.new(0,0,0)
  183. db.TextColor3 = Color3.new(0,0,0)
  184. floor.TextColor3 = Color3.new(0,0,0)
  185. creator.TextColor3 = Color3.new(0,0,0)
  186. prison.TextColor3 = Color3.new(0,0,0)
  187. garage.TextColor3 = Color3.new(0,0,0)
  188.  
  189. -- Object Font
  190. name.Font = 'Fantasy'
  191.  
  192. -- Object Text
  193. open.Text = 'Open'
  194. name.Text = 'Prison Life v2.0 Commands'
  195. arrest.Text = 'Arrest [Cops Only]'
  196. btools.Text = 'Give Btools'
  197. escape.Text = 'Escape The Prison'
  198. exit.Text = 'Exit'
  199. killaura.Text = 'Kill Aura [Danger]'
  200. melee.Text = 'Give Melee'
  201. removedoors.Text = 'Remove Doors'
  202. tools.Text = 'Give Guns'
  203. speedplus.Text = 'WalkSpeed + 10'
  204. speedminus.Text = 'WalkSpeed - 10'
  205. jumpplus.Text = 'JumpPower + 10'
  206. jumpminus.Text = 'JumpPower - 10'
  207. bypass.Text = 'Bypass Taser, Arrest [Cannot Punch]'
  208. db.Text = 'Disable Bypass Taser, Arrest'
  209. floor.Text = 'Click For Tools :)'
  210. creator.Text = made by FuZe_Bleed//Intromake
  211. prison.Text = 'Teleport to prison'
  212. garage.Text = 'Teleport to garage'
  213.  
  214. -- Object Text Scaled
  215. open.TextScaled = true
  216. name.TextScaled = true
  217. arrest.TextScaled = true
  218. btools.TextScaled = true
  219. escape.TextScaled = true
  220. exit.TextScaled = true
  221. killaura.TextScaled = true
  222. melee.TextScaled = true
  223. removedoors.TextScaled = true
  224. tools.TextScaled = true
  225. speedplus.TextScaled = true
  226. speedminus.TextScaled = true
  227. jumpplus.TextScaled = true
  228. jumpminus.TextScaled = true
  229. bypass.TextScaled = true
  230. db.TextScaled = true
  231. floor.TextScaled = true
  232. creator.TextScaled = true
  233. prison.TextScaled = true
  234. garage.TextScaled = true
  235.  
  236. -- Frame Moveable
  237. frame.Active = true
  238. frame.Draggable = true
  239.  
  240. -- Open Function
  241. open.MouseButton1Down:connect(function()
  242. frame.Visible = true
  243. frame:TweenPosition(UDim2.new(0,5,0.4,0), "Out", "Bounce",1 ,true)
  244. open.Visible = false
  245. open.Position = UDim2.new(0,0,0,0)
  246. end)
  247.  
  248. -- Close/Exit Function
  249. exit.MouseButton1Down:connect(function()
  250. frame:TweenPosition(UDim2.new(0.1,-400,0.4,0) , "Out", "Quad", 1, true)
  251. wait(1)
  252. frame.Visible = false
  253. wait(.1)
  254. open.Visible = true
  255. open:TweenPosition(UDim2.new(0,2,0.8,15), "Out", "Bounce",1 ,true)
  256. end)
  257.  
  258. -- Btools Function
  259. btools.MouseButton1Down:connect(function()
  260. Instance.new('HopperBin', game.Players.LocalPlayer.Backpack).BinType = 2
  261. Instance.new('HopperBin', game.Players.LocalPlayer.Backpack).BinType = 3
  262. Instance.new('HopperBin', game.Players.LocalPlayer.Backpack).BinType = 4
  263. loadstring(game:GetObjects('rbxassetid://552440069')[1].Source)()
  264. end)
  265.  
  266. -- Remove Doors Function
  267. removedoors.MouseButton1Down:connect(function()
  268. game.Workspace.Doors:Destroy()
  269. end)
  270.  
  271. -- Guns ;) tools.MouseButton1Down:connect(function()
  272. local weapons = {"Remington 870", "M9", "AK-47", "M4A1", "Riot Shield"}
  273. for i, v in pairs(game.Workspace["Prison_ITEMS"].giver:GetChildren()) do
  274. for j, k in pairs(weapons) do
  275. if v.Name == k then
  276. v:MoveTo(game.Players.LocalPlayer.Character.Torso.Position)
  277. end
  278. end
  279. end
  280. end)
  281.  
  282. -- Melee Function
  283. melee.MouseButton1Down:connect(function()
  284. local weapons = {"Crude Knife", "Sharpened stick", "Extendo mirror"}
  285. for i, v in pairs(game.ReplicatedStorage.Tools:GetChildren()) do
  286. for j, k in pairs(weapons) do
  287. if v.Name == k then
  288. v:Clone().Parent = game.Players.LocalPlayer.Backpack
  289. end
  290. end
  291. end
  292. end)
  293.  
  294. -- Escape Function
  295. escape.MouseButton1Down:connect(function()
  296. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(283, 72, 2213)
  297. end)
  298.  
  299. -- Kill Aura Function
  300. killaura.MouseButton1Down:connect(function()
  301. while wait(0.1) do
  302. for i, plr in pairs(game.Players:GetChildren()) do
  303. if plr.Name ~= game.Players.LocalPlayer.Name then
  304. for i = 1, 10 do
  305. game.ReplicatedStorage.meleeEvent:FireServer(plr)
  306. end
  307. end
  308. end
  309. end
  310. end)
  311.  
  312. -- Arrest Function
  313. local mouse = game.Players.LocalPlayer:GetMouse()
  314. local arrestEvent = game.Workspace.Remote.arrest
  315. mouse.Button1Down:connect(function()
  316. local obj = mouse.Target
  317. local response = arrestEvent:InvokeServer(obj)
  318. end)
  319.  
  320. -- WalkSpeed Increase
  321. speedplus.MouseButton1Down:connect(function()
  322. p.Character.Humanoid.WalkSpeed = p.Character.Humanoid.WalkSpeed + 10
  323. end)
  324.  
  325. -- WalkSpeed Decrease
  326. speedminus.MouseButton1Down:connect(function()
  327. p.Character.Humanoid.WalkSpeed = p.Character.Humanoid.WalkSpeed - 10
  328. end)
  329.  
  330. -- JumpPower Increase
  331. jumpplus.MouseButton1Down:connect(function()
  332. p.Character.Humanoid.JumpPower = p.Character.Humanoid.JumpPower + 10
  333. end)
  334.  
  335. -- JumpPower Decrease
  336. jumpminus.MouseButton1Down:connect(function()
  337. p.Character.Humanoid.JumpPower = p.Character.Humanoid.JumpPower - 10
  338. end)
  339.  
  340. -- Bypass Taser , Arrest
  341. bypass.MouseButton1Down:connect(function()
  342. game.Players.LocalPlayer.Character.ClientInputHandler.Disabled = true
  343. game.Players.LocalPlayer.CharacterAdded:connect(function()
  344. game.Workspace:WaitForChild(game.Players.LocalPlayer.Name)
  345. game.Players.LocalPlayer.Character.ClientInputHandler.Disabled = true
  346. end)
  347. local message = Instance.new("Message",game.Workspace)
  348. message.Text = 'Made by LeLx!'
  349. wait(2)
  350. message:Destroy()
  351. end)
  352.  
  353. -- Disable Bypass Taser , Arrest
  354. db.MouseButton1Down:connect(function()
  355. game.Players.LocalPlayer.Character.ClientInputHandler.Disabled = false
  356. game.Players.LocalPlayer.CharacterAdded:connect(function()
  357. game.Workspace:WaitForChild(game.Players.LocalPlayer.Name)
  358. game.Players.LocalPlayer.Character.ClientInputHandler.Disabled = false
  359. end)
  360. end)
  361.  
  362. -- Click For Tools :)
  363. floor.MouseButton1Down:connect(function()
  364. for i, v in pairs(game.Workspace["Prison_ITEMS"].single:GetChildren()) do
  365. v:MoveTo(game.Players.LocalPlayer.Character.Torso.Position)
  366. end
  367. end)
  368.  
  369. -- Prison Function
  370. prison.MouseButton1Down:connect(function()
  371. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(900, 97, 2400)
  372. end)
  373.  
  374. -- Garage Function
  375. garage.MouseButton1Down:connect(function()
  376. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-945, 97, 2050)
  377. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement