My sounds not playing I tried with all ways and nothing at all

Hello I have problem with my script that is not playing sounds, so currently the script is very fine its just refusing to play sounds

Here is the script:

Not my script but I think no need to change it cause its working else than this sounds

I hired two scripts they did not even know what is the problem the sounds have MaxDistance 10k and volume .8 I even tried printing the soundid in game and it was still exist but no luck in trying to make it playing I even tried putting warn() in the same line but still no luck I even tried in the game itself did not work too, and I’ve double check my PC volume it was high and I was hearing other sounds that I’ve put **they were playing randomly cause its like a horror game but the sounds don’t play with the sounds

it seems kind of strange, maybe you should put the sound id in an actual sound file, reference it, and then play it.

should be something like this:

local d = Script.Parent – referencing the sound file
d:Play()

if the issue isn’t in the script, then maybe it’s just your software (studio), did you try to reinstall it perhaps? could be a glitch.

Okay I will try that but I don’t think its from my studio cause it doesn’t work in game and not only me the other testers had this issue too

what kind of script type you are using? i mean is it a local script or a normal one?
EDIT: also where did you put the script

I am using a server script/normal script

i believe this is your problem the server sided scripts won’t play the sounds for the players,the sound will play for the server

So? If it played for the server everyone gonna hear that, it is not a problem

let me double check since i don’t really remember, i had this problem before wait a min i will come back soon

Tried it but did not work, anything else that can help?

do you have any other sound files that actually work in your server? or is it all stopped working?

Yes there other sounds that is playing but not the one for doors, I’ve also tried removing the sound itself and replacing it with new one but didn’t work

So i checked and i was right the sound played through a local script but not through a normal one
EDIT:If you need a video i can send you one

No need I already have scripts in other games that playing using server script please go search before saying anything and thank you for trying to help>


take a look at output, maybe i am wrong

Okay there is nothing it already played the server and client

Ok so I fixed this by myself I can’t really figure out the problem but it I fixed it by doing instance.new()