for example when the game ends this "song" comes on for 30 sec.
local song = Workspace.WhereverYourSongIs function GameEnd() wait(30) song:Play() end
And don't add unrelated tags. It won't help your question get answered.