Advertisement
Helgodxdd

Prisionlife

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