How To Make a Shop GUI In Roblox Studio | Easy Tutorial |

แชร์
ฝัง
  • เผยแพร่เมื่อ 12 พ.ค. 2024
  • How To Make a Shop GUI In Roblox Studio | Easy Tutorial |
    Opening Frame Script -
    local shopFrame = script.Parent.Parent.ShopFrame -- Change The ShopFrame to your Shopframe if its already ShopFrame ignore it
    script.Parent.MouseButton1Click:Connect(function()
    shopFrame.Visible = not shopFrame.Visible
    end)
    Music In Video - • Jim Yosef - Link | Hou...
  • เกม

ความคิดเห็น • 18

  • @BloxZoom
    @BloxZoom  17 วันที่ผ่านมา

    Opening Frame Script - local shopFrame = script.Parent.Parent.ShopFrame -- Change The ShopFrame to your Shopframe if its already ShopFrame ignore it
    script.Parent.MouseButton1Click:Connect(function()
    shopFrame.Visible = not shopFrame.Visible
    end)

  • @BuckBlaziken
    @BuckBlaziken 14 วันที่ผ่านมา

    As someone who has never done any coding or programming before, all these tutorials are gibberish to me. But I’ve always wanted to create at least one game on roblox. It’s just proving to me having knowledge in fundamentals in anything it’s important before going into stuff as simple as a Shop GUI.

  • @BloxZoom
    @BloxZoom  17 วันที่ผ่านมา +1

    If You Have Any Problems with This Video Reply to This Comment And ill check it out!

    • @honey-6jrbseb
      @honey-6jrbseb 16 วันที่ผ่านมา

      Hello i try your script but have problem. "Attempt to index Visible with nil" error show up maybe shopFrame not ready when script use it. Maybe script run before ShopFrame load or path to ShopFrame wrong. I check by print script.Parent.Parent see if right. Try print if shopFrame there when change visibility.

    • @honey-6jrbseb
      @honey-6jrbseb 16 วันที่ผ่านมา

      I think maybe is metatable issue so I try use metatables for fix this. I set metatable to shopFrame to auto index fields, still not work. Also try wrap shopFrame with pcall to catch errors but no luck. I think need deep debug maybe you look at it.

    • @honey-6jrbseb
      @honey-6jrbseb 16 วันที่ผ่านมา

      Then try use coroutine to delay execution but still shopFrame not show. I even add event listener to see when shopFrame actually load, put logs everywhere to trace load order. Maybe is race condition or scope problem, I try create local function inside function to handle visibility but still same. I out of ideas why script no work.

    • @BloxZoom
      @BloxZoom  16 วันที่ผ่านมา

      @@honey-6jrbsebhi did u change your shop frame to the script because if your shop frame is not same as in the script it won't work.

    • @honey-6jrbseb
      @honey-6jrbseb 16 วันที่ผ่านมา

      Add retry logic with recursive function to keep checking shopFrame till it not nil. Try manipulate environment table, switch from _G to _ENV to see if context change help. Use debug library to step through code, set breakpoints, still stuck.

  • @i_like_money1
    @i_like_money1 16 วันที่ผ่านมา

    i’ll make editing tutorials and u make roblox studio tutorials and we become best buddies, i’ll train editing and i’ll start making editing tutorials and cool videos and maybe we can do a cool collab someday, i have a lot of plans that i want to reach

    • @BloxZoom
      @BloxZoom  16 วันที่ผ่านมา

      Thats A Great Idea!

    • @i_like_money1
      @i_like_money1 16 วันที่ผ่านมา

      @@BloxZoom OMG I JUST NOTICED I GOT 40 VIEWS IN MY VIDEO I MADE 4 DAYS AGO THAT MEANS I GOT 10 VIEWS EVERY DAY

    • @i_like_money1
      @i_like_money1 16 วันที่ผ่านมา

      those are peak numbers for me

    • @BloxZoom
      @BloxZoom  16 วันที่ผ่านมา

      @@i_like_money1 Congrats!

    • @i_like_money1
      @i_like_money1 16 วันที่ผ่านมา

      @@BloxZoom thx