Run it
Copy the script and paste it into your executor.
screenGui = .()
screenGui.Name =
screenGui.ResetOnSpawn =
screenGui.Parent = .Players.LocalPlayer:()
mainFrame = .()
mainFrame.Name =
mainFrame.Size = .(, , , )
mainFrame.Position = .(, -, , -)
mainFrame.BackgroundColor3 = .(, , )
mainFrame.BorderSizePixel =
mainFrame.ClipsDescendants =
mainFrame.Parent = screenGui
corner = .()
corner.CornerRadius = .(, )
corner.Parent = mainFrame
titleBar = .()
titleBar.Name =
titleBar.Size = .(, , , )
titleBar.BackgroundColor3 = .(, , )
titleBar.BorderSizePixel =
titleBar.Parent = mainFrame
titleCorner = .()
titleCorner.CornerRadius = .(, )
titleCorner.Parent = titleBar
titleLabel = .()
titleLabel.Size = .(, -, , )
titleLabel.Position = .(, , , )
titleLabel.BackgroundTransparency =
titleLabel.Text =
titleLabel.TextColor3 = .(, , )
titleLabel.TextSize =
titleLabel.Font = .Font.GothamBold
titleLabel.TextXAlignment = .TextXAlignment.Left
titleLabel.Parent = titleBar
minimizeBtn = .()
minimizeBtn.Size = .(, , , )
minimizeBtn.Position = .(, -, , -)
minimizeBtn.BackgroundColor3 = .(, , )
minimizeBtn.BorderSizePixel =
minimizeBtn.Text =
minimizeBtn.TextColor3 = .(, , )
minimizeBtn.TextSize =
minimizeBtn.Font = .Font.GothamBold
minimizeBtn.Parent = titleBar
minCorner = .()
minCorner.CornerRadius = .(, )
minCorner.Parent = minimizeBtn
closeBtn = .()
closeBtn.Size = .(, , , )
closeBtn.Position = .(, -, , -)
closeBtn.BackgroundColor3 = .(, , )
closeBtn.BorderSizePixel =
closeBtn.Text =
closeBtn.TextColor3 = .(, , )
closeBtn.TextSize =
closeBtn.Font = .Font.GothamBold
closeBtn.Parent = titleBar
closeCorner = .()
closeCorner.CornerRadius = .(, )
closeCorner.Parent = closeBtn
playlistContainer = .()
playlistContainer.Size = .(, -, , )
playlistContainer.Position = .(, , , )
playlistContainer.BackgroundColor3 = .(, , )
playlistContainer.BorderSizePixel =
playlistContainer.ScrollBarThickness =
playlistContainer.CanvasSize = .(, , , )
playlistContainer.Parent = mainFrame
playlistCorner = .()
playlistCorner.CornerRadius = .(, )
playlistCorner.Parent = playlistContainer
playlistLayout = .()
playlistLayout.Padding = .(, )
playlistLayout.SortOrder = .SortOrder.LayoutOrder
playlistLayout.Parent = playlistContainer
playlistPadding = .()
playlistPadding.PaddingTop = .(, )
playlistPadding.PaddingBottom = .(, )
playlistPadding.PaddingLeft = .(, )
playlistPadding.PaddingRight = .(, )
playlistPadding.Parent = playlistContainer
controlsContainer = .()
controlsContainer.Size = .(, -, , )
controlsContainer.Position = .(, , , )
controlsContainer.BackgroundTransparency =
controlsContainer.Parent = mainFrame
prevButton = .()
prevButton.Size = .(, , , )
prevButton.Position = .(, , , )
prevButton.BackgroundColor3 = .(, , )
prevButton.BorderSizePixel =
prevButton.Text =
prevButton.TextColor3 = .(, , )
prevButton.TextSize =
prevButton.Font = .Font.GothamBold
prevButton.Parent = controlsContainer
prevCorner = .()
prevCorner.CornerRadius = .(, )
prevCorner.Parent = prevButton
playButton = .()
playButton.Size = .(, , , )
playButton.Position = .(, -, , )
playButton.BackgroundColor3 = .(, , )
playButton.BorderSizePixel =
playButton.Text =
playButton.TextColor3 = .(, , )
playButton.TextSize =
playButton.Font = .Font.GothamBold
playButton.Parent = controlsContainer
playCorner = .()
playCorner.CornerRadius = .(, )
playCorner.Parent = playButton
nextButton = .()
nextButton.Size = .(, , , )
nextButton.Position = .(, -, , )
nextButton.BackgroundColor3 = .(, , )
nextButton.BorderSizePixel =
nextButton.Text =
nextButton.TextColor3 = .(, , )
nextButton.TextSize =
nextButton.Font = .Font.GothamBold
nextButton.Parent = controlsContainer
nextCorner = .()
nextCorner.CornerRadius = .(, )
nextCorner.Parent = nextButton
stopButton = .()
stopButton.Size = .(, , , )
stopButton.Position = .(, , , )
stopButton.BackgroundColor3 = .(, , )
stopButton.BorderSizePixel =
stopButton.Text =
stopButton.TextColor3 = .(, , )
stopButton.TextSize =
stopButton.Font = .Font.GothamBold
stopButton.Parent = controlsContainer
stopCorner = .()
stopCorner.CornerRadius = .(, )
stopCorner.Parent = stopButton
playlist = {
{name = , url = },
{name = , url = },
}
currentTrack =
sound =
isMinimized =
(index, trackData)
item = .()
item.Size = .(, -, , )
item.BackgroundColor3 = .(, , )
item.BorderSizePixel =
item.Parent = playlistContainer
itemCorner = .()
itemCorner.CornerRadius = .(, )
itemCorner.Parent = item
numberLabel = .()
numberLabel.Size = .(, , , )
numberLabel.Position = .(, , , )
numberLabel.BackgroundTransparency =
numberLabel.Text = (index)
numberLabel.TextColor3 = .(, , )
numberLabel.TextSize =
numberLabel.Font = .Font.GothamBold
numberLabel.Parent = item
nameLabel = .()
nameLabel.Size = .(, -, , )
nameLabel.Position = .(, , , )
nameLabel.BackgroundTransparency =
nameLabel.Text = trackData.name
nameLabel.TextColor3 = .(, , )
nameLabel.TextSize =
nameLabel.Font = .Font.Gotham
nameLabel.TextXAlignment = .TextXAlignment.Left
nameLabel.TextTruncate = .TextTruncate.AtEnd
nameLabel.Parent = item
playBtn = .()
playBtn.Size = .(, , , )
playBtn.Position = .(, -, , -)
playBtn.BackgroundColor3 = .(, , )
playBtn.BorderSizePixel =
playBtn.Text =
playBtn.TextColor3 = .(, , )
playBtn.TextSize =
playBtn.Font = .Font.GothamBold
playBtn.Parent = item
playBtnCorner = .()
playBtnCorner.CornerRadius = .(, )
playBtnCorner.Parent = playBtn
playBtn.MouseButton1Click:(()
currentTrack = index
(index)
)
item
(index)
index < index > #playlist
trackData = playlist[index]
sound
sound:()
sound:()
sound = .()
success, err = (()
titleLabel.Text = .. trackData.name
titleLabel.TextColor3 = .(, , )
( .. index .. , :(trackData.url))
sound.SoundId = ( .. index .. )
sound.Volume =
sound.Looped =
sound.Parent = .Players.LocalPlayer.Character:()
sound:()
titleLabel.Text = .. trackData.name
titleLabel.TextColor3 = .(, , )
playButton.Text =
)
success
titleLabel.Text = .. trackData.name
titleLabel.TextColor3 = .(, , )
()
titleLabel.Text =
titleLabel.TextColor3 = .(, , )
sound
sound.Ended:(()
currentTrack < #playlist
currentTrack = currentTrack +
(currentTrack)
)
playlistLayout:():(()
playlistContainer.CanvasSize = .(, , , playlistLayout.AbsoluteContentSize.Y + )
)
i, track (playlist)
(i, track)
dragging =
dragInput, mousePos, framePos
titleBar.InputBegan:((input)
input.UserInputType == .UserInputType.MouseButton1 input.UserInputType == .UserInputType.Touch
dragging =
mousePos = input.Position
framePos = mainFrame.Position
input.Changed:(()
input.UserInputState == .UserInputState.End
dragging =
)
)
titleBar.InputChanged:((input)
input.UserInputType == .UserInputType.MouseMovement input.UserInputType == .UserInputType.Touch
dragInput = input
)
:().InputChanged:((input)
input == dragInput dragging
delta = input.Position - mousePos
mainFrame.Position = .(
framePos.X.Scale,
framePos.X.Offset + delta.X,
framePos.Y.Scale,
framePos.Y.Offset + delta.Y
)
)
(button, normalColor, hoverColor)
button.MouseEnter:(()
button.BackgroundColor3 = hoverColor
)
button.MouseLeave:(()
button.BackgroundColor3 = normalColor
)
(playButton, .(, , ), .(, , ))
(stopButton, .(, , ), .(, , ))
(prevButton, .(, , ), .(, , ))
(nextButton, .(, , ), .(, , ))
(minimizeBtn, .(, , ), .(, , ))
(closeBtn, .(, , ), .(, , ))
playButton.MouseButton1Click:(()
sound sound.IsPlaying
sound:()
playButton.Text =
titleLabel.Text =
titleLabel.TextColor3 = .(, , )
sound
sound:()
playButton.Text =
titleLabel.Text = .. playlist[currentTrack].name
titleLabel.TextColor3 = .(, , )
(currentTrack)
)
stopButton.MouseButton1Click:(()
sound
sound:()
sound:()
sound =
playButton.Text =
titleLabel.Text =
titleLabel.TextColor3 = .(, , )
()
titleLabel.Text =
titleLabel.TextColor3 = .(, , )
)
prevButton.MouseButton1Click:(()
currentTrack >
currentTrack = currentTrack -
(currentTrack)
)
nextButton.MouseButton1Click:(()
currentTrack < #playlist
currentTrack = currentTrack +
(currentTrack)
)
minimizeBtn.MouseButton1Click:(()
isMinimized = isMinimized
isMinimized
mainFrame:(.(, , , ), .EasingDirection.Out, .EasingStyle.Quad, , )
minimizeBtn.Text =
mainFrame:(.(, , , ), .EasingDirection.Out, .EasingStyle.Quad, , )
minimizeBtn.Text =
)
closeBtn.MouseButton1Click:(()
sound
sound:()
sound:()
screenGui:()
)Loads code from the internet. It downloads more code when it runs (loadstring + HttpGet), which can change after it was posted. From: github.com.
Media players other than those using boombox tools How to Use Open YouTube -> go to YT Convert to mp3 -> Download the file -> Upload it to GitHub -> get the Raw link -> Then edit (The mp3 file will go to the executor workspace)