I am trying to make something that changes the text of a label for all players at the same time and I am using FireAllClients and I have 2 of them but they run at the exact same time and it just shows the second text and not the first.
Script 1
script.Parent.Event:Connect(function(plr) changeNotifier:FireAllClients("Selecting Map...",3) local map = pickMap() changeNotifier:FireAllClients("Map Selected: "..map,3) end)
Script 2
changeNotifier.OnClientEvent:Connect(function(text,dur) n.Text = text wait(dur) n.Text = "" end)
You shouldn't make the clients wait, that stops the second event from coming because they were busy waiting. Instead, make the server wait in between sending events. Like this:
script.Parent.Event:Connect(function(plr) changeNotifier:FireAllClients("Selecting Map...") local map = pickMap() wait(3) changeNotifier:FireAllClients("Map Selected: "..map) end)