How to add a voice recording to a chat bubble in Roblox studio ?
What do you mean by “avoid voice recording”?
I assume you want a voice to speak when the bubbles show up, if that’s the case you would need to upload audio to ROBLOX with the voice, and then play the audio when you want it.
1 Like
Yes . That’s the point. Please tell me how to do it?
You would want to get the audio transcribed then.
audio:Play()
game.Chat:Chat(character, “hello”)
1 Like
How to add this to my script ?
local ChatService = game:GetService(“Chat”)
local Head1 = script.Parent.Dummy1.Head
local Head2 = script.Parent.Dummy2.Head
wait(40)
while true do
ChatService:Chat(Head1, “”)
wait(3)
ChatService:Chat(Head2, "")
wait(2)
ChatService:Chat(Head1, "")
wait(3)
ChatService:Chat(Head2, "")
wait(3)
ChatService:Chat(Head2, "")
break
end
You could do this:
local ChatService = game:GetService(“Chat”)
local head1Audios = {script.Audio1_1, script.Audio1_2}
local head2Audios = {script.Audio2_1, script.Audio2_2, script.Audio2_3}
local Head1 = script.Parent.Dummy1.Head
local Head2 = script.Parent.Dummy2.Head
local function talk(head, text, audio)
ChatService:Chat(head, text)
audio:Play()
end
wait(40)
while true do
talk(Head1, "", head1Audios[1])
wait(3)
talk(Head2, "", head2Audios[1])
wait(2)
talk(Head1, "", head1Audios[2])
wait(3)
talk(Head2, "", head2Audios[2])
wait(3)
talk(Head2, "", head2Audios[3])
break
end
1 Like