The Sound plays multiple times when a humanoid touch the brick but i don't know where to add the debounce function (once again! lol)
function onTouched(hit)
H = hit.Parent:FindFirstChild("Humanoid")
if H ~= nil then
script.Parent.Coin:play()
end
end
script.Parent.Touched:connect(onTouched)

1 comment
Thanks you! :D