remote event not firing or not being acknowledged?.
Hello, I have made a script which is supposed to be enabling a Screen Gui when conditions are met, i am using a remote event and firing it to the client from my script located in server script service and it is being called on from a local script inside the player Gui. my script works perfectly fine in play mode but when i do test mode the remote event either stops being fired or stops being recieved, please help.
I have tried firing the remote event from the server script outside of any other code blocks and it still doesnt get picked up or / fired.
i have used quite afew print statements to find where the error is located (note i don't recieve any errors in the console).
below is the server script firing the client
4 | roundTimer:FireAllClients(i) |
7 | intermissionDebounce = false |
here is the local script responsible for detecting the remote event being fired.
01 | roundTimer.OnClientEvent:Connect( function (roundTime) |
03 | stormGui.Enabled = true |
04 | local timeInSeconds = roundTime |
05 | local minutes = math.floor(timeInSeconds / 60 ) |
06 | local remainder = timeInSeconds % 60 |
07 | stormTextLabel.Text = minutes .. ":" .. remainder |
10 | if timeInSeconds = = 0 then |
11 | stormGui.Enabled = false |
13 | menuInitiater:FireServer() |