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

What exactly do you have access to regarding voice chat in a script?

Asked by 1 year ago

My friend and I are trying to create a game that makes clever use of voice chat. Won't get into details about what the game is, but one important (but not vital) part is knowing when a player is talking.

I could have sworn that you could get the current volume of a player, but when I tried to look at roblox's documentation, I couldn't find anything that scripts have access to outside of just seeing if a player has voice chat enabled.

Is there anything beyond just knowing if a player has voice chat enabled, or will we need to change the game's formula?

1 answer

Log in to vote
0
Answered by
Xapelize 2658 Moderation Voter Community Moderator
1 year ago
Edited 1 year ago

VoiceChatService:IsVoiceEnabledForUserIdAsync(UserId) is the function you're looking for. Note that the function only works on local scripts, not server scripts.

Source: VoiceChatService Documentation

Ad

Answer this question