So basically I have lots of local scripts that control many different guis. I made a Bindable Event that fires whenever you open one of the guis. All the other local scripts in the other guis will receive it and close their frames, which allows there to be one gui to be visible at a time. In other words, whenever you open a gui, all other gui’s will close. But it seems like only one of the receiver (.Event) receives the event. All the other ones don’t. How do I fix this / get around it?
If you fire the BindableEvent from any of those GUI scripts, and all scripts contains a listener of that BindableEvent, ALL scripts should fire.
If only one local script is receiving the signal something must be wrong with the code or the hierarchy of your GUIs, scripts and the BindableEvent.
Just for testing, create a new file, import this into StarterGui
and play test. This file its just 4 GUIs with scripts and a Bindable event in a folder. All scripts have the listener so all of them will hide when open any other
GuisWithEvent.rbxm (7.6 KB)
1 Like
Hi, sorry I was using BindableFunctions, I just switched it all to event and now it works perfectly Thanks!