Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

Can you help me with Sound Volume?

Asked by 8 years ago

Hiya there, My name is TixyScripter. I made a script that made sound when you buy something in your tycoon. The problem is that when you buy something, all Robloxians here it. Is there any way that I can make it to only one person hears it, or maybe you only here it when your close?

2 answers

Log in to vote
1
Answered by
xAtom_ik 574 Moderation Voter
8 years ago

If you only want a certain person to hear it, put it in their Player directory. For example:

Players.[Player Name]

0
I don't think that would work with the tycoon. Due to the fact that there is an owner can you explain how to do it that way? Thanks! TixyScripter 115 — 8y
Ad
Log in to vote
1
Answered by 8 years ago
game.Players:FindFirstChild(owner.value)

Basically if the owner value is the owner's name, it'll find the owner's name in players. Put a variable for the owner value too, plox c:

0
Well I was wondering, Would I put this before the part in the script that runs the sound, or in a new script that I put in the sound itself? TixyScripter 115 — 8y

Answer this question