Advertisement
Wilkins1000

Untitled

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