BINARYEXIT

Untitled

Jan 1st, 2020
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 12.18 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 Neutral = Instance.new('TextButton',frame)
  27.  
  28. -- Name object
  29. gui.Name = "Prison Life v2.0 GUI REMASTERED"
  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. Neutral.Name = "Neutral Team Switch"
  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. Neutral.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(255,255,255)
  80. btools.BackgroundColor3 = Color3.new(255,255,255)
  81. escape.BackgroundColor3 = Color3.new(255,255,255)
  82. exit.BackgroundColor3 = Color3.new(255,0,0)
  83. killaura.BackgroundColor3 = Color3.new(255,255,255)
  84. melee.BackgroundColor3 = Color3.new(255,255,255)
  85. removedoors.BackgroundColor3 = Color3.new(255,255,255)
  86. tools.BackgroundColor3 = Color3.new(255,255,255)
  87. speedplus.BackgroundColor3 = Color3.new(255,255,255)
  88. speedminus.BackgroundColor3 = Color3.new(255,255,255)
  89. jumpplus.BackgroundColor3 = Color3.new(255,255,255)
  90. jumpminus.BackgroundColor3 = Color3.new(255,255,255)
  91. bypass.BackgroundColor3 = Color3.new(255,255,255)
  92. db.BackgroundColor3 = Color3.new(255,255,255)
  93. floor.BackgroundColor3 = Color3.new(255,255,255)
  94. creator.BackgroundColor3 = Color3.new(169,169,169)
  95. prison.BackgroundColor3 = Color3.new(255,255,255)
  96. Neutral.BackgroundColor3 = Color3.new(255,255,255)
  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. Neutral.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. Neutral.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. Neutral.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. Neutral.TextColor3 = Color3.new(0,0,0)
  188.  
  189. -- Object Font
  190. name.Font = 'SciFi'
  191.  
  192. -- Object Text
  193. open.Text = 'Open'
  194. name.Text = 'Prison Life v2.0 Commands Remastered'
  195. arrest.Text = 'Click to Arrest'
  196. btools.Text = 'Give Btools'
  197. escape.Text = 'Escape The Prison'
  198. exit.Text = 'Exit'
  199. killaura.Text = 'Instant 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 = 'Enable Bypass[Cannot Punch]'
  208. db.Text = 'Disable Bypass'
  209. floor.Text = 'Get Tools on the floor'
  210. creator.Text = 'Made by BadlyNova'
  211. prison.Text = 'Teleport to prison'
  212. Neutral.Text = 'Neutral Team Switch'
  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. Neutral.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 Function
  272. tools.MouseButton1Down:connect(function()
  273. local weapons = {"Remington 870", "M9", "AK-47", "M4A1", "Riot Shield"}
  274.   for i, v in pairs(game.Workspace["Prison_ITEMS"].giver:GetChildren()) do
  275.   for j, k in pairs(weapons) do
  276.   if v.Name == k then
  277.   v:MoveTo(game.Players.LocalPlayer.Character.Torso.Position)
  278.   end
  279.   end
  280.   end
  281. end)
  282.  
  283. -- Melee Function
  284. melee.MouseButton1Down:connect(function()
  285. local weapons = {"Crude Knife", "Sharpened stick", "Extendo mirror"}
  286.   for i, v in pairs(game.ReplicatedStorage.Tools:GetChildren()) do
  287.   for j, k in pairs(weapons) do
  288.   if v.Name == k then
  289.   v:Clone().Parent = game.Players.LocalPlayer.Backpack
  290.   end
  291.   end
  292.   end
  293. end)
  294.  
  295. -- Escape Function
  296. escape.MouseButton1Down:connect(function()
  297. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(283, 72, 2213)
  298. end)
  299.  
  300. -- Kill Aura Function
  301. killaura.MouseButton1Down:connect(function()
  302. while wait(0.1) do
  303.   for i, plr in pairs(game.Players:GetChildren()) do
  304.   if plr.Name ~= game.Players.LocalPlayer.Name then
  305.   for i = 1, 10 do
  306.   game.ReplicatedStorage.meleeEvent:FireServer(plr)
  307.   end
  308.   end
  309.   end
  310.   end
  311. end)
  312.  
  313. -- Arrest Function
  314.    local mouse = game.Players.LocalPlayer:GetMouse()
  315.    local arrestEvent = game.Workspace.Remote.arrest
  316.    mouse.Button1Down:connect(function()
  317.    local obj = mouse.Target
  318.    local response = arrestEvent:InvokeServer(obj)
  319.    end)
  320.    
  321. -- WalkSpeed Increase
  322. speedplus.MouseButton1Down:connect(function()
  323. p.Character.Humanoid.WalkSpeed = p.Character.Humanoid.WalkSpeed + 10
  324. end)
  325.  
  326. -- WalkSpeed Decrease
  327. speedminus.MouseButton1Down:connect(function()
  328. p.Character.Humanoid.WalkSpeed = p.Character.Humanoid.WalkSpeed - 10
  329. end)
  330.  
  331. -- JumpPower Increase
  332. jumpplus.MouseButton1Down:connect(function()
  333. p.Character.Humanoid.JumpPower = p.Character.Humanoid.JumpPower + 10
  334. end)
  335.  
  336. -- JumpPower Decrease
  337. jumpminus.MouseButton1Down:connect(function()
  338. p.Character.Humanoid.JumpPower = p.Character.Humanoid.JumpPower - 10
  339. end)
  340.  
  341. -- Bypass Taser , Arrest
  342. bypass.MouseButton1Down:connect(function()
  343. game.Players.LocalPlayer.Character.ClientInputHandler.Disabled = true
  344.    game.Players.LocalPlayer.CharacterAdded:connect(function()
  345.    game.Workspace:WaitForChild(game.Players.LocalPlayer.Name)
  346.    game.Players.LocalPlayer.Character.ClientInputHandler.Disabled = true
  347.    end)
  348.    local message = Instance.new("Message",game.Workspace)
  349.    message.Text = 'By TIFANI MAYUMI'
  350.    wait(2)
  351.    message:Destroy()
  352. end)
  353.  
  354. -- Disable Bypass Taser , Arrest
  355. db.MouseButton1Down:connect(function()
  356. game.Players.LocalPlayer.Character.ClientInputHandler.Disabled = false
  357.    game.Players.LocalPlayer.CharacterAdded:connect(function()
  358.    game.Workspace:WaitForChild(game.Players.LocalPlayer.Name)
  359.    game.Players.LocalPlayer.Character.ClientInputHandler.Disabled = false
  360.    end)
  361. end)
  362.  
  363. -- Get Tools On the Floor
  364. floor.MouseButton1Down:connect(function()
  365.   for i, v in pairs(game.Workspace["Prison_ITEMS"].single:GetChildren()) do
  366.   v:MoveTo(game.Players.LocalPlayer.Character.Torso.Position)
  367.   end
  368. end)
  369.  
  370. -- Prison Function
  371. prison.MouseButton1Down:connect(function()
  372. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(900, 97, 2400)
  373. end)
  374.  
  375. -- Neutral Function
  376. Neutral.MouseButton1Down:connect(function()
  377. Workspace.Remote.TeamEvent:FireServer("Medium stone grey")
  378. end)
Add Comment
Please, Sign In to add comment