Advertisement
MaxproGlitcher

Script Bombox béta .lua Max

Oct 15th, 2023
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.45 KB | None | 0 0
  1. -- Instances:
  2.  
  3. local Boombox = Instance.new("ScreenGui")
  4. local Main = Instance.new("Frame")
  5. local Song = Instance.new("Sound")
  6. local Title = Instance.new("TextLabel")
  7. local SongID = Instance.new("Frame")
  8. local TextLabel = Instance.new("TextLabel")
  9. local TextButton = Instance.new("TextButton")
  10. local UICorner = Instance.new("UICorner")
  11. local TextBox = Instance.new("TextBox")
  12. local UICorner_2 = Instance.new("UICorner")
  13. local SongControls = Instance.new("Frame")
  14. local TextLabel_2 = Instance.new("TextLabel")
  15. local Play = Instance.new("ImageButton")
  16. local UICorner_3 = Instance.new("UICorner")
  17. local TextLabel_3 = Instance.new("TextLabel")
  18. local Pause = Instance.new("ImageButton")
  19. local UICorner_4 = Instance.new("UICorner")
  20. local TextLabel_4 = Instance.new("TextLabel")
  21. local Stop = Instance.new("ImageButton")
  22. local UICorner_5 = Instance.new("UICorner")
  23. local TextLabel_5 = Instance.new("TextLabel")
  24. local UICorner_6 = Instance.new("UICorner")
  25. local SongSettings = Instance.new("Frame")
  26. local TextLabel_6 = Instance.new("TextLabel")
  27. local Looped = Instance.new("Frame")
  28. local Toggle = Instance.new("Frame")
  29. local UICorner_7 = Instance.new("UICorner")
  30. local TextLabel_7 = Instance.new("TextLabel")
  31. local TextLabel_8 = Instance.new("TextLabel")
  32. local MainToggle = Instance.new("TextButton")
  33. local UICorner_8 = Instance.new("UICorner")
  34. local UICorner_9 = Instance.new("UICorner")
  35. local TextLabel_9 = Instance.new("TextLabel")
  36. local Author = Instance.new("TextLabel")
  37. local Toggle_2 = Instance.new("TextButton")
  38. local UICorner_10 = Instance.new("UICorner")
  39.  
  40. --Properties:
  41.  
  42. Boombox.Name = "Boombox"
  43. Boombox.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  44. Boombox.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  45.  
  46. Main.Name = "Main"
  47. Main.Parent = Boombox
  48. Main.BackgroundColor3 = Color3.fromRGB(61, 61, 61)
  49. Main.BorderColor3 = Color3.fromRGB(0, 0, 0)
  50. Main.BorderSizePixel = 0
  51. Main.Position = UDim2.new(0.5, -242, 0.5, -122)
  52. Main.Size = UDim2.new(0, 485, 0, 244)
  53.  
  54. Song.Name = "Song"
  55. Song.Parent = Main
  56.  
  57. Title.Name = "Title"
  58. Title.Parent = Main
  59. Title.BackgroundColor3 = Color3.fromRGB(116, 116, 116)
  60. Title.BorderColor3 = Color3.fromRGB(0, 0, 0)
  61. Title.BorderSizePixel = 0
  62. Title.Size = UDim2.new(0, 485, 0, 23)
  63. Title.Font = Enum.Font.Gotham
  64. Title.Text = "Boombox Script"
  65. Title.TextColor3 = Color3.fromRGB(234, 234, 234)
  66. Title.TextScaled = true
  67. Title.TextSize = 14.000
  68. Title.TextWrapped = true
  69.  
  70. SongID.Name = "SongID"
  71. SongID.Parent = Main
  72. SongID.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  73. SongID.BackgroundTransparency = 0.900
  74. SongID.BorderColor3 = Color3.fromRGB(0, 0, 0)
  75. SongID.BorderSizePixel = 0
  76. SongID.Position = UDim2.new(0, 0, 0.0942622945, 0)
  77. SongID.Size = UDim2.new(0, 233, 0, 64)
  78.  
  79. TextLabel.Parent = SongID
  80. TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  81. TextLabel.BackgroundTransparency = 1.000
  82. TextLabel.BorderColor3 = Color3.fromRGB(0, 0, 0)
  83. TextLabel.BorderSizePixel = 0
  84. TextLabel.Position = UDim2.new(0.0686695278, 0, -0.15625, 0)
  85. TextLabel.Size = UDim2.new(0, 200, 0, 50)
  86. TextLabel.Font = Enum.Font.Gotham
  87. TextLabel.Text = "Song ID:"
  88. TextLabel.TextColor3 = Color3.fromRGB(162, 162, 162)
  89. TextLabel.TextSize = 14.000
  90.  
  91. TextButton.Parent = SongID
  92. TextButton.BackgroundColor3 = Color3.fromRGB(106, 106, 106)
  93. TextButton.BorderColor3 = Color3.fromRGB(0, 0, 0)
  94. TextButton.BorderSizePixel = 0
  95. TextButton.Position = UDim2.new(0.755364835, 0, 0.386608362, 0)
  96. TextButton.Size = UDim2.new(0, 41, 0, 29)
  97. TextButton.Font = Enum.Font.Gotham
  98. TextButton.Text = "Enter"
  99. TextButton.TextColor3 = Color3.fromRGB(177, 177, 177)
  100. TextButton.TextSize = 14.000
  101. TextButton.TextWrapped = true
  102.  
  103. UICorner.Parent = TextButton
  104.  
  105. TextBox.Parent = SongID
  106. TextBox.BackgroundColor3 = Color3.fromRGB(106, 106, 106)
  107. TextBox.BorderColor3 = Color3.fromRGB(0, 0, 0)
  108. TextBox.BorderSizePixel = 0
  109. TextBox.Position = UDim2.new(0.0686695278, 0, 0.386608362, 0)
  110. TextBox.Size = UDim2.new(0, 153, 0, 29)
  111. TextBox.Font = Enum.Font.SourceSans
  112. TextBox.PlaceholderText = "Input..."
  113. TextBox.Text = ""
  114. TextBox.TextColor3 = Color3.fromRGB(232, 232, 232)
  115. TextBox.TextSize = 14.000
  116.  
  117. UICorner_2.Parent = TextBox
  118.  
  119. SongControls.Name = "SongControls"
  120. SongControls.Parent = Main
  121. SongControls.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  122. SongControls.BackgroundTransparency = 0.900
  123. SongControls.BorderColor3 = Color3.fromRGB(0, 0, 0)
  124. SongControls.BorderSizePixel = 0
  125. SongControls.Position = UDim2.new(0, 0, 0.368852258, 0)
  126. SongControls.Size = UDim2.new(0, 233, 0, 154)
  127.  
  128. TextLabel_2.Parent = SongControls
  129. TextLabel_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  130. TextLabel_2.BackgroundTransparency = 1.000
  131. TextLabel_2.BorderColor3 = Color3.fromRGB(0, 0, 0)
  132. TextLabel_2.BorderSizePixel = 0
  133. TextLabel_2.Position = UDim2.new(0.0686695278, 0, -0.0198863633, 0)
  134. TextLabel_2.Size = UDim2.new(0, 200, 0, 50)
  135. TextLabel_2.Font = Enum.Font.Gotham
  136. TextLabel_2.Text = "Song Controls"
  137. TextLabel_2.TextColor3 = Color3.fromRGB(162, 162, 162)
  138. TextLabel_2.TextSize = 14.000
  139.  
  140. Play.Name = "Play"
  141. Play.Parent = SongControls
  142. Play.BackgroundColor3 = Color3.fromRGB(188, 188, 188)
  143. Play.BackgroundTransparency = 1.000
  144. Play.BorderColor3 = Color3.fromRGB(0, 0, 0)
  145. Play.BorderSizePixel = 0
  146. Play.Position = UDim2.new(0.0686695278, 0, 0.344155848, 0)
  147. Play.Size = UDim2.new(0, 47, 0, 47)
  148. Play.Image = "rbxassetid://12099513379"
  149.  
  150. UICorner_3.Parent = Play
  151.  
  152. TextLabel_3.Parent = Play
  153. TextLabel_3.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  154. TextLabel_3.BackgroundTransparency = 1.000
  155. TextLabel_3.BorderColor3 = Color3.fromRGB(0, 0, 0)
  156. TextLabel_3.BorderSizePixel = 0
  157. TextLabel_3.Position = UDim2.new(0, 0, 1, 0)
  158. TextLabel_3.Size = UDim2.new(0, 47, 0, 14)
  159. TextLabel_3.Font = Enum.Font.Gotham
  160. TextLabel_3.Text = "Play"
  161. TextLabel_3.TextColor3 = Color3.fromRGB(203, 203, 203)
  162. TextLabel_3.TextScaled = true
  163. TextLabel_3.TextSize = 14.000
  164. TextLabel_3.TextWrapped = true
  165.  
  166. Pause.Name = "Pause"
  167. Pause.Parent = SongControls
  168. Pause.BackgroundColor3 = Color3.fromRGB(188, 188, 188)
  169. Pause.BackgroundTransparency = 1.000
  170. Pause.BorderColor3 = Color3.fromRGB(0, 0, 0)
  171. Pause.BorderSizePixel = 0
  172. Pause.Position = UDim2.new(0.394849777, 0, 0.344155848, 0)
  173. Pause.Size = UDim2.new(0, 47, 0, 47)
  174. Pause.Image = "rbxassetid://13980756617"
  175.  
  176. UICorner_4.Parent = Pause
  177.  
  178. TextLabel_4.Parent = Pause
  179. TextLabel_4.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  180. TextLabel_4.BackgroundTransparency = 1.000
  181. TextLabel_4.BorderColor3 = Color3.fromRGB(0, 0, 0)
  182. TextLabel_4.BorderSizePixel = 0
  183. TextLabel_4.Position = UDim2.new(0.0212765951, 0, 1, 0)
  184. TextLabel_4.Size = UDim2.new(0, 47, 0, 14)
  185. TextLabel_4.Font = Enum.Font.Gotham
  186. TextLabel_4.Text = "Pause"
  187. TextLabel_4.TextColor3 = Color3.fromRGB(203, 203, 203)
  188. TextLabel_4.TextScaled = true
  189. TextLabel_4.TextSize = 14.000
  190. TextLabel_4.TextWrapped = true
  191.  
  192. Stop.Name = "Stop"
  193. Stop.Parent = SongControls
  194. Stop.BackgroundColor3 = Color3.fromRGB(188, 188, 188)
  195. Stop.BackgroundTransparency = 1.000
  196. Stop.BorderColor3 = Color3.fromRGB(0, 0, 0)
  197. Stop.BorderSizePixel = 0
  198. Stop.Position = UDim2.new(0.725321889, 0, 0.344155848, 0)
  199. Stop.Size = UDim2.new(0, 47, 0, 47)
  200. Stop.Image = "rbxassetid://2282042316"
  201.  
  202. UICorner_5.Parent = Stop
  203.  
  204. TextLabel_5.Parent = Stop
  205. TextLabel_5.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  206. TextLabel_5.BackgroundTransparency = 1.000
  207. TextLabel_5.BorderColor3 = Color3.fromRGB(0, 0, 0)
  208. TextLabel_5.BorderSizePixel = 0
  209. TextLabel_5.Position = UDim2.new(0.0212765951, 0, 1, 0)
  210. TextLabel_5.Size = UDim2.new(0, 47, 0, 14)
  211. TextLabel_5.Font = Enum.Font.Gotham
  212. TextLabel_5.Text = "Stop"
  213. TextLabel_5.TextColor3 = Color3.fromRGB(203, 203, 203)
  214. TextLabel_5.TextScaled = true
  215. TextLabel_5.TextSize = 14.000
  216. TextLabel_5.TextWrapped = true
  217.  
  218. UICorner_6.Parent = Main
  219.  
  220. SongSettings.Name = "SongSettings"
  221. SongSettings.Parent = Main
  222. SongSettings.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  223. SongSettings.BackgroundTransparency = 0.900
  224. SongSettings.BorderColor3 = Color3.fromRGB(0, 0, 0)
  225. SongSettings.BorderSizePixel = 0
  226. SongSettings.Position = UDim2.new(0.498969078, 0, 0.204917848, 0)
  227. SongSettings.Size = UDim2.new(0, 233, 0, 154)
  228.  
  229. TextLabel_6.Parent = SongSettings
  230. TextLabel_6.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  231. TextLabel_6.BackgroundTransparency = 1.000
  232. TextLabel_6.BorderColor3 = Color3.fromRGB(0, 0, 0)
  233. TextLabel_6.BorderSizePixel = 0
  234. TextLabel_6.Position = UDim2.new(0.0686695278, 0, -0.0198863633, 0)
  235. TextLabel_6.Size = UDim2.new(0, 200, 0, 50)
  236. TextLabel_6.Font = Enum.Font.Gotham
  237. TextLabel_6.Text = "Song Settings"
  238. TextLabel_6.TextColor3 = Color3.fromRGB(162, 162, 162)
  239. TextLabel_6.TextSize = 14.000
  240.  
  241. Looped.Name = "Looped"
  242. Looped.Parent = SongSettings
  243. Looped.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  244. Looped.BackgroundTransparency = 0.900
  245. Looped.BorderColor3 = Color3.fromRGB(0, 0, 0)
  246. Looped.BorderSizePixel = 0
  247. Looped.Position = UDim2.new(0.330472112, 0, 0.311282456, 0)
  248. Looped.Size = UDim2.new(0, 78, 0, 63)
  249.  
  250. Toggle.Name = "Toggle"
  251. Toggle.Parent = Looped
  252. Toggle.BackgroundColor3 = Color3.fromRGB(153, 153, 153)
  253. Toggle.BorderColor3 = Color3.fromRGB(0, 0, 0)
  254. Toggle.BorderSizePixel = 0
  255. Toggle.Position = UDim2.new(0.115384616, 0, 0.45928064, 0)
  256. Toggle.Size = UDim2.new(0, 59, 0, 25)
  257.  
  258. UICorner_7.CornerRadius = UDim.new(0, 30)
  259. UICorner_7.Parent = Toggle
  260.  
  261. TextLabel_7.Parent = Toggle
  262. TextLabel_7.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  263. TextLabel_7.BackgroundTransparency = 1.000
  264. TextLabel_7.BorderColor3 = Color3.fromRGB(0, 0, 0)
  265. TextLabel_7.BorderSizePixel = 0
  266. TextLabel_7.Size = UDim2.new(0, 31, 0, 25)
  267. TextLabel_7.Font = Enum.Font.Gotham
  268. TextLabel_7.Text = "On"
  269. TextLabel_7.TextColor3 = Color3.fromRGB(194, 194, 194)
  270. TextLabel_7.TextSize = 14.000
  271.  
  272. TextLabel_8.Parent = Toggle
  273. TextLabel_8.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  274. TextLabel_8.BackgroundTransparency = 1.000
  275. TextLabel_8.BorderColor3 = Color3.fromRGB(0, 0, 0)
  276. TextLabel_8.BorderSizePixel = 0
  277. TextLabel_8.Position = UDim2.new(0.440677971, 0, 0, 0)
  278. TextLabel_8.Size = UDim2.new(0, 31, 0, 25)
  279. TextLabel_8.Font = Enum.Font.Gotham
  280. TextLabel_8.Text = "Off"
  281. TextLabel_8.TextColor3 = Color3.fromRGB(194, 194, 194)
  282. TextLabel_8.TextSize = 14.000
  283.  
  284. MainToggle.Name = "MainToggle"
  285. MainToggle.Parent = Toggle
  286. MainToggle.Active = false
  287. MainToggle.BackgroundColor3 = Color3.fromRGB(194, 194, 194)
  288. MainToggle.BorderColor3 = Color3.fromRGB(0, 0, 0)
  289. MainToggle.BorderSizePixel = 0
  290. MainToggle.Position = UDim2.new(0.525864422, 0, 0, 0)
  291. MainToggle.Selectable = false
  292. MainToggle.Size = UDim2.new(0, 27, 0, 25)
  293. MainToggle.Text = ""
  294.  
  295. UICorner_8.CornerRadius = UDim.new(0, 10)
  296. UICorner_8.Parent = MainToggle
  297.  
  298. UICorner_9.Parent = Looped
  299.  
  300. TextLabel_9.Parent = Looped
  301. TextLabel_9.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  302. TextLabel_9.BackgroundTransparency = 1.000
  303. TextLabel_9.BorderColor3 = Color3.fromRGB(0, 0, 0)
  304. TextLabel_9.BorderSizePixel = 0
  305. TextLabel_9.Position = UDim2.new(0.012820513, 0, 0.000947316468, 0)
  306. TextLabel_9.Size = UDim2.new(0, 77, 0, 22)
  307. TextLabel_9.Font = Enum.Font.Gotham
  308. TextLabel_9.Text = "Looped"
  309. TextLabel_9.TextColor3 = Color3.fromRGB(162, 162, 162)
  310. TextLabel_9.TextSize = 14.000
  311.  
  312. Author.Name = "Author"
  313. Author.Parent = Main
  314. Author.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  315. Author.BackgroundTransparency = 1.000
  316. Author.BorderColor3 = Color3.fromRGB(0, 0, 0)
  317. Author.BorderSizePixel = 0
  318. Author.Position = UDim2.new(0.480412364, 0, 0.885246098, 0)
  319. Author.Size = UDim2.new(0, 252, 0, 18)
  320. Author.Font = Enum.Font.Gotham
  321. Author.Text = "Made by NinjaMestre5000 with Roblox Studio + plugins"
  322. Author.TextColor3 = Color3.fromRGB(171, 171, 171)
  323. Author.TextScaled = true
  324. Author.TextSize = 14.000
  325. Author.TextWrapped = true
  326.  
  327. Toggle_2.Name = "Toggle"
  328. Toggle_2.Parent = Boombox
  329. Toggle_2.BackgroundColor3 = Color3.fromRGB(106, 106, 106)
  330. Toggle_2.BorderColor3 = Color3.fromRGB(0, 0, 0)
  331. Toggle_2.BorderSizePixel = 0
  332. Toggle_2.Position = UDim2.new(-0.000897149963, 0, 0.476551712, 0)
  333. Toggle_2.Size = UDim2.new(0, 74, 0, 50)
  334. Toggle_2.Font = Enum.Font.Gotham
  335. Toggle_2.Text = "Boombox Toggle"
  336. Toggle_2.TextColor3 = Color3.fromRGB(182, 182, 182)
  337. Toggle_2.TextSize = 14.000
  338. Toggle_2.TextWrapped = true
  339.  
  340. UICorner_10.Parent = Toggle_2
  341.  
  342. -- Scripts:
  343.  
  344. local function MMNNL_fake_script() -- Main.MainScript
  345. local script = Instance.new('LocalScript', Main)
  346.  
  347. local main = script.Parent
  348. local looped = true
  349. local tweenService = game:GetService("TweenService")
  350. local visible = true
  351. local loopedAnims = {
  352. [true] = tweenService:Create(main.SongSettings.Looped.Toggle.MainToggle, TweenInfo.new(0.3), {Position = UDim2.new(0.526,0,0,0)}),
  353. [false] = tweenService:Create(main.SongSettings.Looped.Toggle.MainToggle, TweenInfo.new(0.3), {Position = UDim2.new(-0.017,0,0,0)})
  354. }
  355. main.SongID.TextButton.MouseButton1Click:Connect(function()
  356. main.Song.SoundId = "rbxassetid://"..main.SongID.TextBox.Text
  357. end)
  358. main.SongControls.Play.MouseButton1Click:Connect(function()
  359. main.Song.Playing = true
  360. end)
  361. main.SongControls.Pause.MouseButton1Click:Connect(function()
  362. main.Song:Pause()
  363. end)
  364. main.SongControls.Stop.MouseButton1Click:Connect(function()
  365. main.Song:Stop()
  366. end)
  367. main.SongSettings.Looped.Toggle.MainToggle.MouseButton1Click:Connect(function()
  368. looped = not looped
  369. loopedAnims[looped]:Play()
  370. main.Song.Looped = looped
  371. end)
  372. main.Parent.Toggle.MouseButton1Click:Connect(function()
  373. visible = not visible
  374. main.Visible = visible
  375. end)
  376. end
  377. coroutine.wrap(MMNNL_fake_script)()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement