local player = game.Players.LocalPlayer

while wait() do
	if player.leaderstats.Level.Value == 1 then
		game.Workspace.CalmMusic:Play()
	elseif player.leaderstats.Level.Value == 2 then
		game.Workspace.AdventureMusic:Play()
	end
end

Why win't this work, it should. I have the LocalScript inside the StarterGui, and the music in workspace. I want it to bea a different song every level but it dosent work please help.