#Ui help/making items apper

1 messages · Page 1 of 1 (latest)

rocky pollen
#

im trying to make code where when i press a button another button apperes, but im geting confused

wise moss
#

what have you tried?

opaque igloo
#

do you want it to toggle or what?

lean barn
#

The person described should say press a textbutton see frame be visible set true with another textbutton inside

rose spruce
opaque igloo
#

For both buttons you’d have to do local button1 = script.Parent.Button1

#

Same thing for button2

#

Then button 2 would initially be hidden so make it button2.Visible = false

#

Then the rest is fine

rose spruce
#

uhhh

rose spruce
#

you can do plr.PlayerGui. whatever his gui is

#

me personally

#

i wouldnt have a local script in the playerGui

rose spruce
opaque igloo
#

if you say so but that's how i wouldve done it

rose spruce
#

i prioritize organization

#

so you know where your scripts are and whats doing what

#

so no i wasnt "wrong"

lean barn
#

Everyone done it if trying

#

The button already visible true

#

Is frame the to be one visible set to true

#

MouseButton1Click and visible set to true for show a frame

#

Frame insert a button