How To Create A VOICE CHAT ONLY SERVER – Roblox Studio
In this video, I will be teaching all of you how to create a VOICE CHAT ONLY SERVER in Roblox Studio! ***Since this is very complicated, the scripts are included below and if you copy and paste them, follow along…
In this video, I will be teaching all of you how to create a VOICE CHAT ONLY SERVER in Roblox Studio! ***Since this is very complicated, the scripts are included below and if you copy and paste them, follow along with the video!***
SUBSCRIBE!!!
Roblox Profile: https://www.roblox.com/users/1103189919/profile
Roblox Group: https://www.roblox.com/groups/10685081/Blu-Wear
Roblox Group 2: https://www.roblox.com/groups/11989207/Project-Blu
Discord Server: https://discord.gg/8crBC76PWc
Script, Proximity Prompts in both places:
local RS = game:GetService(“ReplicatedStorage”)
local teleportEvent = RS:FindFirstChild(“Teleport”)
local proximityPrompt = script.Parent
proximityPrompt.Triggered:Connect(function(plr)
teleportEvent:FireClient(plr)
end)
LocalScript, StarterGui in the SPAWN PLACE:
local player = game.Players.LocalPlayer
local RS = game:GetService(“ReplicatedStorage”)
local teleportEvent = RS:FindFirstChild(“Teleport”)
local TS = game:GetService(“TeleportService”)
local placeId = “YOUR VOICE CHAT SERVER PLACE ID HERE”
local VCS = game:GetService(“VoiceChatService”)
teleportEvent.OnClientEvent:Connect(function()
local voiceChatEnabled = VCS:IsVoiceEnabledForUserIdAsync(player.UserId)
if voiceChatEnabled then
TS:Teleport(placeId, player)
else
game.StarterGui:SetCore(“SendNotification”, {
Title = “Join Error”;
Text = “You do not have voice chat enabled!”;
Icon = “http://www.roblox.com/asset/?id=2912303885“;
Duration = 5;
})
end
end)
LocalScript, StarterGui in the VOICE CHAT ONLY PLACE:
local player = game.Players.LocalPlayer
local VCS = game:GetService(“VoiceChatService”)
local voiceChatEnabled = VCS:IsVoiceEnabledForUserIdAsync(player.UserId)
if not voiceChatEnabled then
player:Kick(“You do not have voice chat enabled!”)
end
local RS = game:GetService(“ReplicatedStorage”)
local teleportEvent = RS:FindFirstChild(“Teleport”)
local TS = game:GetService(“TeleportService”)
local placeId = “YOUR SPAWN PLACE ID HERE”
teleportEvent.OnClientEvent:Connect(function()
TS:Teleport(placeId, player)
end)