voicechat. hasvoicechat Asynchronous
Ask Roblox whether the local user is eligible for voice chat. Check it before offering voice controls, since a working audio hook alone does not grant account eligibility.
Luau
voicechat.hasvoicechat() -> booleanParameters
This function takes no arguments.
Returns
booleanA boolean eligibility result; false when there is no local player.
Usage notes
The host eligibility query may yield, and host errors propagate.
Example
Luau
local ok, eligible = pcall(voicechat.hasvoicechat)
if ok then
print("Voice eligible:", eligible)
else
warn("Could not check voice eligibility")
end