local MarketPlaceService = game:GetService("MarketplaceService")
local Songs = {
5047192759, --REPLACE 12345 WITH YOUR SONG ID
4536620706,
5556910722
}
local SongObject = script.Parent.Song
local SongLabel = script.Parent.SongLabel
local SkipButton = script.Parent.SkipButton
local MuteButton = script.Parent.MuteButton
MuteButton.MouseButton1Click:Connect(function()
if SongObject.Volume == 0.5 then
SongObject.Volume = 0
else
SongObject.Volume = 0.5
end
end)
SkipButton.MouseButton1Click:Connect(function()
SongObject:Stop()
end)
while true do
for i = 1, #Songs do
local Song = Songs[i]
local SongInfo = MarketPlaceService:GetProductInfo(Song)
SongObject.SoundId = "rbxassetid://" .. Song
SongObject:Play()
SongLabel.Visible = true
SongLabel.Text = SongInfo.Name
repeat wait() until not SongObject.IsPlaying
end
end
COMMUNITY QUESTION
Is there a way I can change the pitch of the song for individual songs?
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.
