(BEGINNER FRIENDLY)How to make a OPEN/CLOSE GUI in Roblox Studio
Vložit
- čas přidán 6. 09. 2024
- How to make a OPEN/CLOSE GUI in Roblox Studio
This tutorial is beginner friendly
SCRIPT:
local Button = script.Parent.Parent.ShopGui
local Close = script.Parent.Parent.ShopGui.TheX
script.Parent.MouseButton1Click:Connect(function()
Button.Visible = true
Close.Visible = true
end)
script.Parent.Parent.ShopGui.TheX.MouseButton1Click:Connect(function()
Close.Visible = false
Button.Visible = false
end)
If you need help or are having any issues please comment and I'll try to answer and help you as quick as possible!
local Button = script.Parent.Parent.ShopGui
local Close = script.Parent.Parent.ShopGui.TheX
script.Parent.MouseButton1Click:Connect(function()
Button.Visible = true
Close.Visible = true
end)
script.Parent.Parent.ShopGui.TheX.MouseButton1Click:Connect(function()
Close.Visible = false
Button.Visible = false
end)
No cap like im fr if it doesnt work for you your doing it wrong, amazing tutorial zero problems and creator replys to every problem 10/10
I am trying to make it so when I click on a GUI that opens when I touch part it opens into another GUI and I don’t know how to do that so can you tell me?
I don't understand if you could explain it more I'll see if I can make a video about it
how do you customise so that the button that closes the shop is a red X ?
Text button
everything worked but the X other than that its amazing
Dude your the best, every other vid I watched ither didn't work or was so complicated.
When i click the x and i open the gui again the x is gone what do i do?
connect it with the frame
It’s not working when I press shop
Make sure the names of the ui is the same as the one in the script
only the X dissapears how to fix that?
Make sure you also include the other parts of the gui where it turns invisible
thx it works now
not working i cant open shop
You did something wrong cuz it still works for me
I can't open shop becus the script to open shop not works, but i Have script to open frame Now Its working thanks
@@mamradmessi1524 what did you do because my shop wont open
What bro not my tutorial bro
@@mylestimmerman copy and paste the script I put in the comments and just put the names of your gui and stuff
Didnt work for me
You did it wrong. Script is not outdated
already got in game
didn't work and not well explained but good video
What didn't work