#Problem with SoundService playing local sound in module script

1 messages · Page 1 of 1 (latest)

torn cave
#

Hello, I'm trying to play a sound locally in a module script, which is executed through a serverscript with runcontext plugin. No audio is playing although everything else is functioning properly, no errors, I tried putting the sound audio under different parents and still not working. Can't find anything online so I'm asking here. Please help if you might know why, thanks in advance :)

rancid niche
torn cave
#

tried workspace tried screengui under coregui

#

i should also mention that ive tested with bindable events and they work, and the localscript is recieving the signal but the audio still isnt playing through :play

torn cave
#

ive concluded that most likely the audio isnt playing because the player cant hear it (which is a result in the parent object?) but still cannot find which objects i should be parenting the sound under. if anyone have still have any idea please reply, thx in advance again 🙏

rancid niche
#

Did you check the id?

rancid niche
torn cave
supple knollBOT
#

studio** You are now Level 1! **studio

torn cave
torn cave
# torn cave yeah they are

it supposed to work in both server and local scripts anyways im using this for a plugin so i dont think the environment really matters

#

although if it is limited to localscripts ive tried that too as mentioned above