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: ImageButton vanishes from PlayerGui. WHY?

Previous Thread :: Next Thread 
Craftero is not online. Craftero
Joined: 24 Jun 2011
Total Posts: 1451
16 Nov 2015 02:19 PM
I have an ImageButton in a Frame in my StarterGui Folder. Everythings OK when I test in Studio, i.e. the ImageButton can be clicked. However, in online Play mode, I get a message in the Developer Console saying "ImageButton is not a member of Frame".

Can anyone help me out here?
What could be going wrong?
Report Abuse
JarodOfOrbiter is not online. JarodOfOrbiter
Joined: 17 Feb 2011
Total Posts: 20029
16 Nov 2015 02:22 PM
It just needs to load. Use WaitForChild to wait for it to load, and then you will be good.
Report Abuse
RonDanino is not online. RonDanino
Joined: 21 Dec 2012
Total Posts: 290
16 Nov 2015 02:23 PM
local imagebutton = game.StarterGui.ScreenGui.Frame.ImageButton
if you did that and it didnt work, try going for the long way and type the entire
game.StarterGui.ScreenGui.Frame.ImageButton

instead of just imagebutton
Idk if it'll help you, But I think it happened to me once and that fixed it
Not sure.
Report Abuse
RonDanino is not online. RonDanino
Joined: 21 Dec 2012
Total Posts: 290
16 Nov 2015 02:24 PM
OOO...
try
ImageButton.ZIndex = 2

Report Abuse
Craftero is not online. Craftero
Joined: 24 Jun 2011
Total Posts: 1451
16 Nov 2015 02:58 PM
@JarodOfOrbiter

I tried your suggestion and it worked.
Thanks.
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