menu
Roblox Forum Archive
Home
User Search
Forums
Donate
search
settings
Home
User Search
Forums
Donate
launch
Go to User Dashboard
Forums
Scripters
Gui onClick GUI?
chevron_left
chevron_left
chevron_left
of
1
chevron_right
chevron_right
chevron_right
Gui onClick GUI?
SingleSided
Join Date: 2012-03-23
Post Count: 1241
#159653858
Wednesday, April 08, 2015 12:34 AM GMT
If I wanted to make an onClick Gui, that once you click it another Gui will pop up... How would I do so? (I click the GUI and another GUI pops up)
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
Sunsteel_Strike
Join Date: 2011-02-05
Post Count: 6333
#159654154
Wednesday, April 08, 2015 12:39 AM GMT
So when someone clicks, inside your onClick function, make it set the GUI that you want appear's visible value as true. so: TextButton.MouseButton1Down:connect(function() otherGUI.Visible = true end)
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
SingleSided
Join Date: 2012-03-23
Post Count: 1241
#159720510
Wednesday, April 08, 2015 10:43 PM GMT
What if I want to clone the Gui into the player?
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
TimeTicks
Join Date: 2011-04-27
Post Count: 27115
#159720734
Wednesday, April 08, 2015 10:45 PM GMT
player = game.Players.LocalPlayer Gui = script.Parent Gui:Clone().Parent = player
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
chevron_left
chevron_left
chevron_left
of
1
chevron_right
chevron_right
chevron_right