I’ve been encountering some dodgy BillboardGui behavior and I’m not sure if it’s with my code or not. This may be extremely basic but I’ve been stuck on this for a little while now and would rather ask for help.
I have a team skill system. When you join in by clicking, a bubble will show up above your head with a randomly selected message, such as ‘Count me in!’. It always works the first time you join a team skill, however, if you leave the team skill and then join again (or join a different one), the bubble will show up however there will be no text for other players. You can see the text and so can the server but other players cannot.
Here is the relevant code that controls the speech bubbles:
I’ve tried to change where the code is run, changing the lengths of the tweens and the delay. I also tried adding a debounce to how fast you can join, but that didn’t do anything.
There is a framework out right now called AeroFramework and it connects all of your modules up making it extremely nice and simple to do this sort of thing.
I’m assuming you don’t want to start over using a new framework, but its just the general idea of using modules a lot more then people do now.
Considering you already have a script that detects when to prompt the billboard simply Fire All Clients using a remoteevent and then use your localscript in order to make the billboards visible as well as prompt the proper text!
Anything UI-related should always be in the hands of the client, not the server. The server should only be passing information for the client to utilise when constructing an interface.