Run it
Copy the script and paste it into your executor.
Players = :()
SoundService = :()
RunService = :()
UserInputService = :()
TweenService = :()
localPlayer = Players.LocalPlayer
SAVE_FILE_NAME =
musicPlayer = SoundService:()
musicPlayer
musicPlayer = .()
musicPlayer.Name =
musicPlayer.Volume =
musicPlayer.Parent = SoundService
playlists = {
[] = {},
}
currentPlaylistName =
currentTrackIndex =
isPlaying =
isLooping =
currentSpeedIndex =
speeds = {, , , , }
(seconds)
seconds seconds ~= seconds seconds == .huge
mins = .(seconds / )
secs = .(seconds % )
.(, mins, secs)
()
readfile isfile (SAVE_FILE_NAME)
success, decoded = (()
:():((SAVE_FILE_NAME))
)
success decoded playlists = decoded
()
writefile
(()
(SAVE_FILE_NAME, :():(playlists))
)
()
playerGui = localPlayer:()
playerGui:()
playerGui.RobloxSpotifyGuiV5:()
screenGui = .(, playerGui)
screenGui.Name =
screenGui.ResetOnSpawn =
mainFrame = .(, screenGui)
mainFrame.Size = .(, , , )
mainFrame.Position = .(, -, , -)
mainFrame.BackgroundColor3 = .(, , )
mainFrame.Active =
mainFrame.Draggable =
mainFrame.ClipsDescendants =
.(, mainFrame).CornerRadius = .(, )
topBar = .(, mainFrame)
topBar.Size = .(, , , )
topBar.BackgroundTransparency =
topBar.ZIndex =
logoLabel = .(, topBar)
logoLabel.Size = .(, , , )
logoLabel.Position = .(, , , )
logoLabel.BackgroundTransparency =
logoLabel.Text =
logoLabel.TextColor3 = .(, , )
logoLabel.TextSize =
logoLabel.Font = .Font.GothamBold
logoLabel.TextXAlignment = .TextXAlignment.Left
minimizeBtn = .(, topBar)
minimizeBtn.Size = .(, , , )
minimizeBtn.Position = .(, -, , )
minimizeBtn.BackgroundColor3 = .(, , )
minimizeBtn.Text =
minimizeBtn.TextColor3 = .(, , )
minimizeBtn.TextSize, minimizeBtn.Font = , .Font.GothamBold
.(, minimizeBtn).CornerRadius = .(, )
closeBtn = .(, topBar)
closeBtn.Size = .(, , , )
closeBtn.Position = .(, -, , )
closeBtn.BackgroundTransparency =
closeBtn.Text =
closeBtn.TextColor3 = .(, , )
closeBtn.TextSize =
closeBtn.Font = .Font.GothamBold
trackScroll = .(, mainFrame)
trackScroll.Size = .(, -, , )
trackScroll.Position = .(, , , )
trackScroll.BackgroundColor3 = .(, , )
trackScroll.BorderSizePixel =
trackScroll.AutomaticCanvasSize = .AutomaticSize.Y
.(, trackScroll).CornerRadius = .(, )
uiList = .(, trackScroll)
uiList.SortOrder = .SortOrder.LayoutOrder
uiList.Padding = .(, )
inputFrame = .(, mainFrame)
inputFrame.Size = .(, -, , )
inputFrame.Position = .(, , , )
inputFrame.BackgroundTransparency =
idTextBox = .(, inputFrame)
idTextBox.Size = .(, -, , )
idTextBox.BackgroundColor3 = .(, , )
idTextBox.PlaceholderText =
idTextBox.Text =
idTextBox.TextColor3 = .(, , )
idTextBox.TextSize =
idTextBox.Font = .Font.Gotham
.(, idTextBox).CornerRadius = .(, )
addBtn = .(, inputFrame)
addBtn.Size = .(, , , )
addBtn.Position = .(, , , )
addBtn.BackgroundColor3 = .(, , )
addBtn.Text =
addBtn.TextColor3 = .(, , )
addBtn.TextSize =
addBtn.Font = .Font.GothamBold
.(, addBtn).CornerRadius = .(, )
playerControlFrame = .(, mainFrame)
playerControlFrame.Size = .(, -, , )
playerControlFrame.Position = .(, , , )
playerControlFrame.BackgroundColor3 = .(, , )
.(, playerControlFrame).CornerRadius = .(, )
currentTrackLabel = .(, playerControlFrame)
currentTrackLabel.Size = .(, -, , )
currentTrackLabel.Position = .(, , , )
currentTrackLabel.BackgroundTransparency =
currentTrackLabel.Text =
currentTrackLabel.TextColor3 = .(, , )
currentTrackLabel.TextSize =
currentTrackLabel.Font = .Font.GothamBold
currentTrackLabel.TextXAlignment = .TextXAlignment.Left
progressBarBg = .(, playerControlFrame)
progressBarBg.Size = .(, -, , )
progressBarBg.Position = .(, , , )
progressBarBg.BackgroundColor3 = .(, , )
.(, progressBarBg).CornerRadius = .(, )
progressBarFill = .(, progressBarBg)
progressBarFill.Size = .(, , , )
progressBarFill.BackgroundColor3 = .(, , )
.(, progressBarFill).CornerRadius = .(, )
progressBtn = .(, progressBarBg)
progressBtn.Size = .(, , , )
progressBtn.BackgroundTransparency =
progressBtn.Text =
timerLabel = .(, playerControlFrame)
timerLabel.Size = .(, -, , )
timerLabel.Position = .(, , , )
timerLabel.BackgroundTransparency =
timerLabel.Text =
timerLabel.TextColor3 = .(, , )
timerLabel.TextSize =
timerLabel.Font = .Font.GothamMedium
btnBack = .(, playerControlFrame)
btnBack.Size = .(, , , )
btnBack.Position = .(, , , )
btnBack.BackgroundColor3 = .(, , )
btnBack.Text =
btnBack.TextColor3 = .(, , )
.(, btnBack).CornerRadius = .(, )
btnPlay = .(, playerControlFrame)
btnPlay.Size = .(, , , )
btnPlay.Position = .(, , , )
btnPlay.BackgroundColor3 = .(, , )
btnPlay.Text =
btnPlay.TextColor3 = .(, , )
btnPlay.TextSize, btnPlay.Font = , .Font.GothamBold
.(, btnPlay).CornerRadius = .(, )
btnNext = .(, playerControlFrame)
btnNext.Size = .(, , , )
btnNext.Position = .(, , , )
btnNext.BackgroundColor3 = .(, , )
btnNext.Text =
btnNext.TextColor3 = .(, , )
.(, btnNext).CornerRadius = .(, )
loopBtn = .(, playerControlFrame)
loopBtn.Size = .(, , , )
loopBtn.Position = .(, , , )
loopBtn.BackgroundColor3 = .(, , )
loopBtn.Text =
loopBtn.TextColor3 = .(, , )
loopBtn.TextSize =
loopBtn.Font = .Font.GothamBold
.(, loopBtn).CornerRadius = .(, )
speedBtn = .(, playerControlFrame)
speedBtn.Size = .(, , , )
speedBtn.Position = .(, , , )
speedBtn.BackgroundColor3 = .(, , )
speedBtn.Text =
speedBtn.TextColor3 = .(, , )
speedBtn.TextSize =
speedBtn.Font = .Font.GothamBold
.(, speedBtn).CornerRadius = .(, )
volLabel = .(, playerControlFrame)
volLabel.Size = .(, , , )
volLabel.Position = .(, , , )
volLabel.BackgroundTransparency =
volLabel.Text =
volLabel.TextColor3 = .(, , )
volLabel.TextSize =
volLabel.TextXAlignment = .TextXAlignment.Left
volDown = .(, playerControlFrame)
volDown.Size = .(, , , )
volDown.Position = .(, -, , )
volDown.BackgroundColor3 = .(, , )
volDown.Text =
volDown.TextColor3 = .(, , )
.(, volDown).CornerRadius = .(, )
volUp = .(, playerControlFrame)
volUp.Size = .(, , , )
volUp.Position = .(, -, , )
volUp.BackgroundColor3 = .(, , )
volUp.Text =
volUp.TextColor3 = .(, , )
.(, volUp).CornerRadius = .(, )
isMinimized =
minimizeBtn.MouseButton1Click:(()
isMinimized = isMinimized
targetSize = isMinimized .(, , , ) .(, , , )
tweenInfo = TweenInfo.(, .EasingStyle.Quad, .EasingDirection.Out)
tween = TweenService:(mainFrame, tweenInfo, {Size = targetSize})
tween:()
minimizeBtn.Text = isMinimized
)
closeBtn.MouseButton1Click:(() screenGui.Enabled = )
(index)
currentList = playlists[currentPlaylistName]
currentList #currentList ==
index < index = #currentList
index > #currentList index =
currentTrackIndex = index
trackId = currentList[index]
musicPlayer.SoundId = .. (trackId)
musicPlayer:()
isPlaying =
btnPlay.Text =
currentTrackLabel.Text = .. (trackId)
()
_, child (trackScroll:())
child:() child:()
currentList = playlists[currentPlaylistName]
i, trackId (currentList)
itemFrame = .(, trackScroll)
itemFrame.Size = .(, -, , )
itemFrame.BackgroundColor3 = .(, , )
.(, itemFrame).CornerRadius = .(, )
trackBtn = .(, itemFrame)
trackBtn.Size = .(, , , )
trackBtn.BackgroundTransparency =
trackBtn.Text = .. i .. .. (trackId)
trackBtn.TextColor3 = .(, , )
trackBtn.TextSize =
trackBtn.Font = .Font.Gotham
trackBtn.TextXAlignment = .TextXAlignment.Left
delBtn = .(, itemFrame)
delBtn.Size = .(, , , )
delBtn.Position = .(, -, , )
delBtn.BackgroundColor3 = .(, , )
delBtn.Text =
delBtn.TextColor3 = .(, , )
delBtn.TextSize =
.(, delBtn).CornerRadius = .(, )
trackBtn.MouseButton1Click:(() (i) )
delBtn.MouseButton1Click:(()
.(currentList, i)
()
()
)
addBtn.MouseButton1Click:(()
text = idTextBox.Text
id = (text)
id
currentList = playlists[currentPlaylistName]
_, existingId (currentList)
existingId == id
currentTrackLabel.Text =
.(currentList, id)
()
()
idTextBox.Text =
currentTrackLabel.Text = .. (id)
)
progressBtn.MouseButton1Click:(()
musicPlayer.TimeLength >
mousePos = UserInputService:().X
barAbsolutePos = progressBarBg.AbsolutePosition.X
barAbsoluteSize = progressBarBg.AbsoluteSize.X
relativeX = .((mousePos - barAbsolutePos) / barAbsoluteSize, , )
musicPlayer.TimePosition = relativeX * musicPlayer.TimeLength
)
RunService.RenderStepped:(()
musicPlayer.IsLoaded musicPlayer.TimeLength >
currentPos = musicPlayer.TimePosition
totalLen = musicPlayer.TimeLength
timerLabel.Text = (currentPos) .. .. (totalLen)
progressBarFill.Size = .(currentPos / totalLen, , , )
timerLabel.Text =
progressBarFill.Size = .(, , , )
)
musicPlayer.Ended:(()
isLooping
musicPlayer:()
(currentTrackIndex + )
)
btnPlay.MouseButton1Click:(()
musicPlayer.SoundId ==
isPlaying = isPlaying
isPlaying
musicPlayer:()
btnPlay.Text =
musicPlayer:()
btnPlay.Text =
)
btnNext.MouseButton1Click:(() (currentTrackIndex + ) )
btnBack.MouseButton1Click:(() (currentTrackIndex - ) )
loopBtn.MouseButton1Click:(()
isLooping = isLooping
loopBtn.Text = isLooping
loopBtn.TextColor3 = isLooping .(, , ) .(, , )
)
speedBtn.MouseButton1Click:(()
currentSpeedIndex = (currentSpeedIndex % #speeds) +
speed = speeds[currentSpeedIndex]
musicPlayer.PlaybackSpeed = speed
speedBtn.Text = .. (speed) ..
)
volUp.MouseButton1Click:(()
musicPlayer.Volume = .(musicPlayer.Volume + , , )
volLabel.Text = .. .(musicPlayer.Volume * ) ..
)
volDown.MouseButton1Click:(()
musicPlayer.Volume = .(musicPlayer.Volume - , , )
volLabel.Text = .. .(musicPlayer.Volume * ) ..
)
()
Spotify в роблокс слушайте свою музыку во время игры ведите id музыки и все

Universal