Hello again, I'm quite new to remote events and such, but for some reason I keep getting this error each time I go into play mode:
19:36:19.000 - Maximum event re-entrancy depth exceeded for RemoteEvent.OnClientEvent 19:36:19.000 - While entering function defined in script 'ServerScriptService.GameScript', line 30 19:36:19.001 - Players.PyccknnXakep.PlayerGui.Game.gameScript:12: bad argument #3 to 'Text' (string expected, got nil) 19:36:19.002 - Stack Begin
Here is (part of) the server script:
local ui1 = game.ReplicatedStorage.ui1
ui1.OnClientEvent:connect(function(player)
ui1:FireAllClients("Game Over")
end)
local ui2 = game.ReplicatedStorage.ui2
ui2.OnClientEvent:connect(function(player)
ui2:FireAllClients("Intermission")
end)
local ui3 = game.ReplicatedStorage.ui3
ui3.OnClientEvent:Connect(function(player)
ui3:FireAllClients("Get Ready...")
end)
local ui4 = game.ReplicatedStorage.ui4
ui4.OnClientEvent:Connect(function(player)
ui4:FireAllClients("Choosing Map...")
end)
----------
while true do
ui1:FireAllClients()
--...
ui2:FireAllClients()
--...
ui3:FireAllClients()
--...
ui4:FireAllClients()
end
----------
And here is the local script in the StarterGui that changes the text:
local ui1 = game.ReplicatedStorage.ui1
ui1.OnClientEvent:connect(function(text1)
main.time_left.Text = text1
end)
local ui2 = game.ReplicatedStorage.ui2
ui2.OnClientEvent:connect(function(text2)
main.time_left.time_header.Text = text2
end)
local ui3 = game.ReplicatedStorage.ui3
ui3.OnClientEvent:connect(function(text3)
main.time_left.time_header.Text = text3
end)
local ui4 = game.ReplicatedStorage.ui4
ui4.OnClientEvent:connect(function(text4)
main.time_left.time_header.Text = text4
end)
--... Means that it's continuing on with the script, like I said that's part of the script.
I can't quite figure out why I'm getting an error. Any help appreciated though.

10 comments
Like when I fire the RemoteEvent I can fire a String with it?
I'm using OnClientEvent on the Local part by the way.
And I changed it to while wait() do and it's till throwing the error
Thank you, but I need to have them show up at different times. How could I do that?
Fire it like I did whenever you want from a Server Script. RemoteEvent:FireAllClients('text here')
Like I could do RemoteEvent:FireAllClients(readyplayer1[1])?
yup
And then later on I could fire RemoteEvent:FireAllClients(readyplayer1[2])?
yes
Okay, thank you so much!