Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Instances:
- local Boombox = Instance.new("ScreenGui")
- local Main = Instance.new("Frame")
- local Song = Instance.new("Sound")
- local Title = Instance.new("TextLabel")
- local SongID = Instance.new("Frame")
- local TextLabel = Instance.new("TextLabel")
- local TextButton = Instance.new("TextButton")
- local UICorner = Instance.new("UICorner")
- local TextBox = Instance.new("TextBox")
- local UICorner_2 = Instance.new("UICorner")
- local SongControls = Instance.new("Frame")
- local TextLabel_2 = Instance.new("TextLabel")
- local Play = Instance.new("ImageButton")
- local UICorner_3 = Instance.new("UICorner")
- local TextLabel_3 = Instance.new("TextLabel")
- local Pause = Instance.new("ImageButton")
- local UICorner_4 = Instance.new("UICorner")
- local TextLabel_4 = Instance.new("TextLabel")
- local Stop = Instance.new("ImageButton")
- local UICorner_5 = Instance.new("UICorner")
- local TextLabel_5 = Instance.new("TextLabel")
- local UICorner_6 = Instance.new("UICorner")
- local SongSettings = Instance.new("Frame")
- local TextLabel_6 = Instance.new("TextLabel")
- local Looped = Instance.new("Frame")
- local Toggle = Instance.new("Frame")
- local UICorner_7 = Instance.new("UICorner")
- local TextLabel_7 = Instance.new("TextLabel")
- local TextLabel_8 = Instance.new("TextLabel")
- local MainToggle = Instance.new("TextButton")
- local UICorner_8 = Instance.new("UICorner")
- local UICorner_9 = Instance.new("UICorner")
- local TextLabel_9 = Instance.new("TextLabel")
- local Author = Instance.new("TextLabel")
- local Toggle_2 = Instance.new("TextButton")
- local UICorner_10 = Instance.new("UICorner")
- --Properties:
- Boombox.Name = "Boombox"
- Boombox.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- Boombox.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- Main.Name = "Main"
- Main.Parent = Boombox
- Main.BackgroundColor3 = Color3.fromRGB(61, 61, 61)
- Main.BorderColor3 = Color3.fromRGB(0, 0, 0)
- Main.BorderSizePixel = 0
- Main.Position = UDim2.new(0.5, -242, 0.5, -122)
- Main.Size = UDim2.new(0, 485, 0, 244)
- Song.Name = "Song"
- Song.Parent = Main
- Title.Name = "Title"
- Title.Parent = Main
- Title.BackgroundColor3 = Color3.fromRGB(116, 116, 116)
- Title.BorderColor3 = Color3.fromRGB(0, 0, 0)
- Title.BorderSizePixel = 0
- Title.Size = UDim2.new(0, 485, 0, 23)
- Title.Font = Enum.Font.Gotham
- Title.Text = "Boombox Script"
- Title.TextColor3 = Color3.fromRGB(234, 234, 234)
- Title.TextScaled = true
- Title.TextSize = 14.000
- Title.TextWrapped = true
- SongID.Name = "SongID"
- SongID.Parent = Main
- SongID.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- SongID.BackgroundTransparency = 0.900
- SongID.BorderColor3 = Color3.fromRGB(0, 0, 0)
- SongID.BorderSizePixel = 0
- SongID.Position = UDim2.new(0, 0, 0.0942622945, 0)
- SongID.Size = UDim2.new(0, 233, 0, 64)
- TextLabel.Parent = SongID
- TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel.BackgroundTransparency = 1.000
- TextLabel.BorderColor3 = Color3.fromRGB(0, 0, 0)
- TextLabel.BorderSizePixel = 0
- TextLabel.Position = UDim2.new(0.0686695278, 0, -0.15625, 0)
- TextLabel.Size = UDim2.new(0, 200, 0, 50)
- TextLabel.Font = Enum.Font.Gotham
- TextLabel.Text = "Song ID:"
- TextLabel.TextColor3 = Color3.fromRGB(162, 162, 162)
- TextLabel.TextSize = 14.000
- TextButton.Parent = SongID
- TextButton.BackgroundColor3 = Color3.fromRGB(106, 106, 106)
- TextButton.BorderColor3 = Color3.fromRGB(0, 0, 0)
- TextButton.BorderSizePixel = 0
- TextButton.Position = UDim2.new(0.755364835, 0, 0.386608362, 0)
- TextButton.Size = UDim2.new(0, 41, 0, 29)
- TextButton.Font = Enum.Font.Gotham
- TextButton.Text = "Enter"
- TextButton.TextColor3 = Color3.fromRGB(177, 177, 177)
- TextButton.TextSize = 14.000
- TextButton.TextWrapped = true
- UICorner.Parent = TextButton
- TextBox.Parent = SongID
- TextBox.BackgroundColor3 = Color3.fromRGB(106, 106, 106)
- TextBox.BorderColor3 = Color3.fromRGB(0, 0, 0)
- TextBox.BorderSizePixel = 0
- TextBox.Position = UDim2.new(0.0686695278, 0, 0.386608362, 0)
- TextBox.Size = UDim2.new(0, 153, 0, 29)
- TextBox.Font = Enum.Font.SourceSans
- TextBox.PlaceholderText = "Input..."
- TextBox.Text = ""
- TextBox.TextColor3 = Color3.fromRGB(232, 232, 232)
- TextBox.TextSize = 14.000
- UICorner_2.Parent = TextBox
- SongControls.Name = "SongControls"
- SongControls.Parent = Main
- SongControls.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- SongControls.BackgroundTransparency = 0.900
- SongControls.BorderColor3 = Color3.fromRGB(0, 0, 0)
- SongControls.BorderSizePixel = 0
- SongControls.Position = UDim2.new(0, 0, 0.368852258, 0)
- SongControls.Size = UDim2.new(0, 233, 0, 154)
- TextLabel_2.Parent = SongControls
- TextLabel_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel_2.BackgroundTransparency = 1.000
- TextLabel_2.BorderColor3 = Color3.fromRGB(0, 0, 0)
- TextLabel_2.BorderSizePixel = 0
- TextLabel_2.Position = UDim2.new(0.0686695278, 0, -0.0198863633, 0)
- TextLabel_2.Size = UDim2.new(0, 200, 0, 50)
- TextLabel_2.Font = Enum.Font.Gotham
- TextLabel_2.Text = "Song Controls"
- TextLabel_2.TextColor3 = Color3.fromRGB(162, 162, 162)
- TextLabel_2.TextSize = 14.000
- Play.Name = "Play"
- Play.Parent = SongControls
- Play.BackgroundColor3 = Color3.fromRGB(188, 188, 188)
- Play.BackgroundTransparency = 1.000
- Play.BorderColor3 = Color3.fromRGB(0, 0, 0)
- Play.BorderSizePixel = 0
- Play.Position = UDim2.new(0.0686695278, 0, 0.344155848, 0)
- Play.Size = UDim2.new(0, 47, 0, 47)
- Play.Image = "rbxassetid://12099513379"
- UICorner_3.Parent = Play
- TextLabel_3.Parent = Play
- TextLabel_3.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel_3.BackgroundTransparency = 1.000
- TextLabel_3.BorderColor3 = Color3.fromRGB(0, 0, 0)
- TextLabel_3.BorderSizePixel = 0
- TextLabel_3.Position = UDim2.new(0, 0, 1, 0)
- TextLabel_3.Size = UDim2.new(0, 47, 0, 14)
- TextLabel_3.Font = Enum.Font.Gotham
- TextLabel_3.Text = "Play"
- TextLabel_3.TextColor3 = Color3.fromRGB(203, 203, 203)
- TextLabel_3.TextScaled = true
- TextLabel_3.TextSize = 14.000
- TextLabel_3.TextWrapped = true
- Pause.Name = "Pause"
- Pause.Parent = SongControls
- Pause.BackgroundColor3 = Color3.fromRGB(188, 188, 188)
- Pause.BackgroundTransparency = 1.000
- Pause.BorderColor3 = Color3.fromRGB(0, 0, 0)
- Pause.BorderSizePixel = 0
- Pause.Position = UDim2.new(0.394849777, 0, 0.344155848, 0)
- Pause.Size = UDim2.new(0, 47, 0, 47)
- Pause.Image = "rbxassetid://13980756617"
- UICorner_4.Parent = Pause
- TextLabel_4.Parent = Pause
- TextLabel_4.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel_4.BackgroundTransparency = 1.000
- TextLabel_4.BorderColor3 = Color3.fromRGB(0, 0, 0)
- TextLabel_4.BorderSizePixel = 0
- TextLabel_4.Position = UDim2.new(0.0212765951, 0, 1, 0)
- TextLabel_4.Size = UDim2.new(0, 47, 0, 14)
- TextLabel_4.Font = Enum.Font.Gotham
- TextLabel_4.Text = "Pause"
- TextLabel_4.TextColor3 = Color3.fromRGB(203, 203, 203)
- TextLabel_4.TextScaled = true
- TextLabel_4.TextSize = 14.000
- TextLabel_4.TextWrapped = true
- Stop.Name = "Stop"
- Stop.Parent = SongControls
- Stop.BackgroundColor3 = Color3.fromRGB(188, 188, 188)
- Stop.BackgroundTransparency = 1.000
- Stop.BorderColor3 = Color3.fromRGB(0, 0, 0)
- Stop.BorderSizePixel = 0
- Stop.Position = UDim2.new(0.725321889, 0, 0.344155848, 0)
- Stop.Size = UDim2.new(0, 47, 0, 47)
- Stop.Image = "rbxassetid://2282042316"
- UICorner_5.Parent = Stop
- TextLabel_5.Parent = Stop
- TextLabel_5.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel_5.BackgroundTransparency = 1.000
- TextLabel_5.BorderColor3 = Color3.fromRGB(0, 0, 0)
- TextLabel_5.BorderSizePixel = 0
- TextLabel_5.Position = UDim2.new(0.0212765951, 0, 1, 0)
- TextLabel_5.Size = UDim2.new(0, 47, 0, 14)
- TextLabel_5.Font = Enum.Font.Gotham
- TextLabel_5.Text = "Stop"
- TextLabel_5.TextColor3 = Color3.fromRGB(203, 203, 203)
- TextLabel_5.TextScaled = true
- TextLabel_5.TextSize = 14.000
- TextLabel_5.TextWrapped = true
- UICorner_6.Parent = Main
- SongSettings.Name = "SongSettings"
- SongSettings.Parent = Main
- SongSettings.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- SongSettings.BackgroundTransparency = 0.900
- SongSettings.BorderColor3 = Color3.fromRGB(0, 0, 0)
- SongSettings.BorderSizePixel = 0
- SongSettings.Position = UDim2.new(0.498969078, 0, 0.204917848, 0)
- SongSettings.Size = UDim2.new(0, 233, 0, 154)
- TextLabel_6.Parent = SongSettings
- TextLabel_6.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel_6.BackgroundTransparency = 1.000
- TextLabel_6.BorderColor3 = Color3.fromRGB(0, 0, 0)
- TextLabel_6.BorderSizePixel = 0
- TextLabel_6.Position = UDim2.new(0.0686695278, 0, -0.0198863633, 0)
- TextLabel_6.Size = UDim2.new(0, 200, 0, 50)
- TextLabel_6.Font = Enum.Font.Gotham
- TextLabel_6.Text = "Song Settings"
- TextLabel_6.TextColor3 = Color3.fromRGB(162, 162, 162)
- TextLabel_6.TextSize = 14.000
- Looped.Name = "Looped"
- Looped.Parent = SongSettings
- Looped.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Looped.BackgroundTransparency = 0.900
- Looped.BorderColor3 = Color3.fromRGB(0, 0, 0)
- Looped.BorderSizePixel = 0
- Looped.Position = UDim2.new(0.330472112, 0, 0.311282456, 0)
- Looped.Size = UDim2.new(0, 78, 0, 63)
- Toggle.Name = "Toggle"
- Toggle.Parent = Looped
- Toggle.BackgroundColor3 = Color3.fromRGB(153, 153, 153)
- Toggle.BorderColor3 = Color3.fromRGB(0, 0, 0)
- Toggle.BorderSizePixel = 0
- Toggle.Position = UDim2.new(0.115384616, 0, 0.45928064, 0)
- Toggle.Size = UDim2.new(0, 59, 0, 25)
- UICorner_7.CornerRadius = UDim.new(0, 30)
- UICorner_7.Parent = Toggle
- TextLabel_7.Parent = Toggle
- TextLabel_7.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel_7.BackgroundTransparency = 1.000
- TextLabel_7.BorderColor3 = Color3.fromRGB(0, 0, 0)
- TextLabel_7.BorderSizePixel = 0
- TextLabel_7.Size = UDim2.new(0, 31, 0, 25)
- TextLabel_7.Font = Enum.Font.Gotham
- TextLabel_7.Text = "On"
- TextLabel_7.TextColor3 = Color3.fromRGB(194, 194, 194)
- TextLabel_7.TextSize = 14.000
- TextLabel_8.Parent = Toggle
- TextLabel_8.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel_8.BackgroundTransparency = 1.000
- TextLabel_8.BorderColor3 = Color3.fromRGB(0, 0, 0)
- TextLabel_8.BorderSizePixel = 0
- TextLabel_8.Position = UDim2.new(0.440677971, 0, 0, 0)
- TextLabel_8.Size = UDim2.new(0, 31, 0, 25)
- TextLabel_8.Font = Enum.Font.Gotham
- TextLabel_8.Text = "Off"
- TextLabel_8.TextColor3 = Color3.fromRGB(194, 194, 194)
- TextLabel_8.TextSize = 14.000
- MainToggle.Name = "MainToggle"
- MainToggle.Parent = Toggle
- MainToggle.Active = false
- MainToggle.BackgroundColor3 = Color3.fromRGB(194, 194, 194)
- MainToggle.BorderColor3 = Color3.fromRGB(0, 0, 0)
- MainToggle.BorderSizePixel = 0
- MainToggle.Position = UDim2.new(0.525864422, 0, 0, 0)
- MainToggle.Selectable = false
- MainToggle.Size = UDim2.new(0, 27, 0, 25)
- MainToggle.Text = ""
- UICorner_8.CornerRadius = UDim.new(0, 10)
- UICorner_8.Parent = MainToggle
- UICorner_9.Parent = Looped
- TextLabel_9.Parent = Looped
- TextLabel_9.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel_9.BackgroundTransparency = 1.000
- TextLabel_9.BorderColor3 = Color3.fromRGB(0, 0, 0)
- TextLabel_9.BorderSizePixel = 0
- TextLabel_9.Position = UDim2.new(0.012820513, 0, 0.000947316468, 0)
- TextLabel_9.Size = UDim2.new(0, 77, 0, 22)
- TextLabel_9.Font = Enum.Font.Gotham
- TextLabel_9.Text = "Looped"
- TextLabel_9.TextColor3 = Color3.fromRGB(162, 162, 162)
- TextLabel_9.TextSize = 14.000
- Author.Name = "Author"
- Author.Parent = Main
- Author.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Author.BackgroundTransparency = 1.000
- Author.BorderColor3 = Color3.fromRGB(0, 0, 0)
- Author.BorderSizePixel = 0
- Author.Position = UDim2.new(0.480412364, 0, 0.885246098, 0)
- Author.Size = UDim2.new(0, 252, 0, 18)
- Author.Font = Enum.Font.Gotham
- Author.Text = "Made by NinjaMestre5000 with Roblox Studio + plugins"
- Author.TextColor3 = Color3.fromRGB(171, 171, 171)
- Author.TextScaled = true
- Author.TextSize = 14.000
- Author.TextWrapped = true
- Toggle_2.Name = "Toggle"
- Toggle_2.Parent = Boombox
- Toggle_2.BackgroundColor3 = Color3.fromRGB(106, 106, 106)
- Toggle_2.BorderColor3 = Color3.fromRGB(0, 0, 0)
- Toggle_2.BorderSizePixel = 0
- Toggle_2.Position = UDim2.new(-0.000897149963, 0, 0.476551712, 0)
- Toggle_2.Size = UDim2.new(0, 74, 0, 50)
- Toggle_2.Font = Enum.Font.Gotham
- Toggle_2.Text = "Boombox Toggle"
- Toggle_2.TextColor3 = Color3.fromRGB(182, 182, 182)
- Toggle_2.TextSize = 14.000
- Toggle_2.TextWrapped = true
- UICorner_10.Parent = Toggle_2
- -- Scripts:
- local function MMNNL_fake_script() -- Main.MainScript
- local script = Instance.new('LocalScript', Main)
- local main = script.Parent
- local looped = true
- local tweenService = game:GetService("TweenService")
- local visible = true
- local loopedAnims = {
- [true] = tweenService:Create(main.SongSettings.Looped.Toggle.MainToggle, TweenInfo.new(0.3), {Position = UDim2.new(0.526,0,0,0)}),
- [false] = tweenService:Create(main.SongSettings.Looped.Toggle.MainToggle, TweenInfo.new(0.3), {Position = UDim2.new(-0.017,0,0,0)})
- }
- main.SongID.TextButton.MouseButton1Click:Connect(function()
- main.Song.SoundId = "rbxassetid://"..main.SongID.TextBox.Text
- end)
- main.SongControls.Play.MouseButton1Click:Connect(function()
- main.Song.Playing = true
- end)
- main.SongControls.Pause.MouseButton1Click:Connect(function()
- main.Song:Pause()
- end)
- main.SongControls.Stop.MouseButton1Click:Connect(function()
- main.Song:Stop()
- end)
- main.SongSettings.Looped.Toggle.MainToggle.MouseButton1Click:Connect(function()
- looped = not looped
- loopedAnims[looped]:Play()
- main.Song.Looped = looped
- end)
- main.Parent.Toggle.MouseButton1Click:Connect(function()
- visible = not visible
- main.Visible = visible
- end)
- end
- coroutine.wrap(MMNNL_fake_script)()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement