Another thing, since this a kindoff main menu that only appears when you join, you should parent the script to replicatedfirst and destroy it after it’s done.
Alternative snippet that meets your code standards. musicstop.Completed:Connect(function() music:Destroy() end)
After I put it into replicatedfirst and added that snippet of code you provided me everything works fine except the loading screen will not appear anymore. Instead, it’s a black screen until I load.