So this is the script :
debounce = false
function onTouched(hit)
if debounce == false then
debounce = true
local s = Instance.new("Sound")
s.Name = "Sound"
s.SoundId = "http://www.roblox.com/asset/?id=148101943"
s.Volume = 1
s.Looped = false
s.archivable = false
s.Parent = game.Workspace
wait(0)
s:play()
end
end
script.Parent.Touched:connect(onTouched)
It works for all people for example: Someone touches the music brick and it play for all players, but I want it to make play for the one who touched it. Local player.
Kthxbye.

1 comment
Insert the sound into the player's PlayerGui or Backpack and play it in there.