So, I'm trying to find a solution to this, see, I want the background color to be changed, when a value is equal to a certain string, it does work for ONE client, and as of now I'm getting a single error.
--CLIENT
if Player.PlayerData.House.Value == ('Arryn') then
Remote:FireServer('Arryn')
Remote.OnClientEvent:connect(function(request)
if request == ('Arryn') then
v.Parent[Player.userId].BackgroundColor3 = Color3.new(unpack(Colors['Arryn']))
end
end)
--SERVER
local Remote = game:FindFirstChild('ReplicatedStorage'):WaitForChild('LeaderUpdate')
game.Players.PlayerAdded:connect(function(player)
Remote.OnServerEvent:connect(function(player, request, ...)
if request == ('Arryn') then
Remote:FireAllClients(request)
end
end)
end)
the error is.
Remote event invocation queue exhausted for ReplicatedStorage.LeaderUpdate; did you forget to implement OnClientEvent? (x300)
Please help me her, and explain how it's not working, and where the problem is, thank you!

1 comment
When you use :fireserver() Roblox automaticly sends the client who fired the server so you need to define the player on line 5 so something like (function(plr,request) that might solve the problem