Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Player list Only updating for a single client?

Asked by 7 years ago

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.

01--CLIENT
02    if Player.PlayerData.House.Value == ('Arryn') then
03                    Remote:FireServer('Arryn')
04 
05                 Remote.OnClientEvent:connect(function(request)
06                if request == ('Arryn') then
07                v.Parent[Player.userId].BackgroundColor3 = Color3.new(unpack(Colors['Arryn']))
08 
09                    end
10                end)
11    --SERVER
12local Remote = game:FindFirstChild('ReplicatedStorage'):WaitForChild('LeaderUpdate')
13game.Players.PlayerAdded:connect(function(player)
14 
15        Remote.OnServerEvent:connect(function(player, request, ...)
View all 24 lines...

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!

0
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 Timmerman73 85 — 7y

Answer this question