Sound isnt local

I am looking to fix a zed tycoon bug. When a player collects or purchase something, a sound will play, that sound is suppose to be local sound, however all the players in the whole server can hear it. A previous post of this same problem was made and was unsolved. ]Sound in LocalScripts doesn't play locally - #3 by ByGoalZ) (older zed tycoon version)

I am not much of a scripter so a obvious single command might fix the problem, please use basic words when explaining…

Here’s a few pictures of how the scripts looks like!

Any help will be appreciated!

1 Like

There is a SoundService function called game.SoundService:PlayLocalSound() that can help you out with this. The paramater is the Sound Instance.

1 Like

Alright thanks, I’ll see if this would fix the problem.

The Sounds worked in studio, but after I published the game, they did not work anymore. When I buy something, the sound does not play.

I fixed it myself here Global Sound issue with Zeds tycoon kit - Help and Feedback / Scripting Support - Developer Forum | Roblox, I have a new Zed tycoon version (plasboer or sm like that). I feel pro and handsome because I hardly know a thing about scripting. I appreciated all the wonderful responses I gotten in this topic, It was so helpful and so many people wanted to help…