daily pastebin goal
95%
SHARE
TWEET

Untitled

a guest Feb 14th, 2018 76 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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.  
  18. -- Name object
  19. gui.Name = "Prison Life v2.0 GUI"
  20. frame.Name = "Commands"
  21. open.Name = "Open"
  22. name.Name = "Name"
  23. arrest.Name = "ArrestButton"
  24. btools.Name = "BtoolsButton"
  25. escape.Name = "EscapeButton"
  26. exit.Name = "ExitButton"
  27. killaura.Name = "KillauraButton"
  28. melee.Name = "MeleeButton"
  29. removedoors.Name = "RemoveDoorsButton"
  30. tools.Name = "ToolsButton"
  31.  
  32. -- Object Visible
  33. frame.Visible = true
  34. open.Visible = false
  35. name.Visible = true
  36. arrest.Visible = true
  37. btools.Visible = true
  38. escape.Visible = true
  39. exit.Visible = true
  40. killaura.Visible = true
  41. melee.Visible = true
  42. removedoors.Visible = true
  43. tools.Visible = true
  44.  
  45. -- Background Color
  46. frame.BackgroundColor3 = Color3.new(255,255,255)
  47. open.BackgroundColor3 = Color3.new(0,255,255)
  48. name.BackgroundColor3 = Color3.new(255,255,255)
  49. arrest.BackgroundColor3 = Color3.new(0,0,255)
  50. btools.BackgroundColor3 = Color3.new(0,0,255)
  51. escape.BackgroundColor3 = Color3.new(0,0,255)
  52. exit.BackgroundColor3 = Color3.new(255,0,0)
  53. killaura.BackgroundColor3 = Color3.new(0,0,255)
  54. melee.BackgroundColor3 = Color3.new(0,0,255)
  55. removedoors.BackgroundColor3 = Color3.new(0,0,255)
  56. tools.BackgroundColor3 = Color3.new(0,0,255)
  57.  
  58. -- Background Transparency
  59. frame.BackgroundTransparency = 0.5
  60. open.BackgroundTransparency = 0
  61. name.BackgroundTransparency = 0.6
  62. arrest.BackgroundTransparency = 0
  63. btools.BackgroundTransparency = 0
  64. escape.BackgroundTransparency = 0
  65. exit.BackgroundTransparency = 0
  66. killaura.BackgroundTransparency = 0
  67. melee.BackgroundTransparency = 0
  68. removedoors.BackgroundTransparency = 0
  69. tools.BackgroundTransparency = 0
  70.  
  71. -- Objects Size
  72. frame.Size = UDim2.new(0,250,0,300)
  73. open.Size = UDim2.new(0,80,0,30)
  74. name.Size = UDim2.new(0,180,0,40)
  75. arrest.Size = UDim2.new(0.9,12,0,30)
  76. btools.Size = UDim2.new(0.9,12,0,30)
  77. escape.Size = UDim2.new(0.9,12,0,30)
  78. exit.Size = UDim2.new(0,50,0,40)
  79. killaura.Size = UDim2.new(0.9,12,0,30)
  80. melee.Size = UDim2.new(0.9,12,0,30)
  81. removedoors.Size = UDim2.new(0.9,12,0,30)
  82. tools.Size = UDim2.new(0.9,12,0,30)
  83.  
  84. -- Objects Position
  85. frame.Position = UDim2.new(0,5,0.4,0)
  86. open.Position = UDim2.new(0,0,0,0)
  87. name.Position = UDim2.new(0,0,0,0)
  88. arrest.Position = UDim2.new(0,0,0,320)
  89. btools.Position = UDim2.new(0,0,0,185)
  90. escape.Position = UDim2.new(0,0,0,230)
  91. exit.Position = UDim2.new(0,184,0,0)
  92. killaura.Position = UDim2.new(0,0,0,275)
  93. melee.Position = UDim2.new(0,0,0,140)
  94. removedoors.Position = UDim2.new(0,0,0,50)
  95. tools.Position = UDim2.new(0,0,0,95)
  96.  
  97. -- Objects Text Color
  98. open.TextColor3 = Color3.new(0,0,0)
  99. name.TextColor3 = Color3.new(0,255,255)
  100. arrest.TextColor3 = Color3.new(0,0,0)
  101. btools.TextColor3 = Color3.new(0,0,0)
  102. escape.TextColor3 = Color3.new(0,0,0)
  103. exit.TextColor3 = Color3.new(0,0,0)
  104. killaura.TextColor3 = Color3.new(0,0,0)
  105. melee.TextColor3 = Color3.new(0,0,0)
  106. removedoors.TextColor3 = Color3.new(0,0,0)
  107. tools.TextColor3 = Color3.new(0,0,0)
  108.  
  109. -- Object Font
  110. name.Font = 'Fantasy'
  111.  
  112. -- Object Text
  113. open.Text = 'Open'
  114. name.Text = 'Prison Life v2.0 Commands'
  115. arrest.Text = 'Arrest [Cops Only]'
  116. btools.Text = 'Give Btools'
  117. escape.Text = 'Escape The Prison'
  118. exit.Text = 'Exit'
  119. killaura.Text = 'Kill Aura [Danger]'
  120. melee.Text = 'Give Melee'
  121. removedoors.Text = 'Remove Doors'
  122. tools.Text = 'Give Guns'
  123.  
  124. -- Object Text Scaled
  125. open.TextScaled = true
  126. name.TextScaled = true
  127. arrest.TextScaled = true
  128. btools.TextScaled = true
  129. escape.TextScaled = true
  130. exit.TextScaled = true
  131. killaura.TextScaled = true
  132. melee.TextScaled = true
  133. removedoors.TextScaled = true
  134. tools.TextScaled = true
  135.  
  136. -- Frame Moveable
  137. frame.Active = true
  138. frame.Draggable = true
  139.  
  140. -- Open Function
  141. open.MouseButton1Down:connect(function()
  142. frame.Visible = true
  143. frame:TweenPosition(UDim2.new(0,5,0.4,0), "Out", "Bounce",1 ,true)
  144. open.Visible = false
  145. open.Position = UDim2.new(0,0,0,0)
  146. end)
  147.  
  148. -- Close/Exit Function
  149. exit.MouseButton1Down:connect(function()
  150. frame:TweenPosition(UDim2.new(0.1,-400,0.4,0) , "Out", "Quad", 1, true)
  151.    wait(1)
  152. frame.Visible = false
  153.    wait(.1)
  154.    open.Visible = true
  155.    open:TweenPosition(UDim2.new(0,2,0.8,15), "Out", "Bounce",1 ,true)
  156. end)
  157.  
  158. -- Remove Doors Function
  159. removedoors.MouseButton1Down:connect(function()
  160. game.Workspace.Doors:Destroy()
  161.    local hint = Instance.new("Hint",game.Players.LocalPlayer.PlayerGui)
  162.    hint.Text = "[ Unique'S PRISON LIFE COMMANDS ]: SUCCESSFULLY REMOVED COP DOORS"
  163.    hint.Name = game.JobId
  164.    wait(3)
  165.    hint:Destroy()
  166. end)
  167.  
  168. -- Guns Function
  169. tools.MouseButton1Down:connect(function()
  170. local weapons = {"Remington 870", "M9", "AK-47", "M4A1", "Riot Shield"}
  171.    for i, v in pairs(game.Workspace["Prison_ITEMS"].giver:GetChildren()) do
  172.    for j, k in pairs(weapons) do
  173.    if v.Name == k then
  174.    v:MoveTo(game.Players.LocalPlayer.Character.Torso.Position)
  175.    end
  176.    end
  177.    end
  178.    local hint = Instance.new("Hint",game.Players.LocalPlayer.PlayerGui)
  179.    hint.Text = "[ Unique'S PRISON LIFE COMMANDS ]: SUCCESSFULLY SENT TOOLS TO LOCALPLAYER"
  180.    hint.Name = game.JobId
  181.    wait(3)
  182.    hint:Destroy()
  183. end)
  184.  
  185. -- Melee Function
  186. melee.MouseButton1Down:connect(function()
  187. local weapons = {"Crude Knife", "Sharpened stick", "Extendo mirror"}
  188.    for i, v in pairs(game.ReplicatedStorage.Tools:GetChildren()) do
  189.    for j, k in pairs(weapons) do
  190.    if v.Name == k then
  191.    v:Clone().Parent = game.Players.LocalPlayer.Backpack
  192.    end
  193.    end
  194.    end
  195.    local hint = Instance.new("Hint",game.Players.LocalPlayer.PlayerGui)
  196.    hint.Text = "[ Unique'S PRISON LIFE COMMANDS ]: SUCCESSFULLY SENT MELEE TOOLS TO LOCALPLAYER"
  197.    hint.Name = game.JobId
  198.    wait(3)
  199.    hint:Destroy()
  200. end)
  201.  
  202. -- Btools Function
  203. btools.MouseButton1Down:connect(function()
  204.    Instance.new('HopperBin', game.Players.LocalPlayer.Backpack).BinType = 2
  205.    Instance.new('HopperBin', game.Players.LocalPlayer.Backpack).BinType = 3
  206.    Instance.new('HopperBin', game.Players.LocalPlayer.Backpack).BinType = 4
  207.    loadstring(game:GetObjects('rbxassetid://552440069')[1].Source)()
  208. end)
  209.  
  210. -- Escape Function
  211. escape.MouseButton1Down:connect(function()
  212. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(283, 72, 2213)
  213.    local hint = Instance.new("Hint",game.Players.LocalPlayer.PlayerGui)
  214.    hint.Text = "[ Unique'S PRISON LIFE COMMANDS ]: SUCCESSFULLY ESCAPED LOCALPLAYER"
  215.    hint.Name = game.JobId
  216.    wait(3)
  217.    hint:Destroy()
  218. end)
  219.  
  220. -- Kill Aura Function
  221. killaura.MouseButton1Down:connect(function()
  222. while wait(0.1) do
  223.    for i, plr in pairs(game.Players:GetChildren()) do
  224.    if plr.Name ~= game.Players.LocalPlayer.Name then
  225.    for i = 1, 10 do
  226.    game.ReplicatedStorage.meleeEvent:FireServer(plr)
  227.    end
  228.    end
  229.    end
  230.    end
  231. end)
  232.  
  233. -- Arrest Function
  234.     local mouse = game.Players.LocalPlayer:GetMouse()
  235.     local arrestEvent = game.Workspace.Remote.arrest
  236.     mouse.Button1Down:connect(function()
  237.     local obj = mouse.Target
  238.     local response = arrestEvent:InvokeServer(obj)
  239.     end)
  240. RAW Paste Data
  241.  
  242. wait(1)
  243.  
  244. -- Local Player
  245. local p = game.Players.LocalPlayer
  246.  
  247. -- Instance Objects
  248. local gui = Instance.new('ScreenGui',p.PlayerGui)
  249. local frame = Instance.new('ScrollingFrame',gui)
  250. local open = Instance.new('TextButton',gui)
  251. local name = Instance.new('TextLabel',frame)
  252. local arrest = Instance.new('TextButton',frame)
  253. local btools = Instance.new('TextButton',frame)
  254. local escape = Instance.new('TextButton',frame)
  255. local exit = Instance.new('TextButton',frame)
  256. local killaura = Instance.new('TextButton',frame)
  257. local melee = Instance.new('TextButton',frame)
  258. local removedoors = Instance.new('TextButton',frame)
  259. local tools = Instance.new('TextButton',frame)
  260.  
  261. -- Name object
  262. gui.Name = "Prison Life v2.0 GUI"
  263. frame.Name = "Commands"
  264. open.Name = "Open"
  265. name.Name = "Name"
  266. arrest.Name = "ArrestButton"
  267. btools.Name = "BtoolsButton"
  268. escape.Name = "EscapeButton"
  269. exit.Name = "ExitButton"
  270. killaura.Name = "KillauraButton"
  271. melee.Name = "MeleeButton"
  272. removedoors.Name = "RemoveDoorsButton"
  273. tools.Name = "ToolsButton"
  274.  
  275. -- Object Visible
  276. frame.Visible = true
  277. open.Visible = false
  278. name.Visible = true
  279. arrest.Visible = true
  280. btools.Visible = true
  281. escape.Visible = true
  282. exit.Visible = true
  283. killaura.Visible = true
  284. melee.Visible = true
  285. removedoors.Visible = true
  286. tools.Visible = true
  287.  
  288. -- Background Color
  289. frame.BackgroundColor3 = Color3.new(255,255,255)
  290. open.BackgroundColor3 = Color3.new(0,255,255)
  291. name.BackgroundColor3 = Color3.new(255,255,255)
  292. arrest.BackgroundColor3 = Color3.new(0,0,255)
  293. btools.BackgroundColor3 = Color3.new(0,0,255)
  294. escape.BackgroundColor3 = Color3.new(0,0,255)
  295. exit.BackgroundColor3 = Color3.new(255,0,0)
  296. killaura.BackgroundColor3 = Color3.new(0,0,255)
  297. melee.BackgroundColor3 = Color3.new(0,0,255)
  298. removedoors.BackgroundColor3 = Color3.new(0,0,255)
  299. tools.BackgroundColor3 = Color3.new(0,0,255)
  300.  
  301. -- Background Transparency
  302. frame.BackgroundTransparency = 0.5
  303. open.BackgroundTransparency = 0
  304. name.BackgroundTransparency = 0.6
  305. arrest.BackgroundTransparency = 0
  306. btools.BackgroundTransparency = 0
  307. escape.BackgroundTransparency = 0
  308. exit.BackgroundTransparency = 0
  309. killaura.BackgroundTransparency = 0
  310. melee.BackgroundTransparency = 0
  311. removedoors.BackgroundTransparency = 0
  312. tools.BackgroundTransparency = 0
  313.  
  314. -- Objects Size
  315. frame.Size = UDim2.new(0,250,0,300)
  316. open.Size = UDim2.new(0,80,0,30)
  317. name.Size = UDim2.new(0,180,0,40)
  318. arrest.Size = UDim2.new(0.9,12,0,30)
  319. btools.Size = UDim2.new(0.9,12,0,30)
  320. escape.Size = UDim2.new(0.9,12,0,30)
  321. exit.Size = UDim2.new(0,50,0,40)
  322. killaura.Size = UDim2.new(0.9,12,0,30)
  323. melee.Size = UDim2.new(0.9,12,0,30)
  324. removedoors.Size = UDim2.new(0.9,12,0,30)
  325. tools.Size = UDim2.new(0.9,12,0,30)
  326.  
  327. -- Objects Position
  328. frame.Position = UDim2.new(0,5,0.4,0)
  329. open.Position = UDim2.new(0,0,0,0)
  330. name.Position = UDim2.new(0,0,0,0)
  331. arrest.Position = UDim2.new(0,0,0,320)
  332. btools.Position = UDim2.new(0,0,0,185)
  333. escape.Position = UDim2.new(0,0,0,230)
  334. exit.Position = UDim2.new(0,184,0,0)
  335. killaura.Position = UDim2.new(0,0,0,275)
  336. melee.Position = UDim2.new(0,0,0,140)
  337. removedoors.Position = UDim2.new(0,0,0,50)
  338. tools.Position = UDim2.new(0,0,0,95)
  339.  
  340. -- Objects Text Color
  341. open.TextColor3 = Color3.new(0,0,0)
  342. name.TextColor3 = Color3.new(0,255,255)
  343. arrest.TextColor3 = Color3.new(0,0,0)
  344. btools.TextColor3 = Color3.new(0,0,0)
  345. escape.TextColor3 = Color3.new(0,0,0)
  346. exit.TextColor3 = Color3.new(0,0,0)
  347. killaura.TextColor3 = Color3.new(0,0,0)
  348. melee.TextColor3 = Color3.new(0,0,0)
  349. removedoors.TextColor3 = Color3.new(0,0,0)
  350. tools.TextColor3 = Color3.new(0,0,0)
  351.  
  352. -- Object Font
  353. name.Font = 'Fantasy'
  354.  
  355. -- Object Text
  356. open.Text = 'Open'
  357. name.Text = 'Prison Life v2.0 Commands'
  358. arrest.Text = 'Arrest [Cops Only]'
  359. btools.Text = 'Give Btools'
  360. escape.Text = 'Escape The Prison'
  361. exit.Text = 'Exit'
  362. killaura.Text = 'Kill Aura [Danger]'
  363. melee.Text = 'Give Melee'
  364. removedoors.Text = 'Remove Doors'
  365. tools.Text = 'Give Guns'
  366.  
  367. -- Object Text Scaled
  368. open.TextScaled = true
  369. name.TextScaled = true
  370. arrest.TextScaled = true
  371. btools.TextScaled = true
  372. escape.TextScaled = true
  373. exit.TextScaled = true
  374. killaura.TextScaled = true
  375. melee.TextScaled = true
  376. removedoors.TextScaled = true
  377. tools.TextScaled = true
  378.  
  379. -- Frame Moveable
  380. frame.Active = true
  381. frame.Draggable = true
  382.  
  383. -- Open Function
  384. open.MouseButton1Down:connect(function()
  385. frame.Visible = true
  386. frame:TweenPosition(UDim2.new(0,5,0.4,0), "Out", "Bounce",1 ,true)
  387. open.Visible = false
  388. open.Position = UDim2.new(0,0,0,0)
  389. end)
  390.  
  391. -- Close/Exit Function
  392. exit.MouseButton1Down:connect(function()
  393. frame:TweenPosition(UDim2.new(0.1,-400,0.4,0) , "Out", "Quad", 1, true)
  394.    wait(1)
  395. frame.Visible = false
  396.    wait(.1)
  397.    open.Visible = true
  398.    open:TweenPosition(UDim2.new(0,2,0.8,15), "Out", "Bounce",1 ,true)
  399. end)
  400.  
  401. -- Remove Doors Function
  402. removedoors.MouseButton1Down:connect(function()
  403. game.Workspace.Doors:Destroy()
  404.    local hint = Instance.new("Hint",game.Players.LocalPlayer.PlayerGui)
  405.    hint.Text = "[ Unique'S PRISON LIFE COMMANDS ]: SUCCESSFULLY REMOVED COP DOORS"
  406.    hint.Name = game.JobId
  407.    wait(3)
  408.    hint:Destroy()
  409. end)
  410.  
  411. -- Guns Function
  412. tools.MouseButton1Down:connect(function()
  413. local weapons = {"Remington 870", "M9", "AK-47", "M4A1", "Riot Shield"}
  414.    for i, v in pairs(game.Workspace["Prison_ITEMS"].giver:GetChildren()) do
  415.    for j, k in pairs(weapons) do
  416.    if v.Name == k then
  417.    v:MoveTo(game.Players.LocalPlayer.Character.Torso.Position)
  418.    end
  419.    end
  420.    end
  421.    local hint = Instance.new("Hint",game.Players.LocalPlayer.PlayerGui)
  422.    hint.Text = "[ Unique'S PRISON LIFE COMMANDS ]: SUCCESSFULLY SENT TOOLS TO LOCALPLAYER"
  423.    hint.Name = game.JobId
  424.    wait(3)
  425.    hint:Destroy()
  426. end)
  427.  
  428. -- Melee Function
  429. melee.MouseButton1Down:connect(function()
  430. local weapons = {"Crude Knife", "Sharpened stick", "Extendo mirror"}
  431.    for i, v in pairs(game.ReplicatedStorage.Tools:GetChildren()) do
  432.    for j, k in pairs(weapons) do
  433.    if v.Name == k then
  434.    v:Clone().Parent = game.Players.LocalPlayer.Backpack
  435.    end
  436.    end
  437.    end
  438.    local hint = Instance.new("Hint",game.Players.LocalPlayer.PlayerGui)
  439.    hint.Text = "[ Unique'S PRISON LIFE COMMANDS ]: SUCCESSFULLY SENT MELEE TOOLS TO LOCALPLAYER"
  440.    hint.Name = game.JobId
  441.    wait(3)
  442.    hint:Destroy()
  443. end)
  444.  
  445. -- Btools Function
  446. btools.MouseButton1Down:connect(function()
  447.    Instance.new('HopperBin', game.Players.LocalPlayer.Backpack).BinType = 2
  448.    Instance.new('HopperBin', game.Players.LocalPlayer.Backpack).BinType = 3
  449.    Instance.new('HopperBin', game.Players.LocalPlayer.Backpack).BinType = 4
  450.    loadstring(game:GetObjects('rbxassetid://552440069')[1].Source)()
  451. end)
  452.  
  453. -- Escape Function
  454. escape.MouseButton1Down:connect(function()
  455. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(283, 72, 2213)
  456.    local hint = Instance.new("Hint",game.Players.LocalPlayer.PlayerGui)
  457.    hint.Text = "[ Unique'S PRISON LIFE COMMANDS ]: SUCCESSFULLY ESCAPED LOCALPLAYER"
  458.    hint.Name = game.JobId
  459.    wait(3)
  460.    hint:Destroy()
  461. end)
  462.  
  463. -- Kill Aura Function
  464. killaura.MouseButton1Down:connect(function()
  465. while wait(0.1) do
  466.    for i, plr in pairs(game.Players:GetChildren()) do
  467.    if plr.Name ~= game.Players.LocalPlayer.Name then
  468.    for i = 1, 10 do
  469.    game.ReplicatedStorage.meleeEvent:FireServer(plr)
  470.    end
  471.    end
  472.    end
  473.    end
  474. end)
  475.  
  476. -- Arrest Function
  477.     local mouse = game.Players.LocalPlayer:GetMouse()
  478.     local arrestEvent = game.Workspace.Remote.arrest
  479.     mouse.Button1Down:connect(function()
  480.     local obj = mouse.Target
  481.     local response = arrestEvent:InvokeServer(obj)
  482.     end)
RAW Paste Data
Top