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 » Scripting Helpers
Home Search
 

Re: Problems with startergui

Previous Thread :: Next Thread 
Danivagyok is not online. Danivagyok
Joined: 21 Mar 2010
Total Posts: 275
25 Aug 2013 08:10 AM
Hi, there's a glitch with one of my GUI's
It's the "Main Menu" for my game. Basically, there are localscripts inside the buttons. These localscripts make a Frame visible (turns its transparency to 0.3). And then it makes another frame visible. (.Visible = true)
One of the buttons makes the entire menu invisible (does not remove it)
My problem is: When the player resets, and they respawn, and try pressing the buttons, they do nothing. Yes, the mouse is doing the clicking animation and so forth, but the buttons do nothing. The only button that works is the one that makes the GUI invisible. Any ideas?

Danivagyok, Head Developer of \\hEX__
Report Abuse
mrwar117 is not online. mrwar117
Joined: 16 Oct 2009
Total Posts: 224
25 Aug 2013 08:50 AM
my only idea is using regular scripts instead of locals but then again i dont know what your buttons do, explain more
Report Abuse
strongalphawarrior is not online. strongalphawarrior
Joined: 27 Jun 2011
Total Posts: 1000
25 Aug 2013 08:52 AM
Yes that happens with me

Try editing the ZIndex
Report Abuse
DragonODeath is not online. DragonODeath
Joined: 02 May 2011
Total Posts: 1252
25 Aug 2013 08:52 AM
Would you kindly post the script??
Report Abuse
strongalphawarrior is not online. strongalphawarrior
Joined: 27 Jun 2011
Total Posts: 1000
25 Aug 2013 08:53 AM
Dragon it doesn't have anything to do with the script
Report Abuse
Danivagyok is not online. Danivagyok
Joined: 21 Mar 2010
Total Posts: 275
25 Aug 2013 09:25 AM
LocalScript inside the button that DOESNT WORK after resetting:

    
button = script.Parent
box = script.Parent.Parent.Parent.box



    
    
function f()
    for i = 1, 0.3, -0.05 do
        wait()
        box.BackgroundTransparency = i
    end
    box.Credits.Visible = true
    box.Credits.LocalScript.Disabled = false
    script.Disabled = true
    
    
end

button.MouseButton1Click:connect(f)
    
        

And here is the script from the button that DOES work after resetting:

    
button = script.Parent

function f()
    script.Parent.Parent.Visible = false
    script.Parent.Parent.Parent.box.Visible = false
    script.Parent.Parent.Parent.lineY.Visible = false
    script.Parent.Parent.Parent.logo.Visible = false
end

button.MouseButton1Click:connect(f)





Danivagyok, Head Developer of \\hEX__
Report Abuse
Danivagyok is not online. Danivagyok
Joined: 21 Mar 2010
Total Posts: 275
25 Aug 2013 09:48 AM
bump

Danivagyok, Head Developer of \\hEX__
Report Abuse
Danivagyok is not online. Danivagyok
Joined: 21 Mar 2010
Total Posts: 275
25 Aug 2013 03:18 PM
bump. Really, please help me? I cant be the only one with this problem...

Danivagyok, Head Developer of \\hEX__
Report Abuse
Danivagyok is not online. Danivagyok
Joined: 21 Mar 2010
Total Posts: 275
26 Aug 2013 01:21 PM
Why is noone helping me? Come ON!

Danivagyok, Head Developer of \\hEX__
Report Abuse
Mikesly is not online. Mikesly
Joined: 07 Sep 2007
Total Posts: 4593
26 Aug 2013 01:38 PM
box.BackgroundTransparency = 0.3
Report Abuse
Danivagyok is not online. Danivagyok
Joined: 21 Mar 2010
Total Posts: 275
26 Aug 2013 07:30 PM
??
Report Abuse
Danivagyok is not online. Danivagyok
Joined: 21 Mar 2010
Total Posts: 275
28 Aug 2013 11:03 AM
BUMP. PLESAE, IS THERE A FIX FOR THIS?!

Danivagyok, Head Developer of \\hEX__
Report Abuse
Newtrat is not online. Newtrat
Joined: 13 Jun 2011
Total Posts: 196
28 Aug 2013 11:18 AM
No errors in the output or anything? It's a bit surprising that it works the first time, but not after you've reset.
Report Abuse
Danivagyok is not online. Danivagyok
Joined: 21 Mar 2010
Total Posts: 275
03 Sep 2013 02:57 PM
I dont think so. I mean, i was testing in online mode, since the other key features of the game need online mode to run properly.
Report Abuse
Danivagyok is not online. Danivagyok
Joined: 21 Mar 2010
Total Posts: 275
04 Sep 2013 02:53 PM
I have an idea for a fix :)
I'll try it out, then I will tell you guys if it worked.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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