#Ui help/making items apper
1 messages · Page 1 of 1 (latest)
what have you tried?
do you want it to toggle or what?
The person described should say press a textbutton see frame be visible set true with another textbutton inside
local button1
local button2
-- once button 1 is pressed, button 2 will become visible
button1.MouseButton1Click:Connect(function()
button2.Visible = true
end)
That’s wrong
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
uhhh
yyeahh? obviously
and bro i didnt type out the variables i was just putting the variables as a dummy script
you can do plr.PlayerGui. whatever his gui is
me personally
i wouldnt have a local script in the playerGui
so script.parent.button1 wouldnt work in my context
if you say so but that's how i wouldve done it
i dont have messy local scripts in my starterGui
i prioritize organization
so you know where your scripts are and whats doing what
so no i wasnt "wrong"