I want someone to touch the 'trigger' then a new sound is made and put in the players StarterGui so it plays only for them, but I don't want the sound to play another time for the player,I only want it to play once then the brick can identify who has gone through and who hasn't so the sound can't play a second time! I would like to have a debounce in it aswell, but I don't understand how to do it? Here is what I have so far:
function onTouched(Part)
local SoundMaker = Instance.new("Sound", game.StarterGui)
SoundMaker.SoundId = ("http://www.roblox.com/asset/?id = 156637449")
local Sound = game.StarterGui.Sound
Sound:Play()
end
Much appreciated if anyone can help? :)

2 comments
16:44:48.336 - Workspace.Part.Script:9: ')' expected (to close '(' at line 1) near ''
Wait the sound is playing!