Advertisement
Guest User

Untitled

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