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

How do I make ambient reverb change for a certain player when a block is touched?

Asked by 6 years ago

I'm trying to make it so when you touch a brick the reverb will change for a certain person, but nothing happens at all.

function onTouch(part)
     game.SoundService.AmbientReverb = "Forest"
    end

Thanks if you can help, I'm kind of a noob so please go easy on me!

1 answer

Log in to vote
1
Answered by 6 years ago

Might not be what you're looking for but I was able to get this to work from a normal Script

function onTouched(hit)
    if hit.Parent:FindFirstChild("Humanoid") then
        game.SoundService.AmbientReverb = Enum.ReverbType.Forest
    end
end

script.Parent.Touched:Connect(onTouched)
Ad

Answer this question