Literally it works, it plays, okay but when a player leaves the game and joins back literally it restarts and then the first song plays again, when the server is on like the third song, and it plays for that joined player, but the first song is playing again also as well, how do I fix this?
local l__Songs__1 = game.Workspace.Songs;
wait(0.1);
l__Songs__1.WalkMeHome.Playing = false;
script.Parent.SongName.Text = "Sub Zero - Lil Uzi Vert";
l__Songs__1.SubZero.Playing = true;
wait(120.084);
l__Songs__1.SubZero.Playing = false;
script.Parent.SongName.Text = "Slow Motion - Trey Songz";
l__Songs__1.SlowMotion.Playing = true;
wait(120.216);
l__Songs__1.SlowMotion.Playing = false;
script.Parent.SongName.Text = "Just For The Night - Chris Brown, Migos";
l__Songs__1.JustForTheNight.Playing = true;
wait(80.169);
l__Songs__1.JustForTheNight.Playing = false;
script.Parent.SongName.Text = "Jocelyn Flores";
l__Songs__1.JocelynFlores.Playing = true;
wait(117.472);
l__Songs__1.JocelynFlores.Playing = false;
script.Parent.SongName.Text = "Hotel - Kid Ink, Chris Brown";
l__Songs__1.Hotel.Playing = true;
wait(327.523);
l__Songs__1.Hotel.Playing = false;
script.Parent.SongName.Text = "Ariande Grande - No Tears Left To Cry";
l__Songs__1.NoTearsLeftToCry.Playing = true;
wait(208.143);
l__Songs__1.NoTearsLeftToCry.Playing = false;
script.Parent.SongName.Text = "XXXTENTACION - Up Like An Insomniac";
l__Songs__1.UpLikeAnInsomniac.Playing = true;
wait(87.536);
l__Songs__1.UpLikeAnInsomniac.Playing = false;
script.Parent.SongName.Text = "XXXTENTACION - Jocoleyn Flores";
l__Songs__1.JocoleynFlores.Playing = true;
wait(117.472);
l__Songs__1.JocoleynFlores.Playing = false;
script.Parent.SongName.Text = "21 Savage - Supply";
l__Songs__1.xSupply.Playing = true;
wait(84.816);
l__Songs__1.xSupply.Playing = false;
script.Parent.SongName.Text = "Frank Ocean ft TRAVI$ SCOTT - Lens V2";
l__Songs__1.LensV2.Playing = true;
wait(100);
l__Songs__1.LensV2.Playing = false;
script.Parent.Text = "Fat Joe - All The Way Up";
l__Songs__1.AllTheWayUp.Playing = true;
wait(195.291);
l__Songs__1.AllTheWayUp.Playing = false;
script.Parent.Text = "Daniel Caesar - Get You ft Kali Uchis";
l__Songs__1.GetYou.Playing = true;
wait(277.75999999999993);
l__Songs__1.GetYou.Playing = false;
script.Parent.SongName.Text = "The Fray - How To Save A Life (Nightcore)";
l__Songs__1.HowToSaveALife.Playing = true;
wait(76.79999999999971);
l__Songs__1.HowToSaveALife.Playing = false;
script.Parent.SongName.Text = "Nicki Minaj - Barbie Drip";
l__Songs__1.BarbieDrip.Playing = true;
wait(108.14799999999961);
l__Songs__1.BarbieDrip.Playing = false;
end;