I want to replicate the player gunfire sound to every other client, but creating a new sound and parenting it to the player who fired their gun doesn’t work when I test it using the multi-client simulation.
Local:
local fireSound = toolModel.Source.Fire
function PlaySound(sound)
remotePlaySound:FireServer(sound, toolModel.Source)
end
Server scripts:
remotePlaySound.OnServerEvent:Connect(function(player, sound, source)
local serverSound = Instance.new("Sound")
serverSound.SoundId = sound.SoundID
serverSound.Parent = source
serverSound:Play()
end)