So right now I have two bricks. One is indoors that contains this script and another is outdoors that contains this script, except that one is set to false.
script.Parent.Touched:connect(function(hit)
if hit.Parent:FindFirstChild('Humanoid') then
game.StarterGui.Music.EqualizerSoundEffect.Enabled = true
game.StarterGui.Rain.EqualizerSoundEffect.Enabled = true
end
end)
First of all, my goal is to enable the EqualizerSoundEffect that is under 2 sounds named "Music" and "Rain" which are currently placed under PlayerGui (I already have a local script under the PlayerGui that plays the music by the way).
BUT
My problem: The script just doesn't work and when I just have both of the sounds placed under Workspace and have it enabled from there, the EqualizerSoundEffect is enabled for everyone in the game, but I only want it to be enabled for the person entering a room.
I'm hoping someone can help me clear this up because I don't want to have to make my game single player just because I can't get a simple sound effect to only happen locally. Thanks.

3 comments
The sound is playing server sided, correct?
Alright
if you call the sounds from a local script they will play locally