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.

Syntax
Luau
voicechat.hasvoicechat() -> boolean

Parameters

This function takes no arguments.

Returns

boolean

A boolean eligibility result; false when there is no local player.

Usage notes

The host eligibility query may yield, and host errors propagate.

Example

Example
Luau
local ok, eligible = pcall(voicechat.hasvoicechat)
if ok then
    print("Voice eligible:", eligible)
else
    warn("Could not check voice eligibility")
end
Kawaii documentation