voicechat. setvolume Synchronous
Adjust the file audio mixed into voice capture. Zero silences the clip; one is its normal level.
Luau
voicechat.setvolume(volume: number) -> ()Parameters
| Parameter | Type | Description |
|---|---|---|
volume | number | Finite multiplier from 0 through 4. |
Returns
()No values.
Usage notes
This controls file playback volume in the mixer. Values outside the range raise.
Example
Luau
if voicechat.getstatus().available then
voicechat.setvolume(0.6)
print("Clip volume:", voicechat.getstatus().volume)
end