Advertisement
Guest User

Goomberson's Boombox Breaker V2

a guest
Aug 18th, 2019
213
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.08 KB | None | 0 0
  1. local BBV2 = Instance.new("ScreenGui")
  2. local Credit = Instance.new("TextLabel")
  3. local Frame = Instance.new("Frame")
  4. local Middle1 = Instance.new("Frame")
  5. local Thanos = Instance.new("TextButton")
  6. local Play = Instance.new("TextButton")
  7. local TPInput = Instance.new("TextBox")
  8. local ID = Instance.new("TextBox")
  9. local Exec = Instance.new("TextButton")
  10. local BottomBar = Instance.new("Frame")
  11. local TopBar = Instance.new("Frame")
  12. local TextLabel = Instance.new("TextLabel")
  13. local Minimize = Instance.new("TextButton")
  14. local Middle2 = Instance.new("Frame")
  15. local TPInput_2 = Instance.new("TextBox")
  16. local Name = Instance.new("TextBox")
  17. local Exec_2 = Instance.new("TextButton")
  18. local Log = Instance.new("TextButton")
  19. local boomboom = Instance.new("TextButton")
  20. local page1 = Instance.new("TextButton")
  21. local page2 = Instance.new("TextButton")
  22.  
  23. BBV2.Name = "BBV2"
  24. BBV2.Parent = game.CoreGui
  25. BBV2.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  26.  
  27. Frame.Parent = BBV2
  28. Frame.BackgroundColor3 = Color3.new(1, 1, 1)
  29. Frame.BackgroundTransparency = 1
  30. Frame.BorderSizePixel = 0
  31. Frame.Position = UDim2.new(0.106898695, 0, 0.323184997, 0)
  32. Frame.Size = UDim2.new(0, 233, 0, 121)
  33. Frame.Selectable = true
  34. Frame.Active = true
  35. Frame.Draggable = true
  36.  
  37. Middle1.Name = "Middle1"
  38. Middle1.Parent = Frame
  39. Middle1.BackgroundColor3 = Color3.new(0.352941, 0.352941, 0.352941)
  40. Middle1.BorderSizePixel = 0
  41. Middle1.Position = UDim2.new(0.0254123099, 0, 0.150802225, 0)
  42. Middle1.Size = UDim2.new(0, 220, 0, 101)
  43.  
  44. Thanos.Name = "Thanos"
  45. Thanos.Parent = Middle1
  46. Thanos.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  47. Thanos.BorderSizePixel = 0
  48. Thanos.Position = UDim2.new(0.0634796619, 0, 0.69524467, 0)
  49. Thanos.Size = UDim2.new(0, 60, 0, 23)
  50. Thanos.Font = Enum.Font.Code
  51. Thanos.Text = "Thanos"
  52. Thanos.TextColor3 = Color3.new(1, 1, 1)
  53. Thanos.TextSize = 14
  54. Thanos.MouseButton1Click:connect(function()
  55. for i,v in pairs(game.Players:GetChildren()) do
  56. if v.Name ~= game.Players.LocalPlayer.Name then
  57. for x,d in pairs(game.Workspace[v.Name]:GetDescendants()) do
  58. if d:IsA("Sound") then
  59. d.Playing = false
  60. end
  61. end
  62. end
  63. end
  64. end)
  65.  
  66. Play.Name = "Play"
  67. Play.Parent = Middle1
  68. Play.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  69. Play.BorderSizePixel = 0
  70. Play.Position = UDim2.new(0.0634796247, 0, 0.378413051, 0)
  71. Play.Size = UDim2.new(0, 60, 0, 23)
  72. Play.Font = Enum.Font.Code
  73. Play.Text = "Play"
  74. Play.TextColor3 = Color3.new(1, 1, 1)
  75. Play.TextSize = 14
  76. Play.MouseButton1Click:connect(function()
  77. local id = ID.Text
  78. local zeros = 50000
  79.  
  80. local me = game:GetService("Players").LocalPlayer.Character
  81. local remote
  82.  
  83. for i,v in next, me:children() do
  84. if v:IsA("Tool") and v:FindFirstChildOfClass("RemoteEvent") then
  85. remote = v:FindFirstChildOfClass("RemoteEvent")
  86. end
  87. end
  88.  
  89. id = ("0"):rep(zeros) .. id
  90.  
  91. remote:FireServer("PlaySong", id)
  92. print(id)
  93. game.Players.LocalPlayer.PlayerGui.ChooseSongGui.Frame.Visible = false
  94. end)
  95.  
  96. TPInput.Name = "TPInput"
  97. TPInput.Parent = Middle1
  98. TPInput.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  99. TPInput.BorderSizePixel = 0
  100. TPInput.Position = UDim2.new(0.395454526, 0, 0.0693069324, 0)
  101. TPInput.Size = UDim2.new(0, 109, 0, 23)
  102. TPInput.Font = Enum.Font.Code
  103. TPInput.Text = "Number"
  104. TPInput.TextColor3 = Color3.new(1, 1, 1)
  105. TPInput.TextSize = 14
  106.  
  107. ID.Name = "ID"
  108. ID.Parent = Middle1
  109. ID.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  110. ID.BorderSizePixel = 0
  111. ID.Position = UDim2.new(0.395454526, 0, 0.376237601, 0)
  112. ID.Size = UDim2.new(0, 109, 0, 23)
  113. ID.Font = Enum.Font.Code
  114. ID.Text = "ID"
  115. ID.TextColor3 = Color3.new(1, 1, 1)
  116. ID.TextSize = 14
  117.  
  118. Exec.Name = "Exec#"
  119. Exec.Parent = Middle1
  120. Exec.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  121. Exec.BorderSizePixel = 0
  122. Exec.Position = UDim2.new(0.0634796247, 0, 0.0705929697, 0)
  123. Exec.Size = UDim2.new(0, 60, 0, 23)
  124. Exec.Font = Enum.Font.Code
  125. Exec.Text = "Exec#"
  126. Exec.TextColor3 = Color3.new(1, 1, 1)
  127. Exec.TextSize = 14
  128. Exec.MouseButton1Down:connect(function()
  129. local LP = game:GetService'Players'.LocalPlayer
  130.  
  131. for _,v in pairs(LP.Character:GetDescendants()) do
  132. if v:IsA'Sound' then
  133. if v.IsPlaying then
  134. if v.Name ~= "Jumping" or v.Name ~= "FreeFalling" or v.Name ~= "Died" or v.Name ~= "Landing" or v.Name ~= "Splash" or v.Name ~= "Running" or v.Name ~= "Swimming" or v.Name ~= "Climbing" then
  135. v.TimePosition = TPInput.Text
  136. end
  137. end
  138. end
  139. end
  140. end)
  141.  
  142. BottomBar.Name = "BottomBar"
  143. BottomBar.Parent = Frame
  144. BottomBar.BackgroundColor3 = Color3.new(0.152941, 0.152941, 0.152941)
  145. BottomBar.BorderSizePixel = 0
  146. BottomBar.Position = UDim2.new(-0.0030923672, 0, 0.980549514, 0)
  147. BottomBar.Size = UDim2.new(0, 232, 0, 19)
  148.  
  149. TopBar.Name = "TopBar"
  150. TopBar.Parent = Frame
  151. TopBar.BackgroundColor3 = Color3.new(0.152941, 0.152941, 0.152941)
  152. TopBar.BorderSizePixel = 0
  153. TopBar.Position = UDim2.new(-0.00309236068, 0, -0.00285906834, 0)
  154. TopBar.Size = UDim2.new(0, 232, 0, 19)
  155.  
  156. TextLabel.Parent = TopBar
  157. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  158. TextLabel.BackgroundTransparency = 1
  159. TextLabel.Position = UDim2.new(0.19152236, 0, -0.0136817396, 0)
  160. TextLabel.Size = UDim2.new(0, 142, 0, 19)
  161. TextLabel.Font = Enum.Font.Code
  162. TextLabel.Text = "Boombox Breaker V2"
  163. TextLabel.TextColor3 = Color3.new(1, 1, 1)
  164. TextLabel.TextScaled = true
  165. TextLabel.TextSize = 14
  166. TextLabel.TextWrapped = true
  167.  
  168. Minimize.Name = "Minimize"
  169. Minimize.Parent = TopBar
  170. Minimize.BackgroundColor3 = Color3.new(1, 1, 1)
  171. Minimize.BackgroundTransparency = 1
  172. Minimize.BorderSizePixel = 0
  173. Minimize.Position = UDim2.new(0.913793087, 0, -0.0526315793, 0)
  174. Minimize.Size = UDim2.new(0, 20, 0, 20)
  175. Minimize.Font = Enum.Font.SourceSans
  176. Minimize.Text = "-"
  177. Minimize.TextColor3 = Color3.new(1, 1, 1)
  178. Minimize.TextScaled = true
  179. Minimize.TextSize = 14
  180. Minimize.TextWrapped = true
  181.  
  182. Credit.Name = "Credit"
  183. Credit.Parent = BottomBar
  184. Credit.BackgroundColor3 = Color3.new(1, 1, 1)
  185. Credit.BackgroundTransparency = 1
  186. Credit.Position = UDim2.new(0.19152236, 0, -0.0136817396, 0)
  187. Credit.Size = UDim2.new(0, 142, 0, 19)
  188. Credit.Font = Enum.Font.Code
  189. Credit.Text = ""
  190. Credit.TextColor3 = Color3.new(1, 1, 1)
  191. Credit.TextScaled = true
  192. Credit.TextSize = 3
  193. Credit.TextWrapped = true
  194.  
  195. Middle2.Name = "Middle2"
  196. Middle2.Parent = Frame
  197. Middle2.BackgroundColor3 = Color3.new(0.352941, 0.352941, 0.352941)
  198. Middle2.BorderSizePixel = 0
  199. Middle2.Position = UDim2.new(0.0254123099, 0, 0.150802225, 0)
  200. Middle2.Size = UDim2.new(0, 220, 0, 101)
  201. Middle2.Visible = false
  202.  
  203. TPInput_2.Name = "TPInput"
  204. TPInput_2.Parent = Middle2
  205. TPInput_2.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  206. TPInput_2.BorderSizePixel = 0
  207. TPInput_2.Position = UDim2.new(0.395454526, 0, 0.0693069324, 0)
  208. TPInput_2.Size = UDim2.new(0, 109, 0, 23)
  209. TPInput_2.Font = Enum.Font.Code
  210. TPInput_2.Text = "Number"
  211. TPInput_2.TextColor3 = Color3.new(1, 1, 1)
  212. TPInput_2.TextSize = 14
  213.  
  214. Name.Name = "Name"
  215. Name.Parent = Middle2
  216. Name.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  217. Name.BorderSizePixel = 0
  218. Name.Position = UDim2.new(0.395454526, 0, 0.376237601, 0)
  219. Name.Size = UDim2.new(0, 109, 0, 23)
  220. Name.Font = Enum.Font.Code
  221. Name.Text = "Name"
  222. Name.TextColor3 = Color3.new(1, 1, 1)
  223. Name.TextSize = 14
  224.  
  225. Exec_2.Name = "Exec#"
  226. Exec_2.Parent = Middle2
  227. Exec_2.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  228. Exec_2.BorderSizePixel = 0
  229. Exec_2.Position = UDim2.new(0.0634796247, 0, 0.0705929697, 0)
  230. Exec_2.Size = UDim2.new(0, 60, 0, 23)
  231. Exec_2.Font = Enum.Font.Code
  232. Exec_2.Text = "Exec#"
  233. Exec_2.TextColor3 = Color3.new(1, 1, 1)
  234. Exec_2.TextSize = 14
  235. Exec_2.MouseButton1Click:connect(function()
  236. local NA = Name.Text
  237. local WE = TPInput_2.Text
  238. for _,v in pairs(game.workspace[NA]:GetDescendants()) do
  239. if v:IsA'Sound' then
  240. if v.IsPlaying then
  241. if v.Name ~= "Jumping" or v.Name ~= "FreeFalling" or v.Name ~= "Died" or v.Name ~= "Landing" or v.Name ~= "Splash" or v.Name ~= "Running" or v.Name ~= "Swimming" or v.Name ~= "Climbing" then
  242. v.TimePosition = WE
  243. end
  244. end
  245. end
  246. end
  247. end)
  248.  
  249. Log.Name = "Log"
  250. Log.Parent = Middle2
  251. Log.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  252. Log.BorderSizePixel = 0
  253. Log.Position = UDim2.new(0.0634796247, 0, 0.684454322, 0)
  254. Log.Size = UDim2.new(0, 60, 0, 23)
  255. Log.Font = Enum.Font.Code
  256. Log.Text = "Log"
  257. Log.TextColor3 = Color3.new(1, 1, 1)
  258. Log.TextSize = 14
  259.  
  260. boomboom.Name = "boomboom"
  261. boomboom.Parent = Middle2
  262. boomboom.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  263. boomboom.BorderSizePixel = 0
  264. boomboom.Position = UDim2.new(0.0634796247, 0, 0.377523631, 0)
  265. boomboom.Size = UDim2.new(0, 60, 0, 23)
  266. boomboom.Font = Enum.Font.Code
  267. boomboom.Text = "Stop"
  268. boomboom.TextColor3 = Color3.new(1, 1, 1)
  269. boomboom.TextSize = 14
  270. boomboom.MouseButton1Click:connect(function()
  271. local NA = Name.Text
  272. for _,v in pairs(game.workspace[NA]:GetDescendants()) do
  273. if v:IsA'Sound' then
  274. if v.IsPlaying then
  275. if v.Name ~= "Jumping" or v.Name ~= "FreeFalling" or v.Name ~= "Died" or v.Name ~= "Landing" or v.Name ~= "Splash" or v.Name ~= "Running" or v.Name ~= "Swimming" or v.Name ~= "Climbing" then
  276. v.Playing = false
  277. end
  278. end
  279. end
  280. end
  281. end)
  282.  
  283. page1.Name = "page1"
  284. page1.Parent = Frame
  285. page1.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  286. page1.BorderSizePixel = 0
  287. page1.Position = UDim2.new(0.623817563, 0, 0.723996997, 0)
  288. page1.Size = UDim2.new(0, 23, 0, 23)
  289. page1.Font = Enum.Font.Code
  290. page1.Text = "<"
  291. page1.TextColor3 = Color3.new(1, 1, 1)
  292. page1.TextSize = 14
  293.  
  294. page2.Name = "page2"
  295. page2.Parent = Frame
  296. page2.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  297. page2.BorderSizePixel = 0
  298. page2.Position = UDim2.new(0.767180324, 0, 0.723996997, 0)
  299. page2.Size = UDim2.new(0, 23, 0, 23)
  300. page2.Font = Enum.Font.Code
  301. page2.Text = ">"
  302. page2.TextColor3 = Color3.new(1, 1, 1)
  303. page2.TextSize = 14
  304.  
  305.  
  306. Minimize.MouseButton1Down:connect(function()
  307. if open == true then
  308. if Middle1.Visible == true then
  309. Middle1.Visible = false
  310. BottomBar.Visible = false
  311. page1.Visible = false
  312. page2.Visible = false
  313. Minimize.Text = "+"
  314. open = false
  315. else
  316. Middle2.Visible = false
  317. BottomBar.Visible = false
  318. page1.Visible = false
  319. page2.Visible = false
  320. Minimize.Text = "+"
  321. open = false
  322. end
  323. else
  324. if Middle1.Visible == false then
  325. Middle1.Visible = true
  326. BottomBar.Visible = true
  327. page1.Visible = true
  328. page2.Visible = true
  329. Minimize.Text = "-"
  330. open = true
  331. else
  332. Middle2.Visible = true
  333. page1.Visible = true
  334. page2.Visible = true
  335. BottomBar.Visible = true
  336. Minimize.Text = "-"
  337. open = true
  338. end
  339. end
  340. end)
  341.  
  342. TPInput.FocusLost:connect(function()
  343. if TPInput.Text == "" or TPInput.Text == "asd" then
  344. TPInput.Text = "Number"
  345. end
  346. end)
  347.  
  348. ID.FocusLost:connect(function()
  349. if ID.Text == "" or TPInput.Text == "asd" then
  350. ID.Text = "ID"
  351. end
  352. end)
  353.  
  354. page1.MouseButton1Down:connect(function()
  355. Middle1.Visible = true
  356. Middle2.Visible = false
  357. end)
  358. page2.MouseButton1Down:connect(function()
  359. Middle1.Visible = false
  360. Middle2.Visible = true
  361. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement