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: Need Open/Close GUI Help

Previous Thread :: Next Thread 
HerrStark is not online. HerrStark
Joined: 09 Sep 2014
Total Posts: 364
16 Nov 2014 06:23 PM
i have a textbutton named "open"

inside of it, I have a script
and a frame called "Full Hollow"

This is the script
local Button = script.Parent
Frame = script.Parent.Parent.Full Hollow

function onClick()
if Frame.Visible == false then
Frame.Visible = true
elseif Frame.Visible == true then
Frame.Visible = false
end
end

Button.MouseButton1Click:connect(onClick)




What is wrong?



Report Abuse
HerrStark is not online. HerrStark
Joined: 09 Sep 2014
Total Posts: 364
16 Nov 2014 06:27 PM


~Get Radekt
Report Abuse
ZeveI is not online. ZeveI
Joined: 29 Sep 2012
Total Posts: 8003
16 Nov 2014 06:34 PM
Whats the exact location of the shop and button?

कोओल बेअन्स म्8 ओw अरे उ तोदज दो उ लिके म्ज सिग्ग्ज फ्र्न्द्? | cool beans m8 how are u today do u like my siggy frnd?
Report Abuse
Notunknown99 is not online. Notunknown99
Joined: 05 Sep 2008
Total Posts: 25360
16 Nov 2014 06:35 PM
If an objects name has any non alphanumeric/underscore characters, or starts with a number, you have made a mistake somewhere.
Report Abuse
HerrStark is not online. HerrStark
Joined: 09 Sep 2014
Total Posts: 364
16 Nov 2014 06:43 PM
to clarify:

i have a starterGUi
in that, I have a frame called "Open"
in that I have a textbutton
in that I have 3 frames and a script

The script was the one that I posted

When I click on the"open" frame, I want the 3 frames to appear.

What am I doing wrong?

~Get Radekt
Report Abuse
Notunknown99 is not online. Notunknown99
Joined: 05 Sep 2008
Total Posts: 25360
16 Nov 2014 06:47 PM
What I am saying is that

"a frame called "Full Hollow""

Don't.
Report Abuse
HerrStark is not online. HerrStark
Joined: 09 Sep 2014
Total Posts: 364
16 Nov 2014 06:51 PM
ok, i made it "fullhollow"

still does not work

~Get Radekt
Report Abuse
Notunknown99 is not online. Notunknown99
Joined: 05 Sep 2008
Total Posts: 25360
16 Nov 2014 06:51 PM
Well what does the output say?
Report Abuse
HerrStark is not online. HerrStark
Joined: 09 Sep 2014
Total Posts: 364
16 Nov 2014 06:54 PM
16:53:43.088 - Auto-Saving...
Loading Cutscene Editor...
16:53:43.277 - Unable to load plugin icon. Image may have an invalid or unknown format.
16:53:43.277 - Unable to load plugin icon. Image may have an invalid or unknown format.
16:53:43.414 - Plugin_142731176._Char:15: attempt to index local 'myPlayer' (a nil value)
16:53:43.414 - Stack Begin
16:53:43.414 - Script 'Plugin_142731176._Char', Line 15
16:53:43.415 - Stack End
16:53:44.119 - WER is not a valid member of Model
16:53:44.120 - Script 'Workspace.Model.Model.Swivel.Script', Line 13
16:53:44.120 - Stack End
16:53:44.120 - WER2 is not a valid member of Model
16:53:44.120 - Script 'Workspace.Model.Model.Wpart.Script', Line 13
16:53:44.121 - Stack End
16:53:44.121 - Motor is not a valid member of Workspace
16:53:44.122 - Script 'Workspace.Plane.Engine.MasterScript', Line 3
16:53:44.122 - Stack End
LandMine Script Loaded
16:53:44.138 - Players.Player.PlayerGui.SnowGUI.Raycast:1: unexpected symbol near '19'
16:53:44.140 - fullhollow is not a valid member of Frame
16:53:44.141 - Script 'Players.Player.PlayerGui.Play Screen Gui.Frame.open.Script', Line 2
16:53:44.141 - Stack End
EPIK CHEZ
16:53:44.224 - Unable to create an Instance of type "StockSound"
16:53:44.224 - Script 'Plugin_142296237.CutsceneEdit.Plugin', Line 58 - global addSound
16:53:44.224 - Script 'Plugin_142296237.CutsceneEdit.Plugin', Line 65
16:53:44.225 - Stack End
16:53:44.617 - httpGet https://api.roblox.com/gametransactions/getpendingtransactions/?PlaceId=177067364&PlayerId=68740046 failed. Trying again. Error: HTTP 403 (Forbidden). Elapsed time: 0.456335

~Get Radekt
Report Abuse
HerrStark is not online. HerrStark
Joined: 09 Sep 2014
Total Posts: 364
16 Nov 2014 06:57 PM
Also, in each of the three frames, there is a button.

~Get Radekt
Report Abuse
HerrStark is not online. HerrStark
Joined: 09 Sep 2014
Total Posts: 364
16 Nov 2014 07:01 PM


~Get Radekt
Report Abuse
HerrStark is not online. HerrStark
Joined: 09 Sep 2014
Total Posts: 364
16 Nov 2014 07:05 PM
,

~Get Radekt
Report Abuse
DesignerDavid is not online. DesignerDavid
Joined: 18 Feb 2014
Total Posts: 8422
16 Nov 2014 07:11 PM
I suggest you look in my place called "Scripting Tutorials"

http://www.roblox.com/Scripting-Tutorials-NEW-TUTORIAL-1-11-place?id=167257678

It's uncopylocked obviously.
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