I want to have two gui’s to hide when intermissions ends and game starts. Then after the game ends (or when the intermission starts again), I want them to reappear them again.
What is the issue?
Even though the remote event script are the same, only one of the GUI is showing but the other one is not. At the beginning when I want the two remote event to fire after main menu is over to show the GUI, it works for some reason, it’s just at the end it’s not working.
Here are some screenshots of my code
The ES remoteevent is the not working one.
The not working one code
The working one
What solutions have you tried so far? Did you look for solutions on the Developer Hub?
I previously made this topic, tons of people decided to help me (cheers whoever tried to fix my code) but none of them seemed to work. I have also looked other topics relating to this, still no success with my problem. I even put the print statement when the local script have received the remote event message; all the other remote event I put in the main script have successfully worked, saying SS and ES in the output, but at the final remote event code, it only says SS. Please can somebody help me with this, it will be greatly appreciated because I have been trying to fix this problem for 3 days now, and the fact I have tried nearly everything to solve this and it is still not working is irritating me a lot.
You may need to post a full script or more code for us to help. Is there some infinite loop which prevents the script from reaching the .onClientEvent line? Something outside of these lines may be causing it to not work.
and also the ES remote event script is place just behind the variable, so there is no possible way that the onclientevent line is not getting reached, and also as I said before, it worked when I put the remote event the first and second time, it is just only the third time that the ES remote event decided to not work anymore.