(I’m surprised this issue is still going) I do have a question, when does your Sound
function fire?
I don’t get u… u mean the commented line in the first screenshot?
Yeah this image you posted
Oh, that is now commented since it was fired just where now I’m firing the remotevent so that the localscript listens to it and plays the sound. (u can see it in the 1st screenshot , the sound is commented)
In the Location of your LocalScript
, put it in StarterPlayerScripts
instead & try that
No luck I placed it there but still the same… what can it be going wrong?
You’re playing to play a Local Sound, right? It should work for your client only?
Yeah that’s what I want, however, I added print “Hi” in the script https://gyazo.com/41d89ba962961973f1e95021e5fa4072
but it doesn’t print it… mb I have to start from there? Idk.
That event should be a server script in ServerScriptService
, I’d also do consider adding a wait(10)
in there cause the sound would pretty much play instantly
hmmmm
then I cant do it cuz that scipt where the fireclient is has to be in workspace with no choice
This is an awful script, why didn’t you use tables?
I’m not the creator of the script XD. It’s zed’s tycoon.
it hurts to look at, this could be done so much better using tables
oh I know what u mean, the scripot of the guy that helped me hahaa sorry
So since I cant get to do this thing, I’m seriously thinking on giving up… and that isn’t usually an option for me LOL.
btw idk why it has to be this complicated… I’m missing something… idk what is it but something lol
The reason it plays global is because the sound isn’t inside a part. If you can clone the sound and put it inside the buy part everytime it plays, then deletes it when its done, that’ll fix your issue
The original script does that, however, it doesn’t work… maybe I have to set the distance? how does it work? Screenshot - 536e7f234225d066d4a90b614971615d - Gyazo as u can see it says that the parent of the created sound is the part.
Damn, as simple as that. Am I stupid lol? hahahaha thx mate, saved my time
Btw if sb wants the fix with zed’s tycoon just lemme know and I will be more than pleased to shareit!