Basically, this script used to work. Basically, when you click a GUI, it enables the sound (AND OTHERS COULD HEAR IT). When you click the GUI again (turn it off), it stops.
Now, it only plays the sound for you and no one else can hear it. This is vital for the system I'm using it for. If someone could help, that'd be fantastic! (this is a local script, located inside of a GUI "text" button) If anyone has any ideas at all, please let me know?
local active = false
function click()
if active == false then
sound = Instance.new("Sound", game.Players.LocalPlayer.Character.Torso)
sound.SoundId = "http://www.roblox.com/asset/?id=147605033"
sound.Volume = 1
sound.Looped = true
sound:Play()
script.Parent.Selected = true
active = true
elseif active == true then
sound:Destroy()
script.Parent.Selected = false
active = false
end
end
script.Parent.MouseButton1Down:connect(click)

2 comments
Is FilteringEnabled set to true?
It is not.