RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"make me an voice chat script"
-- ScripterAI can only help with scripting as of now so here's a script for the voice chat system local players = game:GetService("Players") local chatService = game:GetService("Chat") -- Create a chat channel local channel = chatService:CreateChannel("Voice Chat", players) -- Create a function that will be called when a player joins the channel local function onJoin(player) -- Create a voice chat connection between the player and the channel local connection = channel:ConnectToVoice(player) -- Set the volume of the connection connection:SetVolume(1) end -- Connect the onJoin function to the channel's PlayerAdded event channel.PlayerAdded:Connect(onJoin)