pilothhu
|
  |
| Joined: 28 Jun 2013 |
| Total Posts: 99 |
|
|
| 18 Apr 2017 08:01 PM |
So I have 3 GUIs in ServerStorage. When the game loads up, a playercheck GUI comes onto the screen (It is cloned from ServerStorage). This is to check if they're a tester (I made a tester script). That works completely fine.
After that the playercheck GUI is deleted and 2 other GUIs get cloned into StarterGui. Now the problem I'm having is that the GUI does get cloned into StarterGui, but doesn't show up on the screen. I don't understand what's wrong. All the transparency properties are 0.
Any help on this? Thanks. |
|
|
| Report Abuse |
|
|
|
| 18 Apr 2017 08:05 PM |
| Are you using Filtering Enabled? I don't store Guis in Server Storage, so I may be wrong. Server Storage is ran on a server and a gui is ran on a client |
|
|
| Report Abuse |
|
|
| |
|
|
| 18 Apr 2017 08:05 PM |
| Try putting it in ReplicatedStorage |
|
|
| Report Abuse |
|
|
pilothhu
|
  |
| Joined: 28 Jun 2013 |
| Total Posts: 99 |
|
|
| 18 Apr 2017 08:12 PM |
| They are set to visible, and I tried putting it in ReplicatedStorage. Still, only the PlayerCheck GUI shows up. The 2 other GUIS do get cloned but they are not visible. |
|
|
| Report Abuse |
|
|
pilothhu
|
  |
| Joined: 28 Jun 2013 |
| Total Posts: 99 |
|
|
| 18 Apr 2017 08:14 PM |
| Filtering Enabled is turned off as well. |
|
|
| Report Abuse |
|
|
|
| 18 Apr 2017 08:15 PM |
| Are there positions below the screen? |
|
|
| Report Abuse |
|
|
pilothhu
|
  |
| Joined: 28 Jun 2013 |
| Total Posts: 99 |
|
|
| 18 Apr 2017 08:20 PM |
What do you mean "Below the screen?" What screen?
Also,I removed the code to clone the PlayerCheck GUI into StarterGui. Now it clones the other 2 Guis just fine. I don't know what's wrong. |
|
|
| Report Abuse |
|
|
|
| 18 Apr 2017 08:21 PM |
| You probably set the parent wrong |
|
|
| Report Abuse |
|
|
|
| 18 Apr 2017 08:22 PM |
| Or you didn't clone it to the player |
|
|
| Report Abuse |
|
|
| |
|
pilothhu
|
  |
| Joined: 28 Jun 2013 |
| Total Posts: 99 |
|
|
| 18 Apr 2017 08:23 PM |
| The parent is set correctly. It is being cloned but for some reason it's not visible. I doubled checked the parent and it is game.StarterGui. |
|
|
| Report Abuse |
|
|
|
| 18 Apr 2017 08:25 PM |
Try cloning it to the player also.
game.Players.LocalPlayer.PlayerGUI try that |
|
|
| Report Abuse |
|
|
| |
|
|
| 18 Apr 2017 08:26 PM |
| You can do this local Players = game.Players:GetChildren() for Current = ## ######## ## ############ = Players[Current].PlayerGui end |
|
|
| Report Abuse |
|
|
| |
|
| |
|
|
| 18 Apr 2017 08:26 PM |
@program add me real quick
|
|
|
| Report Abuse |
|
|
|
| 18 Apr 2017 08:27 PM |
| You have to clone it to the PlayerGui |
|
|
| Report Abuse |
|
|
|
| 18 Apr 2017 08:28 PM |
@Pro I want to talk with you for a sec, add me.
|
|
|
| Report Abuse |
|
|
pilothhu
|
  |
| Joined: 28 Jun 2013 |
| Total Posts: 99 |
|
|
| 18 Apr 2017 08:28 PM |
"PlayerGUI isn't a valid member of Player."
Also I don't understand how the parent is wrong. The first GUI (PlayerCheckGUI) is set to game.StarterGui. |
|
|
| Report Abuse |
|
|
| |
|
pilothhu
|
  |
| Joined: 28 Jun 2013 |
| Total Posts: 99 |
|
|
| 18 Apr 2017 08:37 PM |
| Thank you! That worked. But I still don't understand, why does the first GUI get cloned and is visible, but the other 2 are not? |
|
|
| Report Abuse |
|
|
|
| 18 Apr 2017 08:44 PM |
Are they positioned correctly? Install this plugin on Roblox Studio https://www.roblox.com/library/338813970/Gui-Positioning-Tools |
|
|
| Report Abuse |
|
|
pilothhu
|
  |
| Joined: 28 Jun 2013 |
| Total Posts: 99 |
|
|
| 18 Apr 2017 08:46 PM |
| Yes they are, because as soon as I changed it to PlayerGui and clicked play, they cloned and they were visible. |
|
|
| Report Abuse |
|
|