How do I make a brick that plays sound when touched but it doesn't play the sound for other players as well? So, a sound plays when a brick is touched but only plays for that player.
COMMUNITY QUESTION
Scripting a brick that plays sound when touched?
1 answer
put the script inside the brick
-- main
script.parent.Touched:Connect(function() -- When part/brick is touched it will function the sound.
game.Workspace.Sound:Play() -- Plays sound, if you use the exact code call the sound "Sound"
end)
This discussion is preserved as it was. New answers, comments, and votes are closed.
