Firstly, why would you put a sound inside StarterPlayerScripts which is intended for scripts for the player and Id isnt just three dots or its a placeholder for a ID. You could make this play locally by playing the Sound on a local script and parent the sound to StarterGui so it would play locally.
local player = game.Players.LocalPlayer
local sound = Instance.new("Sound")
sound.SoundId = "rbxassetid://"..
sound.Parent = player.PlayerGui
sound:Play()
also this would have to be a local script since you can only access LocalPlayer on a LocalScript.
NOTE the parent parameter of Instance.new() is deprecated, just set the parent last.
1 comment
If you want it to just play for you, you'd have to make the script local.