generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: My GUI doesn't work...

Previous Thread :: Next Thread 
pilothhu is online. 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
ProgramShark is online. ProgramShark
Joined: 27 Aug 2014
Total Posts: 251
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
FaZeRoster is not online. FaZeRoster
Joined: 05 Jul 2013
Total Posts: 265
18 Apr 2017 08:05 PM
Are they set to visible?
Report Abuse
ProgramShark is online. ProgramShark
Joined: 27 Aug 2014
Total Posts: 251
18 Apr 2017 08:05 PM
Try putting it in ReplicatedStorage
Report Abuse
pilothhu is online. 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 is online. pilothhu
Joined: 28 Jun 2013
Total Posts: 99
18 Apr 2017 08:14 PM
Filtering Enabled is turned off as well.
Report Abuse
ProgramShark is online. ProgramShark
Joined: 27 Aug 2014
Total Posts: 251
18 Apr 2017 08:15 PM
Are there positions below the screen?
Report Abuse
pilothhu is online. 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
ProgramShark is online. ProgramShark
Joined: 27 Aug 2014
Total Posts: 251
18 Apr 2017 08:21 PM
You probably set the parent wrong
Report Abuse
ProgramShark is online. ProgramShark
Joined: 27 Aug 2014
Total Posts: 251
18 Apr 2017 08:22 PM
Or you didn't clone it to the player
Report Abuse
ProgramShark is online. ProgramShark
Joined: 27 Aug 2014
Total Posts: 251
18 Apr 2017 08:23 PM
I
Report Abuse
pilothhu is online. 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
FaZeRoster is not online. FaZeRoster
Joined: 05 Jul 2013
Total Posts: 265
18 Apr 2017 08:25 PM
Try cloning it to the player also.

game.Players.LocalPlayer.PlayerGUI try that
Report Abuse
ProgramShark is online. ProgramShark
Joined: 27 Aug 2014
Total Posts: 251
18 Apr 2017 08:25 PM
Thats the problem
Report Abuse
ProgramShark is online. ProgramShark
Joined: 27 Aug 2014
Total Posts: 251
18 Apr 2017 08:26 PM
You can do this local Players = game.Players:GetChildren() for Current = ## ######## ## ############ = Players[Current].PlayerGui end
Report Abuse
ProgramShark is online. ProgramShark
Joined: 27 Aug 2014
Total Posts: 251
18 Apr 2017 08:26 PM
Tags
Report Abuse
FaZeRoster is not online. FaZeRoster
Joined: 05 Jul 2013
Total Posts: 265
18 Apr 2017 08:26 PM
^ Better Way to do it.
Report Abuse
Take_Under is not online. Take_Under
Joined: 05 Feb 2011
Total Posts: 5081
18 Apr 2017 08:26 PM
@program add me real quick


Report Abuse
ProgramShark is online. ProgramShark
Joined: 27 Aug 2014
Total Posts: 251
18 Apr 2017 08:27 PM
You have to clone it to the PlayerGui
Report Abuse
Take_Under is not online. Take_Under
Joined: 05 Feb 2011
Total Posts: 5081
18 Apr 2017 08:28 PM
@Pro I want to talk with you for a sec, add me.


Report Abuse
pilothhu is online. 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
FaZeRoster is not online. FaZeRoster
Joined: 05 Jul 2013
Total Posts: 265
18 Apr 2017 08:34 PM
Try PlayerGui instead
Report Abuse
pilothhu is online. 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
FaZeRoster is not online. FaZeRoster
Joined: 05 Jul 2013
Total Posts: 265
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 is online. 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
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image