I want to create some kind of an AI, that will help players in the game. So I wanted to know if its possible to create a voice command and if there is a way Roblox Studio allows to do it. I tried to search but couldn't find anythind, if anyone could help me and give me a link to something? Thank you. Meanwhile I will try to find a solution.
I managed to find something similar to what I wanted. Not exactly what I wanted but it will do. The following script will play a sound whenever you type a specific word:
sound = game.Workspace.Sound --Where your sound is located game.Players.PlayerAdded:Connect(function(player) player.Chatted:Connect(function(message) If sound.IsPlaying == false then If message == "YourMessage" then sound.SoundId = "TheSoundID" sound:Play() end end end) end)