Jump to content

GUI - not showing for everyone at the same time


lwgy

Recommended Posts

Hi so i am making a script where all players see a GUI at the same time with some books and stuff and then a random challenge is picked, well this works great in singleplayer but when there is more people on the server it shows it to one person first and after its completed goes onto second one..... so this is a problem because it takes about a minute for it to complete so when there is more people online this would take a long time to finish.

i would send my code here but its about 200 lines of code so im more looking for a general solution why this happens and then ill implement it in my code, thanks!

Link to comment
Share on other sites

  • 2 weeks later...

From past experience, it has to do with the fact that you're trying to use a singular gui for every player. When creating the GUI, trey not to reuse it, and instead create one for each individual player.

I ran into an issue in the past that I tried reusing the gui and showing it to everyone, but it'd immediately close it for all other players.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...