How To Make a GAMEPASS ONLY DOOR | Roblox Studio Guide

Поделиться
HTML-код
  • Опубликовано: 5 окт 2024
  • Hello! In this video I show you how you can make a gamepass only door for your game. this door will only be able to be walked through if the players owns the gamepass.
    danielfantastic Discord:
    / discord
    SCRIPT:
    local GamepassID = 0000000000 -- Change To Gamepass ID
    local GamepassDoor = game.Workspace:WaitForChild("GamepassDoor")
    local function checkGamepass(Player)
    return game:GetService("MarketplaceService"):UserOwnsGamePassAsync(Player.UserId, GamepassID)
    end
    local function openDoorForPlayer(player)
    if checkGamepass(player) then
    GamepassDoor.Transparency = 1
    GamepassDoor.CanCollide = false
    end
    end
    while true do
    openDoorForPlayer(game.Players.LocalPlayer)
    wait(3)
    end
    ______________________________
    Robux Giveaway for 100 subs??
    Let Me Know In The Discord.
    Thank You For Watching!
    Like and Subscribe For More Videos Like This!

Комментарии • 70

  • @That_DummmY
    @That_DummmY 3 месяца назад +9

    Idk if im only one but it doesnt work for some reason

  • @Nothing123-q4o
    @Nothing123-q4o 13 дней назад +1

    Thank you so much i try to find tutorials like this but they never worked but you saved me thank you so much

  • @timucinsahin739
    @timucinsahin739 Месяц назад +2

    thank you so much

  • @Eithannnn
    @Eithannnn 5 месяцев назад +5

    Danielfantastic(u are a fantastic youtuber) can u make a car gamepass?Like u buy a gamepass for 800 and after that u have access to the cars, no worries if u can’t do that vid

  • @Doggys-Stuff
    @Doggys-Stuff 4 месяца назад +4

    tysm my man

  • @Thebros281
    @Thebros281 8 дней назад

    THANK YOU SO MUCH

  • @grandpadave809
    @grandpadave809 Месяц назад +1

    for ne it didnt work i did all the steps right it dosent work, can you please tell me why though?

  • @not_oblivious
    @not_oblivious 4 месяца назад +2

    thank you so much! it actually works, all the other videos didnt!

  • @iAdriOfficial
    @iAdriOfficial Месяц назад

    Tysmm! This helped me SOOOO MUCH and works. Plus its easy. I would definitely recommend this! (+1 subscriber and like)

  • @Stinkymonkeyyt
    @Stinkymonkeyyt 3 месяца назад

    yay now I can add a game pass only morph in my Roblox rp game

  • @BunnyGamingCrew
    @BunnyGamingCrew Месяц назад +1

    TYSM

  • @austinjknu
    @austinjknu 5 месяцев назад +2

    Thank You It Works!

  • @ElectrYspeed69_GD
    @ElectrYspeed69_GD 3 дня назад

    i put the gamepass id in the script template, so that roblox can identify that i made the gamepass that i bought meaning that i automatically have it in my iventory and the door should open even though it didn't work, why?

  • @YourNormalTexan
    @YourNormalTexan 5 месяцев назад +1

    for some reason, when i put in the gamepass it didnt work

  • @ballonball6824
    @ballonball6824 3 месяца назад

    THANK YOU SO MUCH FOR GAMEPASS KEEP IT UP

  • @TrapWarsTW
    @TrapWarsTW 5 месяцев назад +1

    ty so much

  • @SAMYISCOOL123
    @SAMYISCOOL123 4 месяца назад +1

    PLLSSS HELP ME I CANT MAKE IT WORK

  • @max20gaming
    @max20gaming 3 месяца назад

    Dude Thanks Alot!

  • @Artiut
    @Artiut 5 месяцев назад +2

    danielfantastic, can you make a td game?

  • @XxKingVRTOS
    @XxKingVRTOS 3 месяца назад

    yo bro, Im doing everything you've told other people to do if their door didn't work, and I wanted to know if I can share the game with you, because I have no idea what I'm doing wrong

    • @ThePenP-P
      @ThePenP-P 2 месяца назад

      not working for me either

  • @MjStackz
    @MjStackz 3 месяца назад

    Thanks bro it worked!!!

  • @agaliege
    @agaliege 2 месяца назад

    THANK YOU SOOO MUUUCHHH❤❤❤❤❤❤❤❤

  • @MRR_RYANYT
    @MRR_RYANYT 3 месяца назад

    UNDERRATED

  • @PapaJohno
    @PapaJohno 3 месяца назад

    brother, I wanted to ask, when a player has not bought a gamepass, if he comes to this door, will he have an offer to buy? I checked on my second account and it's not there. How can I fix this?

  • @zahraworks315
    @zahraworks315 2 месяца назад

    Wait It worked alot how will ppl buy it? Were is the buy button? Can u do it for other video?

  • @MohamedTaharAitSaid
    @MohamedTaharAitSaid 3 месяца назад

    tysm man!

  • @stinky-593
    @stinky-593 Месяц назад

    Danielfantastic what do I do if it doesn't open even though I have the pass

  • @TheFlyingWrench888
    @TheFlyingWrench888 2 месяца назад

    did this over and over not working, maybe i have other scripts in game affecting it

  • @uzizls
    @uzizls 2 месяца назад

    i luvvvvv uuuuu it worked

  • @SSKSLG
    @SSKSLG 5 месяцев назад

    no offense tho ur a good dev (better then me)

  • @DylanP-yg3zg
    @DylanP-yg3zg 2 месяца назад +1

    your channel is so underrated!!!

  • @SSKSLG
    @SSKSLG 5 месяцев назад +1

    hey this doesnt work when i played the game the foor didint open

    • @danielfantasticstudio
      @danielfantasticstudio  5 месяцев назад +1

      Copy the asset id from the url, and if that doesn’t work copy the asset id through the three little dots on the game.

    • @SSKSLG
      @SSKSLG 4 месяца назад

      @@danielfantasticstudio oh thanks it works now!

    • @MotivationlSPKR
      @MotivationlSPKR 3 месяца назад

      @@danielfantasticstudio i have been trying that to and i just dont know why it wont work

  • @TimothyDalton-ie7zs
    @TimothyDalton-ie7zs 3 месяца назад

    it didnt work for me :( idk why but thank you either way!

  • @Gojoplays123
    @Gojoplays123 2 месяца назад

    why it no work :(

  • @Kubx1412
    @Kubx1412 2 месяца назад

    Thx

  • @themeltinggamer199
    @themeltinggamer199 День назад

    Does not work

  • @Sketchy_goose
    @Sketchy_goose Месяц назад

    Didn’t work…

  • @raidman3711
    @raidman3711 3 месяца назад

    thanks

  • @BaconBoy99-i3e
    @BaconBoy99-i3e 2 месяца назад

    exactly

  • @AngelLopeziscringe
    @AngelLopeziscringe 2 месяца назад

    dosent work :(

  • @Jasmineou1108
    @Jasmineou1108 4 месяца назад

    ty!!!!!!!!!!

  • @Teletubbieedits
    @Teletubbieedits 2 месяца назад

    What is true do

  • @FhartFamm
    @FhartFamm 5 месяцев назад

    when i add a second gamepass door it doesnt open

    • @not_oblivious
      @not_oblivious 4 месяца назад

      I dont know if i can help you because i cant script that well, but if your trying to make the door open if you have 2 gamepasses, then maybe in the ID you can say "(ID) or (ID)", and if you want both then "(ID) and (ID)" but as said before i cant script. however you can duplicate the wall and put it a bit behind the other wall and make it activate from 2 different gamepasses in the script, as for the or part, you can divide the wall and make 2 doors, with the different gamepass ID, if you need any help then let me know

  • @Ameer-gaming236
    @Ameer-gaming236 3 месяца назад +1

    It didn’t work

    • @Gamingbright1120
      @Gamingbright1120 3 месяца назад

      Same

    • @Rares-001
      @Rares-001 3 месяца назад

      You didn't do it correctly probably

    • @carlospecanha1826
      @carlospecanha1826 17 дней назад

      ​@@Rares-001 i followed step to step of this video and didn't work for me too, it's not my fault, probably it's a bug

    • @Rares-001
      @Rares-001 16 дней назад

      @@carlospecanha1826 it worked in my roblox studio version

    • @Rares-001
      @Rares-001 16 дней назад

      @@carlospecanha1826 maybe your version wasn't the correct one and the scripts were outdated

  • @Jasmineou1108
    @Jasmineou1108 4 месяца назад

    omg

  • @MiloVenus_W
    @MiloVenus_W 2 месяца назад +1

    I would like more ; u pay the door to pass, the door opening cost itself and not a game pass permit just pass

  • @giapsi6776
    @giapsi6776 Месяц назад

    THANK YOU SO MUCH