!! Warning !!
This is only POC [ Proof of concept ] and shouldn’t be used in games.
Now, controls for VoiceChat have been in high demand, I decided to try one of my ideas to create a handle on voice control, and it worked!
!! Information !!
The SDK module was initially made to help developers have a better handle on VoiceChat as roblox so far has not given us any valid API’s to use yet.
Now, this module deploys hacky methods in order to spoof player voice chat, which means this module has a chance to break your game. I would advise you to possibly create your own variation of this module.
What you could do with this module, is interpret and create your own front for roblox VoiceChat, this module does actually remove the VoiceChat bubble, however, removing the player chat bubble at the same time.
Again, this was made under one hour and just as a testing grounds, in no way is this to represent a final product. However, the SDK presents the three below functions.
VoiceChatSDK.MutePlayer(Player: Instance)
Mutes a player
VoiceChatSDK.UnmutePlayer(Player: Instance)
Unmutes a player
VoiceChatSDK.SetPlayerVolume(Player: Instance, Volume: Number)
Sets the volume of that player’s mic (only on the client.)
!! Live Demo !!
Below is uncopylocked version of the SDK, allowing you to mute, unmute and set a volume.
https://www.roblox.com/games/9781749468/VoiceChatSDK
!! Model/Links !!
https://www.roblox.com/library/9783077407/VoiceChatSDK
Let me know your thoughts