The sound is located in the PlayerGui and is named "OutdoorAmbiance," however after hours of frustrating work, I just can't get it to work, even after using the information I got from the roblox forums.
local parent = script.Parent
parent.Touched:connect(function(hit)
if hit and hit:findFirstChild("Humanoid") and game.Players:GetPlayerFromCharacter(hit) then
local p = game.Players:GetPlayerFromCharacter(hit)
local c = hit.Parent
local sound = p.PlayerGui:findFirstChild("OutdoorAmbiance")
sound.Volume = 0.3
end
end)
Please at least try and explain what you fix please ;)

1 comment
Edited.