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 :)
#Problem with SoundService playing local sound in module script
1 messages · Page 1 of 1 (latest)
You need to parent the sound object.
tried that still didnt work
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
this is tested with modulescript firing bindableevent signal to a local script, different than the method i did in the image sent
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 🙏
Did you check the id?
All sounds must be clientsided.
yeah they are
** You are now Level 1! **
works while i play it using the button inside properties
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