Run it
Copy the script and paste it into your executor.
Players = :()
SoundService = :()
RunService = :()
UIS = :()
player = Players.LocalPlayer
gui = .()
gui.Parent = player:()
gui.ResetOnSpawn =
frame = .(, gui)
frame.Size = .(, )
frame.Position = .(, )
frame.BackgroundColor3 = .(,,)
toggleBtn = .(, gui)
toggleBtn.Size = .(,)
toggleBtn.Position = .(,)
toggleBtn.Text =
toggleBtn.TextScaled =
toggleBtn.Active =
toggleBtn.Draggable =
toggleBtn.BackgroundColor3 = .(,,)
toggleBtn.TextColor3 = .(,,)
toggleBtn.MouseButton1Click:(()
frame.Visible = frame.Visible
)
sound = .()
sound.Parent = SoundService
sound.Volume =
sound.Looped =
(text, size, pos)
b = .(, frame)
b.Size = size
b.Position = pos
b.Text = text
b.TextScaled =
b.BackgroundColor3 = .(,,)
b.TextColor3 = .(,,)
b
(placeholder, size, pos)
t = .(, frame)
t.Size = size
t.Position = pos
t.PlaceholderText = placeholder
t.Text =
t.TextScaled =
t.ClearTextOnFocus =
t.BackgroundColor3 = .(,,)
t.TextColor3 = .(,,)
t
(sec)
sec = .(sec)
sec < (sec)
.(sec/) .. .. .(, sec % )
(text)
.(text, )
m,s = text:()
((m) )* + ((s) )
(text)
songBox = (, .(,), .(,))
playBtn = (, .(,), .(,))
stopBtn = (, .(,), .(,))
loopBtn = (, .(,), .(,))
looping =
startBox = (, .(,), .(,))
startTime =
volumeLabel = .(, frame)
volumeLabel.Size = .(,)
volumeLabel.Position = .(,)
volumeLabel.BackgroundTransparency =
volumeLabel.TextScaled =
volumeLabel.TextColor3 = .(,,)
volumeLabel.Text =
volTrack = .(, frame)
volTrack.Size = .(,)
volTrack.Position = .(,)
volTrack.BackgroundColor3 = .(,,)
volKnob = .(, volTrack)
volKnob.Size = .(,)
volKnob.Position = .(,)
volKnob.BackgroundColor3 = .(,,)
timeLabel = .(, frame)
timeLabel.Size = .(,)
timeLabel.Position = .(,)
timeLabel.BackgroundTransparency =
timeLabel.TextScaled =
timeLabel.TextColor3 = .(,,)
timeLabel.Text =
scrubTrack = .(, frame)
scrubTrack.Size = .(,)
scrubTrack.Position = .(,)
scrubTrack.BackgroundColor3 = .(,,)
scrubKnob = .(, scrubTrack)
scrubKnob.Size = .(,)
scrubKnob.Position = .(,)
scrubKnob.BackgroundColor3 = .(,,)
rewindBtn = (, .(,), .(,))
skipBtn = (, .(,), .(,))
()
startTime = (startBox.Text)
sound.TimeLength >
sound.TimePosition = .(startTime, , sound.TimeLength)
playBtn.MouseButton1Click:(()
songBox.Text ==
sound.SoundId = .. songBox.Text
sound:()
sound:()
.()
()
)
stopBtn.MouseButton1Click:(()
sound:()
)
loopBtn.MouseButton1Click:(()
looping = looping
loopBtn.Text = looping
)
sound.Ended:(()
looping
sound:()
.()
()
)
skipBtn.MouseButton1Click:(()
sound.TimePosition = .(sound.TimePosition + , sound.TimeLength)
)
rewindBtn.MouseButton1Click:(()
sound.TimePosition = .(sound.TimePosition - , )
)
draggingVol, draggingScrub = ,
volKnob.InputBegan:((i)
i.UserInputType == .UserInputType.MouseButton1 i.UserInputType == .UserInputType.Touch
draggingVol =
)
scrubKnob.InputBegan:((i)
i.UserInputType == .UserInputType.MouseButton1 i.UserInputType == .UserInputType.Touch
draggingScrub =
)
UIS.InputEnded:((i)
i.UserInputType == .UserInputType.MouseButton1 i.UserInputType == .UserInputType.Touch
draggingVol =
draggingScrub =
)
RunService.RenderStepped:(()
draggingVol
x = .((UIS:().X - volTrack.AbsolutePosition.X) / volTrack.AbsoluteSize.X, , )
volKnob.Position = .(x - , )
vol = + (x * )
sound.Volume = vol
volumeLabel.Text = .(, vol)
draggingScrub sound.TimeLength >
x = .((UIS:().X - scrubTrack.AbsolutePosition.X) / scrubTrack.AbsoluteSize.X, , )
scrubKnob.Position = .(x - , )
sound.TimePosition = x * sound.TimeLength
sound.IsPlaying sound.TimeLength >
timeLabel.Text =
(sound.TimePosition) ..
..
(sound.TimeLength)
scrubKnob.Position = .(
sound.TimePosition / sound.TimeLength - ,
)
)Listen to music while you're playing

Universal