So for the past hour I've been trying to make a script which when a player joins it plays a little intro music piece locally. I suspect the error is in the player part but I'm not so sure.
local player = game.Players.LocalPlayer
local sound = game.Workspace.Intro
player.PlayerAdded:connnect(function()
sound:Play()
end)

2 comments
Or possibly the PlayerAdded part in the localscript.
You can’t use PlayerAdded on the LocalPlayer, it can only Fire on the actual Player Service, rewrite line one to: game.Players