I'm trying to make a script that will randomly select a song. RANDOMLY. The script keeps on choosing it in order. here's the script:

local Sound1 = script.Lucid
local Sound2 = script.DankTrain
local Sound3 = script.LikeItLikeThat

wait()math.random(1,3)

if 1 then
	print("Lucid")
	Sound1:Play()
	wait(88)
	Sound1:Stop()
end
if 2 then
	print("")
	Sound2:Play()
	wait()
	Sound2:Stop()
end

if 3 then
	print("LikeItLikeThat")
	Sound3:Play()
	Sound3.PlaybackSpeed = 0.9
	wait(257)
	Sound2:Stop()
end



1 comment