(BEGINNER FRIENDLY)How to make a OPEN/CLOSE GUI in Roblox Studio

Sdílet
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)

Komentáře • 27

  • @LinkinPaw
    @LinkinPaw  Před 5 měsíci +1

    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)

  • @m1k1e27
    @m1k1e27 Před 22 dny

    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

  • @Fish-master302
    @Fish-master302 Před 26 dny

    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?

    • @LinkinPaw
      @LinkinPaw  Před 11 dny

      I don't understand if you could explain it more I'll see if I can make a video about it

  • @m1k1e27
    @m1k1e27 Před 23 dny

    how do you customise so that the button that closes the shop is a red X ?

  • @Some_randomdeveloper
    @Some_randomdeveloper Před 3 měsíci

    everything worked but the X other than that its amazing

  • @TheBulletBrothers
    @TheBulletBrothers Před 5 měsíci +1

    Dude your the best, every other vid I watched ither didn't work or was so complicated.

  • @cl0udie_kr3w
    @cl0udie_kr3w Před 4 měsíci

    When i click the x and i open the gui again the x is gone what do i do?

  • @MubaraqisaW
    @MubaraqisaW Před 2 měsíci

    It’s not working when I press shop

    • @LinkinPaw
      @LinkinPaw  Před 2 měsíci

      Make sure the names of the ui is the same as the one in the script

  • @shadowgaming-hg1kv
    @shadowgaming-hg1kv Před měsícem

    only the X dissapears how to fix that?

    • @LinkinPaw
      @LinkinPaw  Před měsícem

      Make sure you also include the other parts of the gui where it turns invisible

    • @shadowgaming-hg1kv
      @shadowgaming-hg1kv Před měsícem

      thx it works now

  • @mamradmessi1524
    @mamradmessi1524 Před měsícem

    not working i cant open shop

    • @LinkinPaw
      @LinkinPaw  Před měsícem

      You did something wrong cuz it still works for me

    • @mamradmessi1524
      @mamradmessi1524 Před měsícem

      I can't open shop becus the script to open shop not works, but i Have script to open frame Now Its working thanks

    • @mylestimmerman
      @mylestimmerman Před 28 dny

      @@mamradmessi1524 what did you do because my shop wont open

    • @mamradmessi1524
      @mamradmessi1524 Před 27 dny

      What bro not my tutorial bro

    • @LinkinPaw
      @LinkinPaw  Před 27 dny

      @@mylestimmerman copy and paste the script I put in the comments and just put the names of your gui and stuff

  • @bernniebitok_1
    @bernniebitok_1 Před 24 dny

    Didnt work for me

    • @LinkinPaw
      @LinkinPaw  Před 19 dny

      You did it wrong. Script is not outdated

  • @Nikabully
    @Nikabully Před 5 měsíci

    already got in game

  • @DaFunPlayzYT
    @DaFunPlayzYT Před 4 měsíci +1

    didn't work and not well explained but good video