How to make a touch a part to open shop in roblox studio

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ก.ย. 2024
  • Today i will be showing you how to make an touch a part to open a frame/shop! I hoped you liked this video and don't forget to subscribe and like! I will be posting more and i will post roblox studio tutorials or just roblox studio videos.

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

  • @Fluffycloudsoftclouds
    @Fluffycloudsoftclouds 2 ปีที่แล้ว +2

    i can close the shop but i can't open it without going to properties and pressing visible so its not working for me
    Edit: Ok nvm its fine i fixed it i put the local script in screengui instead of startergui

    • @hugge6267
      @hugge6267  2 ปีที่แล้ว

      👍

    • @futxwineditz
      @futxwineditz ปีที่แล้ว

      dude same i cant open and i can close, i bot local script in startergui and still dont work????😡💢

    • @hugge6267
      @hugge6267  ปีที่แล้ว

      @@futxwineditz put the script inside of screengui

  • @Iam_Honored
    @Iam_Honored หลายเดือนก่อน +1

    IT WORKED FINALLY,
    I WAS TRYING SO HARD TO THIS
    THX SO MUCH SUBBED

  • @JusT_aAverageNoob
    @JusT_aAverageNoob 9 วันที่ผ่านมา

    I know that his video was made a year ago, but for the people who still need the script.
    local part = game.workspace.OpenQuestPart
    local frame = script.Parent.QuestGui.Quest
    local player = game.Players.LocalPlayer
    part.Touched:Connect(function(hit)
    if hit.Parent - player.Character then
    frame.Visible=true
    end
    end)

  • @kacperbarrett
    @kacperbarrett ปีที่แล้ว +1

    TYSM this worked after alot of editing, but it works really well!

    • @karasu6255
      @karasu6255 ปีที่แล้ว

      Tell me how plz

  • @hyperbloxy5325
    @hyperbloxy5325 ปีที่แล้ว

    nice tutorial...step by step and simple. Keep up the good work bro!

  • @Retro_qe0982
    @Retro_qe0982 9 หลายเดือนก่อน +1

    when i touch the part it wont open

  • @bird3573
    @bird3573 ปีที่แล้ว

    For whatever reason when I test run I can’t even open my gui anymore even with going to properties but when I start the run with the gui open I can close it but not open it

  • @biviqz
    @biviqz ปีที่แล้ว

    it worked tysm

  • @IceVR_
    @IceVR_ 6 หลายเดือนก่อน

    how do I add working items in the shop

  • @Caraqlo231
    @Caraqlo231 หลายเดือนก่อน

    Model plsss

  • @DuckYzYTChan
    @DuckYzYTChan หลายเดือนก่อน

    It took me and hour and the “then” part 5:22 messed it up, no sub.

  • @Pingului_penguin
    @Pingului_penguin 8 หลายเดือนก่อน

    Doesn't work for me
    Edit:what did you script on the second one

  • @BananaVR48
    @BananaVR48 11 หลายเดือนก่อน +1

    ITS NOT WORKING FOR ME

    • @hugge6267
      @hugge6267  7 หลายเดือนก่อน

      What is the error?

  • @Lizzy_123_45
    @Lizzy_123_45 ปีที่แล้ว

    when i touched the part it dosnet open the shop frame did i do something wrong?

    • @napoleon6743
      @napoleon6743 ปีที่แล้ว

      same

    • @hugge6267
      @hugge6267  ปีที่แล้ว +1

      This video is a little bit outdated so what i would do is to either watch my newer video that is more updated or you can do instead of:
      If hit.parent = player.character
      Do instead:
      If hit.Parent:FindFirstChild("Humanoid")
      And that should work If not, you can watch my latest roblox studio video that is more updated!
      Hope it helps!

    • @Lizzy_123_45
      @Lizzy_123_45 ปีที่แล้ว

      @@hugge6267 Thanks

  • @IceVR_
    @IceVR_ 6 หลายเดือนก่อน

    4:32

  • @Seesuvakasinimene
    @Seesuvakasinimene 9 หลายเดือนก่อน

    doesnt and why wont you paste the script in the descreption so i could save my time?

    • @Jorgito4022
      @Jorgito4022 8 หลายเดือนก่อน

      So u can learn from it instead of sticking to copying n pasting every script you see n learn nothing

  • @Sh4n3VR
    @Sh4n3VR หลายเดือนก่อน

    no work

  • @NotDannyYt
    @NotDannyYt 2 ปีที่แล้ว

    I just needed the open script

    • @hugge6267
      @hugge6267  2 ปีที่แล้ว +1

      But it worked?

    • @NotDannyYt
      @NotDannyYt 2 ปีที่แล้ว +1

      Yes

    • @hugge6267
      @hugge6267  2 ปีที่แล้ว +1

      @@NotDannyYt 👍

  • @stvr3s
    @stvr3s ปีที่แล้ว

    dosent work

  • @MurphyFamily0210
    @MurphyFamily0210 ปีที่แล้ว

    It doesn’t

  • @PresidentMelonOfficial
    @PresidentMelonOfficial ปีที่แล้ว

    Not for me sorry, didnt ok

  • @brunokjellgren4528
    @brunokjellgren4528 2 ปีที่แล้ว

    Hugge is back again bitches

  • @zemph_real
    @zemph_real ปีที่แล้ว

    How to make it so the script only runs again if the player steps off the part???

    • @hugge6267
      @hugge6267  ปีที่แล้ว

      You need to make a debounce. So for example:
      local debounce = false
      (When part gets touched)
      If hit.Parent:FindFirstChild("Humanoid") and debounce == false then
      debounce = true
      (all the otyer stuff)
      Wait(how long you want the cooldown to be)
      debounce = false
      end
      end)
      dont copy the script, just add the debounce

    • @zemph_real
      @zemph_real ปีที่แล้ว

      @@hugge6267 thanks but I had a different solution

  • @kalina1795
    @kalina1795 2 ปีที่แล้ว

    𝐩𝐫𝐨𝐦𝐨𝐬𝐦

  • @lazey5470
    @lazey5470 ปีที่แล้ว

    it worked
    thx

  • @MrCharlieChops
    @MrCharlieChops 10 หลายเดือนก่อน

    doesnt work

    • @hugge6267
      @hugge6267  7 หลายเดือนก่อน

      what is the error?