Different images between two different players script not working

I am trying to make a script for the two players in the server, the 2 players have two different gui images. This works when I’m in solo mode, but if I do it with 2 plrs, it doesn’t seem to work.

Any help would be appreciated, thanks

Server script:

local remote = game.ReplicatedStorage.RemoteEvent
local playerTable = {}
game.Players.PlayerAdded:Connect(function(plr)
    if not table.find(playerTable, plr) then
        table.insert(playerTable, plr.Name)
        print(unpack(playerTable))
        
    end
end)

function playerstuff()
    for _, plrs in pairs(game.Players:GetPlayers()) do
        local player = plrs
        remote:FireAllClients(playerTable)
    end
end

wait(3)
playerstuff()```

client script:
```lua
local player = game.Players.LocalPlayer
local remote = game.ReplicatedStorage.RemoteEvent
local image = script.Parent.ImageLabel

remote.OnClientEvent:Connect(function(playerTable)
    if player.Name == playerTable[1] then
        print("Aa")
      image.Image = "rbxassetid://5231442416"
    end
    if player.Name == playerTable[2] then
        print("A")
         image.Image = "rbxassetid://5231442230"
    end
end)

I think it’s happening because you’re calling the function only once , when the server starts i.e when the first player joins. Try calling it everytime a player joins.