(I am just now getting into scripting, so it might be messy or unusual)
I have a TextButton in a ScreenGui that is only visible to me. This script is inside of the TextButton. Basically, it creates a sound into my head only (I'm using R15) and plays it when the TextButton is clicked by me, and it isn't working.
sound = Instance.new("Sound")
sound.Parent = game.Workspace.SheriffTaco.Head
sound.SoundId = "rbxassetid://846221985"
sound.MaxDistance = 500
sound.RollOffMode = "Linear"
sound.Volume = 10
script.Parent.MouseButton1Click:connect(function()
sound:Play()
end)

2 comments
The 2nd line (sound.Parent = game.Workspace.SheriffTaco.Head) won't work, I'm still learning too, but from my personal experience, you should set a variable for players plr = game.Players:Getplayers() first and then set the Parent thing. I might be wrong, but you should try it.
Okay, thanks