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 » Club Houses » Clans & Guilds
Home Search
 

Re: cng scriptrs who script guis help simple

Previous Thread :: Next Thread 
brunbamse is not online. brunbamse
Joined: 19 Apr 2012
Total Posts: 1107
06 May 2014 07:58 AM
i need a script that will open my frame located in a txt bottun witch are in a frame

how do i do so when u click the rules
the frame and all its txt guis inside will be visible
and when u click again it be invisible
Report Abuse
yia is not online. yia
Joined: 06 Nov 2008
Total Posts: 13563
06 May 2014 07:58 AM
h'what

dango dango
Report Abuse
gamma2244 is not online. gamma2244
Joined: 08 Oct 2009
Total Posts: 12481
06 May 2014 07:58 AM
I think we need a translators for the scripters to understand you.

~Azur Renthius Kallun- The Champion of Mareth. | I don't fail, I seig heil!
Report Abuse
brunbamse is not online. brunbamse
Joined: 19 Apr 2012
Total Posts: 1107
06 May 2014 08:01 AM
i need a script that do so when u click a gui u still understand?
where guis inside a frame and the frame will be visible u still understand?
and then when u click again the guis inside the frame and the frame will be invisible u still understand?
Report Abuse
brunbamse is not online. brunbamse
Joined: 19 Apr 2012
Total Posts: 1107
06 May 2014 08:04 AM
b
Report Abuse
Vesperus is not online. Vesperus
Joined: 29 Oct 2013
Total Posts: 5146
06 May 2014 08:06 AM
gui opens when u touch the block>>
Report Abuse
brunbamse is not online. brunbamse
Joined: 19 Apr 2012
Total Posts: 1107
06 May 2014 08:38 AM
wat
Report Abuse
Vesperus is not online. Vesperus
Joined: 29 Oct 2013
Total Posts: 5146
06 May 2014 08:40 AM
so u touch a block and a gui opens?
Report Abuse
brunbamse is not online. brunbamse
Joined: 19 Apr 2012
Total Posts: 1107
06 May 2014 08:42 AM
no when i click gui1
then all the guis INSIDE gui1
will be visible
and when i click on gui1 again
the guis inside gui1 will be invisible
Report Abuse
Vesperus is not online. Vesperus
Joined: 29 Oct 2013
Total Posts: 5146
06 May 2014 08:45 AM
so for example
gui in corner
gui says 'Open team changer
'choice of the 2 teams
Report Abuse
Polymorphic is online. Polymorphic
Joined: 15 Dec 2010
Total Posts: 8583
06 May 2014 08:58 AM
local FrameToToggle = script.Parent.Parent.GUI1 -- change it pls
local Button = script.Parent.Button -- change it pls

Button.MouseButton1Click:connect(function()
FrameToToggle.Visible = not FrameToToggle.Visible
end)
Report Abuse
Syncretic is not online. Syncretic
Joined: 25 Dec 2008
Total Posts: 11662
06 May 2014 09:00 AM
where is the script located in the GUI
Report Abuse
Crakkitty is not online. Crakkitty
Joined: 25 Dec 2009
Total Posts: 17408
06 May 2014 09:02 AM
FrameStuff = game.Players.LocalPlayer.PlayerGui.ScreenGui.Button.FrameStuff

visible = true

game.Players.LocalPlayer.PlayerGui.ScreenGui.Button.MouseButton1Click():connect(function()

if visible == true then
visible = false
FrameStuff.Visible = false

else

visible = true
FrameStuff.Visible = true

end
end)

just make sure the hierarchy follows the script and that should work
Report Abuse
Polymorphic is online. Polymorphic
Joined: 15 Dec 2010
Total Posts: 8583
06 May 2014 09:02 AM
Anywhere as long as you change the two things relative to where the script is
Report Abuse
Polymorphic is online. Polymorphic
Joined: 15 Dec 2010
Total Posts: 8583
06 May 2014 09:03 AM
@Crak,
#1 - not the best way to go about that
#2 - wouldn't work

>"game.Players.LocalPlayer.PlayerGui.ScreenGui.Button.MouseButton1Click():connect(function()"
>"Button.MouseButton1Click():connect"
>"MouseButton1Click()"

gg no re
Report Abuse
brunbamse is not online. brunbamse
Joined: 19 Apr 2012
Total Posts: 1107
06 May 2014 09:03 AM
how do i do so its more guis than 1
like
i click GUI1
more guis gets visible
i click GUI1 again
all the guis inside GUI1 gets invisible
Report Abuse
Crakkitty is not online. Crakkitty
Joined: 25 Dec 2009
Total Posts: 17408
06 May 2014 09:04 AM

@poly it's 5:30 and i just woke up
qq

~nyaa~
Report Abuse
Crakkitty is not online. Crakkitty
Joined: 25 Dec 2009
Total Posts: 17408
06 May 2014 09:05 AM
@brun

so long as you make the frame invisible, all of its descendants will be hidden

~nyaa~
Report Abuse
Polymorphic is online. Polymorphic
Joined: 15 Dec 2010
Total Posts: 8583
06 May 2014 09:05 AM
@brun,
The parent frame's visibility is "inherited" to all the children. Just put the children frames you want to turn invisible in a single parent frame, then change "FrameToToggle" to wherever the parent frame is. Change "Button" to wherever the button you wanna click is.
Report Abuse
brunbamse is not online. brunbamse
Joined: 19 Apr 2012
Total Posts: 1107
06 May 2014 09:15 AM
am i doing something wrong
i have named the first thing frame since its in frame
second rules
then i placed all the guis inside the rules
with the script
made all the guis inside rules invisible
Report Abuse
Polymorphic is online. Polymorphic
Joined: 15 Dec 2010
Total Posts: 8583
06 May 2014 09:17 AM
ok can you make the gui a model so i can do it for you. i dont think youre understanding.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Club Houses » Clans & Guilds
   
 
   
  • 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