How to make a CODE DOOR in ROBLOX! (FREE KIT)

Поділитися
Вставка
  • Опубліковано 12 січ 2025

КОМЕНТАРІ • 194

  • @monkeydeveloper
    @monkeydeveloper  Рік тому +11

    Join the Discord Server! discord.gg/9PcAgJ7USm

  • @Sprite404
    @Sprite404 Рік тому +30

    In case you dont know much about scripting and want that script for a piece of paper, here is the script I wrote:
    local correctcode = game.Workspace.CodeDoor.CorrectCode
    local text = script.Parent
    text.Text = correctcode.Value

    • @tooburntoast
      @tooburntoast Рік тому +2

      wait im confused where it says correct code do we put the correct code? orrrr

    • @205BombBlitz
      @205BombBlitz Рік тому +1

      Its not working

    • @futureforanim
      @futureforanim Рік тому +2

      yes thank you so much, it works but I fix the correct code to
      local correctcode = game.Workspace["Code Door"].CorrectCode
      local text = script.Parent
      text.Text = correctcode.Value
      bc CodeDoor value is a model so I fix to that and my it works

    • @Theamazingbrooke
      @Theamazingbrooke Рік тому

      @@futureforanimfor me it still doesn't work.

    • @sewyronaldo2021
      @sewyronaldo2021 11 місяців тому

      @@futureforanim where do I put the local script in?

  • @m47b
    @m47b Рік тому +3

    Thank you so much for making this, i have been struggling to get a code or even a model to be like that. I appreciate every effort you have put into this model, once again thank you!

  • @Graveesz
    @Graveesz Рік тому +2

    DUDE LITERALLY A LIFE SAVER THABK YOUUU

  • @stickboigamers
    @stickboigamers Рік тому +12

    just subbed :)
    (also can you make the tutorial on how to make the code generate on a paper im new to scripting)

    • @360-gamer57
      @360-gamer57 10 місяців тому +2

      It’s sad he did not reply because I’m asking that question too 💀

  • @UnimportantHumanBeing
    @UnimportantHumanBeing Рік тому

    OMG THIS IS THE FIRST TIME ONE OF THESE WORKS TYSM!

  • @KYKYKYKYKYKYKYKYKY
    @KYKYKYKYKYKYKYKYKY Рік тому +3

    love the video great work!!!!

  • @Qbix1234official
    @Qbix1234official Рік тому +4

    You have 3K subs?! Good job man! I remember when you had 60

  • @zhuves
    @zhuves Рік тому +4

    If anyone doesn't know how to make their own code an easy way is to just make the generator range both the same number (your code)

    • @il4823
      @il4823 11 місяців тому

      Change the number only???

    • @RandomPlaneMan
      @RandomPlaneMan 3 місяці тому

      Smart

    • @SUPERCreativeName536
      @SUPERCreativeName536 3 місяці тому

      thanks!! i needed this

    • @ultra_V11
      @ultra_V11 2 місяці тому

      or just delete the generate script and change the "correct code" value to ur code

  • @Disjns
    @Disjns Рік тому +2

    Wait can you tell me how to change those code in roblox studio pls??

    • @Disjns
      @Disjns Рік тому

      Like how to find that code where put it

  • @Deon221johnson-ue50q
    @Deon221johnson-ue50q Рік тому +3

    Oh nice thank you ❤

  • @parxgamer7347
    @parxgamer7347 Рік тому +4

    how do i get the piece of paper to have the code on it? im new to coding and know nothing

    • @a_thiing
      @a_thiing Рік тому +12

      OK so heres what you need to do
      Step 1: In the Code Door model, click on CorrectCode.
      Step 2: Insert a part in CorrectCode (You can name the part whatever you want.)
      Step 3: Insert a SurfaceGui in the part.
      Step 4: Insert a TextLabel in the SurfaceGui.
      Step 5: Click on the TextLabel that you inserted, go to properties, and scroll down until you find "Size" set the value to {1, 0},{1, 0} (Doing this makes the text fully fit the size of the part)
      Step 6: Drag the Generator script into the text Label
      Step 7: Delete everything in the Generator script and put in the following code:
      local GenerateCode = math.random(1000, 9999)
      local CorrectCode = script.Parent.Parent.Parent.Parent
      CorrectCode.Value = GenerateCode
      script.Parent.Text = GenerateCode

    • @a_thiing
      @a_thiing Рік тому

      @user-uc1kf2tk6o you have to insert a surfacegui, just right click on the part, click insert, and scroll down until you find an option that says surfacegui

    • @parxgamer7347
      @parxgamer7347 Рік тому +2

      @@a_thiing got it. thanks!

    • @a_thiing
      @a_thiing Рік тому

      @@parxgamer7347 np!

    • @iyasmara2407
      @iyasmara2407 Рік тому +2

      @@a_thiing thanks

  • @GingeerEditz_
    @GingeerEditz_ 9 місяців тому

    Thank you!,this really help me!

  • @PixieX-YT
    @PixieX-YT 9 днів тому

    To make your own code input your specific code in CorrectCode.Value in the generator script. i.e. CorrectCode.Value = your code
    Dont change anything else in the script

  • @zippy6635
    @zippy6635 Рік тому +1

    Nice video!

  • @87bites
    @87bites Рік тому +2

    I was wondering, how do you make the code a different number (specific ones) in each server?

  • @GavinSansom
    @GavinSansom Рік тому

    Ty for making this, now I can make my horror game more fun. TYSM

  • @mr.tophat0974
    @mr.tophat0974 Рік тому

    Nice work 👍

  • @FVILEX_ONYT
    @FVILEX_ONYT Рік тому +2

    Hey! I got a amazing idea tht might help other people too with making their game. Could you make a part that triggers a Animation Event. Something like you're in a hallway and you touch an invisible part that triggers a animation of a rig module a few studs away from you. And that also only plays once, Its not actually a jumpscare but i think you get the idea what i mean.. It woud be very helpfull if you could make that! Also i have been using your tips , Tricks, and kits. Alot to figure out more developing stuff.. Thank you.

  • @bleeep97
    @bleeep97 7 місяців тому +6

    wait so whats the code?

    • @wind-chalit
      @wind-chalit 6 днів тому +1

      you can put your own code just deleting, after value you must delete that an put the code you want

  • @filmayoubandsimo2532
    @filmayoubandsimo2532 Рік тому

    Nice video! 👍👍

    • @monkeydeveloper
      @monkeydeveloper  Рік тому +1

      Thank you!

    • @CHEESEVIDDS
      @CHEESEVIDDS Рік тому

      @@monkeydeveloper how do you make the paper with the code

    • @lordwipes376
      @lordwipes376 Рік тому

      @@monkeydeveloper yeah how

    • @nadiafrancischini8813
      @nadiafrancischini8813 9 місяців тому +1

      @@monkeydeveloper i wanna know how the fuck i make only ONE code, i dont want a random code.

  • @steakwon6652
    @steakwon6652 Рік тому +3

    how do you make it so that the code pops up on the screen after a certain amount of time??

    • @bloxmanlikezcola
      @bloxmanlikezcola Місяць тому

      make a gui and type the gui for a example
      screengui.textgui.visible = false
      wait (60) --means how much time till the gui pops up
      screengui.textgui.visible = true
      wait(5) --how many seconds till the gui disapears
      screengui.textgui.visible = false

  • @divesdev
    @divesdev 7 місяців тому +1

    How do u make random code per server?

  • @Spicichurro
    @Spicichurro Рік тому +2

    Can you script it to where the door will close after a couple of seconds?

  • @STEAVM
    @STEAVM Рік тому

    amazing video

  • @ss0ulzzzz
    @ss0ulzzzz Рік тому +1

    How do I generate the code for the script because the surfacegui for the text label didn't work.

    • @SpadzVR
      @SpadzVR Рік тому +1

      Try rotating the part because it’s most likely that the text is on the other side.

  • @Xylopixels
    @Xylopixels Рік тому +1

    can you make it so the code is randomly generated per person/server

    • @Bye_SOUL
      @Bye_SOUL Рік тому

      thats what I'm sayin lol

  • @ivanlumilux1031
    @ivanlumilux1031 3 місяці тому

    Can you point me how should this work with * and # buttons? I need this for intercoms in Roblox

  • @LithiumExile
    @LithiumExile Рік тому +1

    Can you add hiding spots to your horror game kit?

    • @Reikizen0
      @Reikizen0 Рік тому +2

      you can just make anchored transparent part with collision off so player can go inside and the npc's pathfind will thinks there's an obstacle to get to the player and will ignore and go back to waypoint.

    • @YourLocalMonkey1
      @YourLocalMonkey1 Рік тому

      @@Reikizen0 yoooo ty

  • @_thatonegoat_
    @_thatonegoat_ Рік тому +1

    im wondering if you can actually make the door close after a bit, like a minuet or so

  • @tkhangamer
    @tkhangamer 7 місяців тому

    How do we know what the correct code is and how do we change it. Pls help me!

  • @Green_Boi2122
    @Green_Boi2122 6 місяців тому

    one question how do you set a text from a script?

  • @KnuxzP
    @KnuxzP Рік тому +1

    can you show us how to make a game like left 4 dead series? i wanted to make the beatdown thing that the special zombies do, if you do i'll be really appreaciated, these videos help out alot.

    • @randomboxes6973
      @randomboxes6973 Рік тому

      search for it on youtube, some people have made the zombie special grabbing animations free to use.

  • @ZanRBLZ
    @ZanRBLZ Рік тому +2

    idea: each number has a location to find out, make the numbers random and different locations so the game isnt boring

  • @slopris
    @slopris Рік тому +2

    The door doesnt open when i put in the correct code how do I fix?

    • @010Blazer
      @010Blazer 6 місяців тому

      how do i see the correct code

  • @Xenolithis_
    @Xenolithis_ 11 місяців тому

    How do you make the door close after a few seconds so someone else types it too

  • @JoshuaOrot-w3b
    @JoshuaOrot-w3b 2 місяці тому

    where do i put the right numbers im confused

  • @Akanekichi
    @Akanekichi 15 днів тому

    Why doesn’t the door open when I enter the correct code?

  • @YourLocalMonkey1
    @YourLocalMonkey1 Рік тому

    hey can you add flickering lights?

  • @epsilon-11999a
    @epsilon-11999a 8 місяців тому

    how do i make the door larger/change the door but not the size of the keypad

  • @V.E.R.K.E.R.X
    @V.E.R.K.E.R.X Рік тому

    How to add walking animations to your monster in ur horror game kit

  • @MrxDerpReal
    @MrxDerpReal Рік тому

    can you show the code that displays the code on a piece of paper?

  • @DanyZGone
    @DanyZGone Місяць тому

    How can I make it not random?

  • @DLXOO_IS
    @DLXOO_IS Рік тому

    how to change the code ? plz help ! plz

  • @MetJah
    @MetJah 11 місяців тому

    When I try to change the correct code value to have a 0 as the first number, it gets rid of tue 0 and the code does not work. Is there a way to fix this?

  • @ApeirophobiaGuy
    @ApeirophobiaGuy Рік тому

    Hello i have answer
    I set up the dummy what will chase player from horror kit how u said but he still dont work and he dont chase player if i play test my experience

  • @Kayspoks
    @Kayspoks Рік тому

    where do I put the code in so I can make the door work?

  • @Xylopixels
    @Xylopixels Рік тому

    oh you changed your name, ngl it suits you better 👍

  • @severalhvarts
    @severalhvarts 7 місяців тому

    Hey dude can you tell me how to close the door?

  • @cruzfty7
    @cruzfty7 Рік тому

    Monkey dev it’s me Bigdog nice video man

  • @ItsBlueRay
    @ItsBlueRay Рік тому

    how do you make the white outline on the door when you point at the door?

  • @munster.voidASMR
    @munster.voidASMR 11 місяців тому

    how do you create your OWN code? like one that you know that goes for every server?

    • @minnyfighter
      @minnyfighter 11 місяців тому

      im not sure if this is what you mean, but if you want a code to apply and it doesnt change, go into the correct code value script and replace the math.random with your numbers. happy to help!

  • @mohammadayaanfaisal2299
    @mohammadayaanfaisal2299 Рік тому

    Can 5 digit codes go into the code door?

  • @tryfsite
    @tryfsite 7 місяців тому

    if u dont want it to generate and what you code here it is:
    local CorrectCode = script.Parent
    local GenerateCode = (Your code
    )
    CorrectCode.Value = GenerateCode

  • @mêvịt-q7o
    @mêvịt-q7o Рік тому

    How to do 1 is yes but not random, please answer ?

  • @xaxu_swag
    @xaxu_swag Рік тому +3

    how do you make it where it isnt a generated code?

    • @FluxitesOtherChannel
      @FluxitesOtherChannel Рік тому

      Set the random code script so that it will always generate the number you want

    • @DaphantomsQ
      @DaphantomsQ Рік тому

      @@FluxitesOtherChannelbut how?

  • @ipostrandomstuffs5582
    @ipostrandomstuffs5582 7 місяців тому

    I still dont understand which line in the script can put the code

  • @magiclearning336
    @magiclearning336 7 місяців тому

    How do we make it different every time

  • @Rutharless
    @Rutharless 3 місяці тому

    How do I make it so that each paper has one of the numbers needed for the code?

    • @HannahMariee777
      @HannahMariee777 9 днів тому

      If you still need to know how to do it heres how I did it:
      Step 1: Make 4 parts with a surface gui so you can put text labels in them
      Step 2: Name each of your parts so they stay organized, e.g. Part1, Part2, Part3, Part4
      Step 3: Insert scripts into each of the surface guis
      Step4: Identify the name of your door (You might need to change this in each of the scripts)
      Here's the script. Edit accordingly and adjust to your preferences if needed:
      Put this inside your Part1
      -----------------------------------------------------------
      -- This script goes into the script inside Part1
      wait(1) -- Give it some time for the code to generate
      local correctCode = game.Workspace.CodeDoor.CorrectCode -- Reference the CorrectCode value. You can edit the name of the door if you need to
      local textLabel = script.Parent:FindFirstChild("TextLabel") -- Get the TextLabel inside Part1
      -- Ensure the TextLabel exists
      if textLabel then
      local code = tostring(correctCode.Value) -- Convert the generated code to a string
      textLabel.Text = code:sub(1, 1) -- Set the TextLabel to the 1st digit
      end
      -------------------------------------------------------------
      Copy this script into each of the surface guis inside of the parts, but change (1, 1) to the correct digit
      like if its Part2 then change it to (2, 2)
      Part 3 - (3, 3)
      Part 4 - (4, 4)
      This is what worked for me so if you're having issues let me know so I can help

    • @Rutharless
      @Rutharless 9 днів тому

      @@HannahMariee777 you're the goat

  • @StarryGameGoddess
    @StarryGameGoddess 4 місяці тому

    how to do know what the code is?

  • @Flawless-Entertainment1
    @Flawless-Entertainment1 Рік тому

    Can you make walls for the realistic horror game please

  • @fatboi33
    @fatboi33 Рік тому +2

    PLEASE MAKE A HIDING FEATURE!!!

  • @LittleSpikyPeper
    @LittleSpikyPeper Рік тому

    hello whens the next door episode?

  • @iliasiosifidis2631
    @iliasiosifidis2631 Рік тому

    yo I've spent about 2 hours trying to do the paper that says the code and didn't make it, please could you write me the script? :( I would really appresiate it

  • @realxypros
    @realxypros 20 днів тому

    You can create you own code just do this instead of generating a random code:
    local CorrectCode = script.Parent
    local GenerateCode = (thecodeyouwant)
    CorrectCode.Value = GenerateCode

  • @Likevr56
    @Likevr56 Рік тому

    How do i make my code?

  • @cosmicpurple897
    @cosmicpurple897 Рік тому

    Yo can you make a tutorial on customizing the monster from ur horror series

  • @Mxruka
    @Mxruka 5 місяців тому

    It works but the door won’t open 😭

  • @iliasiosifidis2631
    @iliasiosifidis2631 Рік тому

    I don't understand how to do that with the code and the paper.

  • @paulwilliam4702
    @paulwilliam4702 7 місяців тому

    how do i know the correct code?

  • @axoproxity1042
    @axoproxity1042 Рік тому

    Why if i interact a door it doesnt work

  • @Bye_SOUL
    @Bye_SOUL Рік тому

    can u make it randomly genorate a code on the paper??

    • @wasnexhere
      @wasnexhere Рік тому

      didn't he said that in the video?

    • @loveliq
      @loveliq Рік тому

      yes but i cant hear what he says @@wasnexhere

  • @Xenolithis_
    @Xenolithis_ 11 місяців тому

    I finally found a door that could work, but it wont close -_-

  • @JoshuaOrot-w3b
    @JoshuaOrot-w3b 2 місяці тому

    how to make your own code and not generated

  • @BinhNguyen-gn5yu
    @BinhNguyen-gn5yu 6 місяців тому

    How will i know the code

  • @derekward8133
    @derekward8133 5 місяців тому

    make it so it closes in a couple minates so the next person has to gues the code

  • @Anotot_
    @Anotot_ Рік тому +1

    will it close later?

  • @evoelvis
    @evoelvis Рік тому

    The script in the generator just said “ print (Hello World!) “

  • @serwaxsg
    @serwaxsg 5 місяців тому

    When the code is correct, de door stay close i think bcs she don't have script, someone can give me the script pls ?

  • @JayFellaMSM
    @JayFellaMSM Рік тому

    There’s a script so I opened it to find no code inside. And the door won’t open when I type the right code :(

    • @serwaxsg
      @serwaxsg 5 місяців тому

      do you have the answer now pls ? I have the same prblm

    • @JayFellaMSM
      @JayFellaMSM 5 місяців тому +1

      nope

  • @aytaccavlak9089
    @aytaccavlak9089 Рік тому

    I cant insert the code into the paper.

  • @brandybrown2368
    @brandybrown2368 10 місяців тому

    whats the code for it

  • @bruhimrayalt
    @bruhimrayalt 6 місяців тому

    when i input my code the door makes the right noise but it doesnt open???????//

    • @serwaxsg
      @serwaxsg 5 місяців тому

      yeah me too, do u now why or not ?

    • @bruhimrayalt
      @bruhimrayalt 5 місяців тому

      @@serwaxsg nope

  • @MrMonkeyVr651
    @MrMonkeyVr651 11 місяців тому

    Ummm the door works but it doesn’t open if i type in the correct code, can someone help me pls

    • @serwaxsg
      @serwaxsg 5 місяців тому

      do you have the answer now ?

  • @stickboigamers
    @stickboigamers Рік тому +2

    PLS HELP ME THE DOOR DOESNT WORK

  • @King_bull85
    @King_bull85 Місяць тому

    How to close door

  • @Tswonk
    @Tswonk 4 місяці тому

    Ni siquiera a lo inglés pero lo entendí 😅

  • @JaceAvalos
    @JaceAvalos Рік тому

    why is my comment gone this always happens for some reason.

  • @GabrielaTaylorCoach
    @GabrielaTaylorCoach Рік тому

    I cloud not find the exact door you used!

  • @Kn00xxy
    @Kn00xxy Рік тому

    ty

  • @ss0ulzzzz
    @ss0ulzzzz Рік тому

    Why is the code 0000?

  • @Anotot_
    @Anotot_ Рік тому +1

    my door isnt opening

    • @N9k475
      @N9k475 7 місяців тому +1

      +

  • @blobloxergamer8337
    @blobloxergamer8337 8 місяців тому

    HOW DO I EVEN USE THIS

  • @Gizmo_GAMES_vr
    @Gizmo_GAMES_vr 9 місяців тому

    Your generator doesn’t work and the door is bugy

  • @idontknowwhatz
    @idontknowwhatz Рік тому

    please make slap battles tutorial

  • @FENDOM217Official
    @FENDOM217Official Рік тому +2

    lol. u play doors cuz u made vitamins.

  • @enginbayraktar9431
    @enginbayraktar9431 Рік тому

    how to add my code !!! ?

  • @bobbob-nc2ed
    @bobbob-nc2ed Рік тому +1

    yum

  • @evoelvis
    @evoelvis Рік тому +1

    It did not work

  • @LikePlays459
    @LikePlays459 Рік тому

    add this idea button door fake door