How to route vc input directly to an audioemitter without humanoid character?

i have a game that doesnt use humanoid characters and i want to route vc input to an audio emitter
i tried this:
server:

local deviceinput = Instance.new("AudioDeviceInput")
deviceinput.Parent = plr
deviceinput.Player = plr
deviceinput.Volume = 3

client:

local wire = Instance.new("Wire")
wire.Name = "Wire"..TARGETPLAYER.Name
wire.Parent = LOCALPLAYER
wire.SourceInstance = TARGETPLAYER.AudioDeviceInput
wire.TargetInstance = VCEMITTER.AudioEmitter

i hear no noise when i do this. i also tried routing it to an AudioDeviceOutput but i dont hear anything

You’re using the wrong category, the right one is #help-and-feedback:scripting-support, it’s the category for anything coding related.

1 Like