Detecting Player Voice

i was thinking for a sec, like when did i start writing gibberish?

actually i probably have, just not in code.

fixed myself

local Input = game.Players.LocalPlayer.AudioDeviceInput
local AudioAnalyzer = Instance.new("AudioAnalyzer",game.Players.LocalPlayer.Character)
local Wire = Instance.new("Wire",game.Players.LocalPlayer.Character)
Wire.SourceInstance = Input
Wire.TargetInstance = AudioAnalyzer

while wait() do
	print(AudioAnalyzer.RmsLevel)
end
1 Like