Basically, I have this script, when you click on the TextButton it plays sound. The sound works - its placed in Workspace and the script is in a ScreenGui in the TextButton located in StarterGui
This is how the script works
script.Parent.MouseButton1Click:Connect(function()
game.Workspace.Sound1:Play()
end)
What I want to know is how to change things like MaxDistance and Volume for the sound. I have tried editing the sound properties itself, but it changes nothing in-game.
Example - I put Maxdistance as low as 0.5 and Volume at 0.1 in the sound properties, but it was still playing when my friend was very far away from me.
Hope I made it clear enough to understand. Just an FYI, im basically a starter with scripting, with little knowledge. Any and all help is appreciated

2 comments
Probably game isn't published and left the sound's properties unchanged, change it again and publish it. Also make sure there are no other scripts ruining it, or another sound with same name.
"(Not a Local Script)" that means you're using a server script, right? The thing is, server scripts don't run in the StarterGui/PlayerGui.