#why do server sounds doesn't get replicated to clients?

1 messages · Page 1 of 1 (latest)

limber grove
#
local function playSound(gun: Tool, instance: Instance | BasePart, soundName: string)
    if RunService:IsServer() then
        if gun and instance then
            local sound = instance:WaitForChild(soundName)
            if sound then
                sound:Play()
                print("yes")
            end
        end
    end
end
exotic mirage
#

Maybe the sound doesn’t exist in client. Check if it does and if parents exist etc

exotic mirage
#

So if u run game, it makes a sound in the server side but not client side?

sonic ospreyBOT
#

studio** You are now Level 2! **studio