ACTUAL Doors - Doors Game Tutorial #3

Поделиться
HTML-код
  • Опубликовано: 26 окт 2024

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

  • @gemmken
    @gemmken 2 года назад +139

    I like how he kept the old start room forever lol

    • @GnomeCode
      @GnomeCode  2 года назад +81

      It's iconic!

    • @DaRealNoobKing
      @DaRealNoobKing 2 года назад +6

      lol

    • @DaRealNoobKing
      @DaRealNoobKing 2 года назад +8

      @@GnomeCode lol

    • @ultra_9861
      @ultra_9861 2 года назад +12

      @@GnomeCode if you ever gonna release this game keep it with a gray cube with a bell on it

    • @SourceDevv_
      @SourceDevv_ 2 года назад +9

      @@GnomeCode It's the best starting room I've ever seen xD

  • @star80doessdastuff
    @star80doessdastuff 2 года назад +15

    If gnomecode and griffpatch got together, they would be unstoppable.

    • @godzil7
      @godzil7 2 года назад +1

      they will be unstoppable

  • @blockinteractiveroblox
    @blockinteractiveroblox 2 года назад +9

    I love this series so far! Keep making new episodes

    • @alvaro-sf7kg
      @alvaro-sf7kg 2 года назад

      How did u comment 12 hours ago?

    • @Lexiplaysroblox
      @Lexiplaysroblox 2 года назад +1

      @@alvaro-sf7kg the vid was unlisted

  • @JustBey
    @JustBey 2 года назад +12

    Awesome! You actually gave me a great way on generating rooms in your first video and saw this video on my recommendeds. Cool to see you making a new a project and helping other people GnomeCode =D

  • @PumpyGT
    @PumpyGT 2 года назад +12

    FINALLY
    ANOTHER TUTORIAL, ONE MORE STEP TOWARDS GREATNESS

    • @nika1506n0
      @nika1506n0 Год назад +1

      WHAT DO YOU MEAN MY DOOR NOT PLAY

  • @juliusmagnu
    @juliusmagnu 2 года назад +15

    Amazing series my friend!
    Excited to see how the entities are gonna look like.
    Keep up the good work!

    • @RealUniCat
      @RealUniCat Год назад

      Check out:
      #6 - Hiding in closets: ruclips.net/video/EV6Hjp1DcOk/видео.html
      #7 Making Rush Monster AI: ruclips.net/video/fDIIv-XZbVY/видео.html

  • @Pix_Ule
    @Pix_Ule Год назад +10

    Remember that CFrame can really mess you up with door placement, it can get your door in the wrong orientation and you will have to redo all the exits and entrances all over again.
    so make sure that the door has the SAME orientation as the exits and entrances. but you still have to rotate when its a right or left turn. I hope this helps people

    • @baconbroreal
      @baconbroreal Год назад +3

      i did what you said but it still doesnt work

    • @Pix_Ule
      @Pix_Ule Год назад +3

      ouch

    • @baconbroreal
      @baconbroreal Год назад +2

      so i just welded it all and made it so it teleports the main part thats welded to every other part

    • @Luminosity_Light
      @Luminosity_Light Год назад +2

      nah dude i got the door in the wrong orientation

    • @1_the1st_1
      @1_the1st_1 Год назад +1

      literally got my door in the wrong position and orientation, how to fix pls

  • @caz0gamz
    @caz0gamz 2 года назад +2

    YES ITS OUT!! I was so excited for this!

  • @crowthefurry
    @crowthefurry 2 года назад +6

    Why was this unlisted?! I’ve been searching for ages! You’re doing amazing!

  • @ThePoopleMan
    @ThePoopleMan 2 года назад +1

    Im So Exited For The Next Episode, I Hope It's Aboyt Hiding Places

  • @bluecheese5791
    @bluecheese5791 2 года назад +4

    This series looking good so far! I’m excited to see how the entities work. I’m VERY new to scripting and I’m working on a disaster game. I know the commands and how they work, but that’s it. But not when to start a new line or when to add things like bool and intvalue. Time to watch your roblox studio series!

  • @DavidPlayz1000
    @DavidPlayz1000 2 года назад +1

    I like the fact that you're explaining what to do and then you just have gaps lol, also CONGRATS ON 69K SUBS!

  • @definitelynot_me9851
    @definitelynot_me9851 2 года назад +3

    I absolutely love your videos gnome they've always helped me with a lot of my games keep up the good work

  • @12Duckz
    @12Duckz 2 года назад +6

    Amazing video as always! Keep up the great work ❤

  • @TheMutant_Real
    @TheMutant_Real 2 года назад +5

    Please could you cover how to make room events that aren't generated and always happen at a certain time?

  • @Autistic2118
    @Autistic2118 2 года назад

    i have been waiting for this episode
    THE BEST!

  • @dodimez
    @dodimez 2 года назад +5

    Hey GnomeCode, could you please post more often? I bet that if you did, then everyone would start watching you, since right now there aren't really good doors tutorials yet, and I know that you probably be the only one who will make a good tutorial. ik that you're good at this stuff, but others who don't know you probably aren't.
    overall, you'd probably get many more subscribers and views if you post more often!
    hope you get to 69420 subs!!!

  • @combo366
    @combo366 Год назад +4

    how do I make it so instead of all the rooms generating at once it only generates 1 every time u open a door

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

      (in the for loop halt with and if statement and if door is opened then generate) somet like this

  • @Ikazuri_Dev
    @Ikazuri_Dev 2 года назад +1

    Nice tutorial man! I like how you work so well, making these tutorial videos!!! you deserve 1 Million subscribers

  • @nineleaff
    @nineleaff Год назад +12

    on the *Door.Open(doorModel)* function I recommend adding this after you play the tween so that the player doesn't bump into the door
    *for i, part in pairs(doorModel:GetDescendants()) do* -- Loops through every descendant of the door
    *if part:IsA("BasePart") then* -- Makes sure that the part we found is a physical object
    *part.CanCollide = false* -- Disables collision
    *end*
    *end*

    • @austinvue2015
      @austinvue2015 Год назад

      Na Im fine.

    • @Luminosity_Light
      @Luminosity_Light Год назад

      I made it fine by extending the sensor part

    • @andy-gamer
      @andy-gamer 11 месяцев назад

      What about disabling cancollide

    • @nineleaff
      @nineleaff 11 месяцев назад

      @@andy-gamer thats literally what it does

    • @andy-gamer
      @andy-gamer 8 месяцев назад

      @@nineleaffbut why not just disable cancollide on your door model instead of a script

  • @bennyhurray4891
    @bennyhurray4891 2 года назад +9

    I'm looking forward to seeing how the hiding system will be implemented and how it will affect the entities ai's.

    • @ItzJustTeam
      @ItzJustTeam 2 года назад

      the hiding system is simple. i dont really know how to script it yet but i know how its made in the orginal game. while hiding a hiding animation will play.. but thats not all. you will be set to a team which makes you so rush's and ambush's hitbox will not kill you. when you go out of the hiding spot.. then you will be set to the normal team.

    • @ae-co5ue
      @ae-co5ue Год назад +2

      @@ItzJustTeam Teams wouldn't be used it's more likely a simple attribute called 'Hiding' or something, then just setting it to true / false and checking that when the monster touches you.

    • @oldrusty20
      @oldrusty20 Год назад

      @@ItzJustTeam hmm if you hide and you would be set to another team (which isnt true) then how can you hide behind objects?

  • @Quadrilly
    @Quadrilly Год назад +2

    Quick question, how can i fix the doors not appearing after i wrote that door.Open function?

  • @AppleAdrian56
    @AppleAdrian56 Год назад +2

    in the tween service i cant see the rest of the script pls make your screen bigger

    • @creeperzitoofc1403
      @creeperzitoofc1403 Год назад +2

      I haved this problem too, you just need to go to 16:09 of the video, or just put CFrame = cframe

  • @AmonRusher
    @AmonRusher Год назад

    i started creating my new game using this series thank u so much

  • @bezztube-gaming
    @bezztube-gaming 2 года назад +1

    Finally i've been waiting for this!!!

  • @Milk-cx7ec
    @Milk-cx7ec 2 года назад

    your older videos helped me so much that i was able to add in doors a few days before this video came out

  • @mrscienceguy5817
    @mrscienceguy5817 2 года назад

    Hey your back amazing tutorial again im having so much fun making it cant wait for the Ai part for entities

  • @Boomerlol
    @Boomerlol 2 года назад +1

    Done: amazing series

  • @fire.maniac.
    @fire.maniac. 2 года назад +1

    finally part 3! cant wait for part 4 haha!

  • @Finno776
    @Finno776 Месяц назад +4

    I have a problem.. The door is in the wrong rotation when spawning. it spawns in every room just in the wrong orientation.. how do i fix this?

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

      Instead of putting CFrame.Angles(0, math.rad(100),0)
      Change this part of code from door.Open() to:
      CFrame.Angles(0, math.rad(-100),0)

    • @Kornykk
      @Kornykk 28 дней назад

      Make sure your door model’s primary part is set to Primary (a part you put in the door)

    • @jelleplays
      @jelleplays 21 день назад +1

      @@CR7_Next thanks bro, helped me alot

  • @codeninjas-northwestaustin2344
    @codeninjas-northwestaustin2344 2 года назад +1

    Why do two rooms spawn on my start room? I have a corner room and a long room and together, they look really weird and make it so I can't progress any further.

  • @grgroyale
    @grgroyale 2 года назад +3

    Maybe make a movement system like Door's a custom one so it feels more realistic and fun

  • @LatestOfSpeed
    @LatestOfSpeed 2 года назад +4

    Hey Gnome! I was just wondering if you could upload the models as assets even so that I can use them as a reference as I am struggling with CFrames!

  • @Antiwall_Dev
    @Antiwall_Dev 2 года назад +1

    Wow you are goodest scripter ever i seen you are very cool thank you i appriciate it :D

  • @quackywhackityphillyb.3005
    @quackywhackityphillyb.3005 2 года назад +1

    Another great video by the gnome!

  • @hallowsrandomstuff
    @hallowsrandomstuff Год назад +1

    In the door.New function you could have instead just done:
    local formattedNumber = string.format("%04d", tonumber(number))
    doorModel.Door.Sign.SurfaceGui.TextLabel.Text = formattedNumber

  • @jacobation69
    @jacobation69 Год назад +2

    For some reason when i write the Door ModuleScript it just breaks the entire thing and the rooms don’t load anymore. I decided to delete the entire script and pay attention very closely while rewatching the tutorial, but I got the same result (please help)

  • @A_Rookie
    @A_Rookie 2 года назад +2

    Never made a game, let alone code one, and here I am watching this for some odd reason. Also I think you should probably do a tutorial on how to make previous rooms despawn if you've already went through them.

  • @GreatRamilYT
    @GreatRamilYT 2 года назад +1

    thanks! now im waiting 4th video, and rush/ambush system :)))
    (im subscribed! =)... )

    • @PersonianOld
      @PersonianOld 2 года назад

      I think he should do things such as:
      Proper Starting Room
      The puzzles and locked doors (because some doors in Doors are locked and you need a key)
      Those two things, in my opinion is what I would do before implementing hiding or anything like that.

  • @kittieKicunya
    @kittieKicunya 2 года назад

    Finally we have waited for a new tutorial!

  • @GartenOfOST
    @GartenOfOST Год назад +1

    I need help because my door won’t open for some reason??? Could you give me a list of stuff that I can check to resolve this problem?

    • @maemgi1312
      @maemgi1312 Год назад

      I’m having that problem too!

    • @GartenOfOST
      @GartenOfOST Год назад +1

      @@maemgi1312 and also my rooms won’t generate anymore

    • @riadabdeddine1109
      @riadabdeddine1109 29 дней назад

      me too

    • @GartenOfOST
      @GartenOfOST 29 дней назад

      @@riadabdeddine1109 yeah it’s been a year and I gave up for short lmao. i have been doing different doors testing games though

  • @DW-fz1lm
    @DW-fz1lm Год назад +1

    Please help. When i try to do the number script it wont generate any of the rooms. Idk why no errors so what?

  • @crystyl
    @crystyl 2 года назад +4

    How accurate are you planning to go with this? Will things like the exact entities, dark rooms or room 50, 100 and the seek chases be included?

    • @MaxGamerFun
      @MaxGamerFun 2 года назад +1

      Idk if my other reply got sent but basically he'll probably make it exactly the same except he'll make different designs for the entities. In his piggy game tutorial, he made Piggy a teddy bear.

    • @crystyl
      @crystyl 2 года назад

      @@MaxGamerFun oh cool!

    • @PersonianOld
      @PersonianOld 2 года назад

      I honestly would want a little of both tbh. Maybe add the monsters from the actual game but also add his own monsters.

    • @godzil7
      @godzil7 2 года назад

      @@PersonianOld that would be against lsplash

    • @spngrg99
      @spngrg99 Год назад

      @@PersonianOld bro you know that, if you take assets from doors, lsplash will smack your ass....

  • @caz0gamz
    @caz0gamz 2 года назад +6

    Here are my suggestions for future episodes,
    Dark rooms with the fog effect
    Rush AI (there are a lot of tutorials but I dunno how it would work with random generation) plus hiding mechanic
    Specific locations spawning in specific rooms (like room 50 being library and 100 being elevator room)
    Jumpscares with Death screens

    • @orange_jam_yt
      @orange_jam_yt 2 года назад

      prob have parts that show where rush can go in room

    • @PersonianOld
      @PersonianOld 2 года назад

      What I think he should do next episode:
      - Proper Starting Room
      - Keys and doors that have a chance for being locked.
      - Some other occasional decorations that can spawn so it doesn't feel like the same thing over and over and over again
      Then the episode after that:
      - Implement crouching and the chance for a room that needs you to crouch to get through it
      - Implement the wardrobe/hiding
      - Possibly start with the basis of monster AI
      I think he should just add the monsters and hiding later off in the game rather than NOW.

    • @devilscripter9265
      @devilscripter9265 2 года назад

      well, we are in the generation phase so i think it will take a while...

    • @cat_icon
      @cat_icon 2 года назад

      @@PersonianOld the proper start room will never exist. its iconic

    • @caz0gamz
      @caz0gamz Год назад

      @Animator well some rooms would have them but some wouldn’t

  • @star_smells6451
    @star_smells6451 2 года назад +1

    Yay it’s here!

  • @skrubtimer
    @skrubtimer 2 года назад +3

    Do you think you can release the rooms you made (no code, just the models) as a sort of pack to speed up testing and dev?

  • @TheNightmare29813
    @TheNightmare29813 Год назад

    thank you so much! i was making rooms game with my friend I mean friend make that game and this ep1 to ep7 help me a lot

    • @Pkygamez7
      @Pkygamez7 Год назад

      im also making a rooms game!

  • @pizzabro_gaming3092
    @pizzabro_gaming3092 2 года назад

    I cant wait for the stuff coming in the next episode!

  • @ianjosh2
    @ianjosh2 2 года назад

    Series very good so far

  • @AstroDoge
    @AstroDoge 2 года назад +2

    can't wait to see the item system, :D

  • @MarxismOfficial
    @MarxismOfficial 2 года назад

    finnaly a new good episode

  • @pazlux
    @pazlux 2 года назад +1

    can't wait for part two: "locked doors"

  • @__roblox__
    @__roblox__ 2 года назад

    Yayyyy, guess who earned another subscriber

  • @alone_k_night
    @alone_k_night 2 года назад +1

    the door did not open for me, can you please share the door in toolbox?

  • @hazelnubs
    @hazelnubs 2 года назад +1

    do you mind remaking the TD tutorials? I tried to use it but the enemy would not turn at all.
    (It would go to the first point, but then just stop.)

  • @ordinary2482
    @ordinary2482 2 года назад +1

    I wanna say that for formatting numbers you could use string.format() function since its easier to use

    • @GnomeCode
      @GnomeCode  2 года назад

      I'm not sure how that would avoid using an if statement

    • @cactuzhead
      @cactuzhead 2 года назад +1

      @@GnomeCode just use
      doorModel.Sign.SurfaceGui.TextLabel.Text = string.format("%0.3i", number)

    • @ordinary2482
      @ordinary2482 2 года назад

      good luck with series

  • @auevi
    @auevi Год назад +1

    What about doors that don't lead to the next room but are just a part of the room? like a room with multiple doors that open?

    • @godzil7
      @godzil7 Год назад +1

      ive been wondering
      how does doors do that

    • @sharky_obby-creator
      @sharky_obby-creator Год назад

      just make a room with a doors models. thats it

    • @godzil7
      @godzil7 Год назад +2

      @@sharky_obby-creator the doors assets got hacked into the tool box so no

    • @auevi
      @auevi Год назад +1

      @@sharky_obby-creator Yeah, I did that. Thanks tho

    • @sharky_obby-creator
      @sharky_obby-creator Год назад +1

      @@godzil7 bruh. By doors, i mean actual freakin door model

  • @amymac599
    @amymac599 Год назад +1

    when i started making the script to make the doors open, the rooms stopped spawning and i cant fix it

  • @apro8723
    @apro8723 Год назад +1

    I like how he assumes we are all gnomes even though I'm a corrupted freak lol

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

    hey i have a question why does it say
    ServerScriptService.Server.Room.Door:22: attempt to compare nil < number - Server - Door:22

    • @Heroboom-i7w
      @Heroboom-i7w Месяц назад

      Check your missing room name in folder "Rooms". I had the same problem and this is solution for me

  • @acai1234abc
    @acai1234abc 2 года назад

    thanks for the help it help my every thing i need to install

  • @Wertyhappy27
    @Wertyhappy27 2 года назад +1

    Are you going to do loading and unloading of rooms, as having 100+ rooms loaded at once isnt the best idea for performance

    • @PersonianOld
      @PersonianOld 2 года назад +1

      Honestly I would have ten rooms loaded at once, and as you go forward, more rooms are generated and rooms behind you are de-generated.
      Right now it's not causing much lag, but he hasn't even added much of the gameplay yet; which would eventually cause lag

  • @TGB_RBLX
    @TGB_RBLX Год назад +1

    Someone please count how many times he has said 'door' in this episode, or even in the series 😂

  • @daddygatzios6064
    @daddygatzios6064 Год назад +1

    error saying: Unable to assign property Text. string expected, got nil - Server - Door:19 please help

  • @sillygoober368
    @sillygoober368 2 года назад +1

    Are you able to make 5 rooms spawn if the door gets open to avoid lag and if rooms collide with each other it’ll delete the room that it collided with and a entity like glitch will spawn

    • @PersonianOld
      @PersonianOld 2 года назад

      I would do ten or fifteen doors at a time

    • @godzil7
      @godzil7 Год назад +1

      @@PersonianOld that would glitch the game very laggy

  • @lennyface987
    @lennyface987 2 года назад

    FINALLY HE MADE A PART 3 VIDEO

  • @robertmcbomb7116
    @robertmcbomb7116 2 года назад +3

    There's an easier way of doing the leading zeroes:
    doorModel.Sign.SurfaceGui.TextLabel.Text= string.format("%0.3i", number)
    (the 3 means there are 3 numbers in total, you can easily change it to your liking)

    • @goose9955
      @goose9955 2 года назад

      he made the zeroes

    • @robertmcbomb7116
      @robertmcbomb7116 2 года назад +1

      @@goose9955 This way is both faster and easier though
      I edited the comment because it was pretty useless before, thanks for pointing it out!

    • @goose9955
      @goose9955 2 года назад +1

      @@robertmcbomb7116 no problem

  • @ca55iel
    @ca55iel 2 года назад

    i love being gnome

  • @OMGREALDUMMYFROMDVN
    @OMGREALDUMMYFROMDVN Год назад +2

    Me: **Gets the door rotation correctly first try**
    GnomeCode in the video: 15:57

  • @RWCYT4525
    @RWCYT4525 Год назад +1

    Noice Bro, like i made my own doors game thinks alot

  • @Flip15
    @Flip15 Год назад

    Great Tutorial!

  • @Eludeeee
    @Eludeeee Год назад +1

    Umm at 15:35 should there be more code after the {CFrame} cuz I can’t zoom that far

    • @Eludeeee
      @Eludeeee Год назад +1

      Nvm I found out there was more

  • @owejifjfwejfiowe
    @owejifjfwejfiowe 2 года назад +2

    suggestion, In doors, they have a feature where at rooms 50 and 100, the rooms that are not randomized, how do we do that?

    • @superduper2607
      @superduper2607 Год назад

      if room.Generate(number) = 50 then
      local library = workspace.Library
      room.Generate(library)
      end

    • @MoviesEdits.Movies
      @MoviesEdits.Movies Год назад +1

      ​@SuperDuper2607 but what script i place this

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

      @@superduper2607 cool! BUT! in which script do i put it in and what area?!

  • @spry9014
    @spry9014 2 года назад

    quick tip, instead of doing "if number < 10 then number = "00" .. number end" you can do string.format("%0.4i", number)

    • @RammansPizzas
      @RammansPizzas 2 года назад

      He most likely did this to avoid confusion. Most people who are watching this are VERY new to scripting or are at maximum intermediate. I had no idea what the hecc you just typed and Gnomecode maybe doesn't too.

  • @russelsuanson2727
    @russelsuanson2727 2 года назад

    thank you so much dude you're a god

  • @deta7914
    @deta7914 Год назад +3

    Why is my door spawning sideways? How do I fix it?
    edit: I remade the whole door and spawn script and now its spawning more to the right, what do I do?
    edit2: I remade the whole door model and spawn script again and now it works 😌😌😌

    • @greggreg126
      @greggreg126 Год назад +2

      How

    • @deta7914
      @deta7914 Год назад +1

      @@greggreg126 How it didn't work or how I fixed it?

    • @daleinerplus
      @daleinerplus Год назад +1

      @@deta7914 yes, its happening to me lol

    • @daleinerplus
      @daleinerplus Год назад +1

      how do I fix it?

    • @spngrg99
      @spngrg99 Год назад +1

      bruh guys, just put the primaryPart of the Door model as the "Primary" part in the model that he showed

  • @airbendur9546
    @airbendur9546 2 года назад

    Gnome code is the best

  • @emmithanstudios9042
    @emmithanstudios9042 2 года назад

    Honestly I know how to script most things, my main reason I'm here is for 'Eyes' to learn look vectors. And how to do damage to people looking at certain objects.

  • @nineel
    @nineel 2 года назад +1

    Gnomecode I am having trouble with opening doors, if you could help me it would be amazing!

  • @crossiscool6681
    @crossiscool6681 2 года назад +1

    Why is it unlisted?

  • @redfire826
    @redfire826 2 года назад +1

    Keep it up bro!!

  • @IRWNum1
    @IRWNum1 2 года назад

    Gnoem code thank you so much for uploading (0:

  • @liamplays6383
    @liamplays6383 2 года назад +1

    Hello, I had a problem on part 2 where, the rooms still go into each other, and in some cases the small room goes in backwards, i checked everything possible that could make this happen. any fix to it?

    • @khup.k1m
      @khup.k1m 2 года назад +1

      its probably because either your rooms are too big for example the outer part of the room like the walls are sticking farther out the room then they are suppose to our u didnt make the entrance and exit part in the right spot the entrance should be 2 studs from the platform and the exit directly on the edge of the platform still being on the platform.

  • @EngineGamesSFM
    @EngineGamesSFM Год назад +1

    GOOD WORK :D

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

    i have gone trought the doornumberscript about 5 times, and it didnt work, but at the 5. or whatever i spottet something i thought shouldnt be there but had to, plus i found a bug where i for some reason had copy and pasted the generate thing so it Z fights. you are definitly underated!

  • @Jamsybob
    @Jamsybob 2 года назад +1

    Do you do this as you go? Or do you have some sort of script you follow with errors to help teach us?

    • @GnomeCode
      @GnomeCode  2 года назад +2

      I do each episode as I go, so I can read the comments each time

    • @Jamsybob
      @Jamsybob 2 года назад +1

      @@GnomeCode clever

    • @trev_playz
      @trev_playz 2 года назад

      @@GnomeCode indeeeeed

  • @PenguinScript
    @PenguinScript 2 года назад +1

    Gnome Code, if you want you can create new map for game called "Teddy". Its Library.

  • @piercenewboy3173
    @piercenewboy3173 2 года назад

    I just love this (btw scp)

  • @cat_programmer1
    @cat_programmer1 2 года назад

    Wow you the best!Thanks for tutorial!

  • @-Timmy0604
    @-Timmy0604 2 года назад +1

    I'm hoping that you will add specific room generation like door 50.

    • @PersonianOld
      @PersonianOld 2 года назад +1

      He probably will. But he is still in the early phases, so we'll just have to see, I guess.

  • @buddies65house
    @buddies65house Год назад +2

    Unable to assign property Text. string expected, got nil
    what do I do

    • @spngrg99
      @spngrg99 Год назад +3

      Same

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

      i got ServerScriptService.Server.Room.Door:22: attempt to compare nil < number - Server - Door:22

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

      i acctually think i made an uhh okay fix
      local door = {}
      function door.Open(doorModel)
      doorModel:SetAttribute("Open", true)

      local cframe = doorModel.Hinge.CFrame * CFrame.Angles(0, math.rad(-95), 0)
      local doorTween = TweenService:Create(doorModel.Hinge, TweenInfo.new(0.5), {CFrame = cframe})

      doorTween:Play()
      doorModel.Door.Open:play()
      end
      local savedNumber = 0
      function door.New(roomModel, number)
      local doorModel = workspace.MainDoor:Clone()


      if number == nil then
      number = savedNumber + 1
      doorModel.Door.Transparency = 1
      doorModel.sign.Transparency = 1
      doorModel.Door.Knob.Transparency = 1
      doorModel.Door.Plate.Transparency = 1
      doorModel.Sign.Stinker.Text = savedNumber
      doorModel.Sign.Stinker.Highlight.Text = savedNumber
      doorModel.Sign.Stinker.Shadow.Text = savedNumber
      --
      end--for testing purposes only
      doorModel:PivotTo(roomModel.RoomEnd.CFrame)
      doorModel:SetAttribute("Open", false)

      if number < 10 then
      number = "00" ..number
      elseif number < 100 then
      number = "0" ..number
      end
      doorModel.Sign.Stinker.Text = number
      doorModel.Sign.Stinker.Highlight.Text = number
      doorModel.Sign.Stinker.Shadow.Text = number
      print(number)
      print(savedNumber)
      local savedNumber = number

      doorModel.Sensor.Touched:Connect(function(hit)
      local humanoid = hit.Parent:FindFirstChild("Humanoid")
      if humanoid and doorModel:GetAttribute("Open") == false then
      door.Open(doorModel)
      end
      end)

      doorModel.Parent = roomModel

      return doorModel
      end
      return door
      i have in the sign like a shadow and highlight and stuff like that so you cant just copy and paste it

    • @nicodakitty
      @nicodakitty 29 дней назад

      @@mido_mayadoo OH MY GOD THANK YOU

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

    The part called 'Door' in the door model clones on the actual door model instead of the generated doors in the rooms (basically the doors arent spawning where they need to) i need help pls

  • @TCGamingLive
    @TCGamingLive 19 дней назад +1

    I did all the code right and no rooms are generating I think its something in the RoomInfo script but IDK

  • @EvanMcCabe
    @EvanMcCabe 2 года назад +1

    Whenever I run the game, two rooms spawn at the start room which can lead to the next room being blocked off by the double rooms that spawned after the start room. Please help me!!!

    • @PersonianOld
      @PersonianOld 2 года назад

      I would go back and check line for line on the video to make sure the code is correct, because especially in coding, missing by a single letter or number can mess up everything.

    • @EvanMcCabe
      @EvanMcCabe 2 года назад

      @@PersonianOld Yes it can be very tedious . Thank you

    • @Gudawian
      @Gudawian 2 года назад

      I think ik how to fix this go into your server script and delete the room.generate() function cause you might have the room.generate() function in your code twice that is how i fixed it

  • @JanBlox
    @JanBlox 2 года назад

    Gnome, thanks for the doors video! I can make this game :D

  • @SC-jl8sv
    @SC-jl8sv 2 года назад

    Very cool series (im Kit), even tho my pc got hacked and I can't log into my mails I'll definetely work with series when I get everything settled

  • @robcorpinc.robloxcoregames6621
    @robcorpinc.robloxcoregames6621 2 года назад

    Such a helpful video, thanks!! P.S: Will you make this game open source when it’s done so that we can use it for our own purposes?

  • @PumpyGT
    @PumpyGT 2 года назад

    Alright Gnomecode,
    is it fine that I add the doors inside the rooms first and fire a remoteevent when something needs to happen

  • @Kaizentry
    @Kaizentry 2 года назад

    Woo actual doors! 🚪

  • @knowinapps9941
    @knowinapps9941 2 года назад

    Can you make a video on how to make the rooms spawn when a door opens so it doesn’t lag if you spawn 100 rooms at once