Honestly, GnomeCode is the Brackeys of roblox studio tutorials. These tutorials are literally the best tutorials out there, thank you man.
@S0M3_GUY2 жыл бұрын
Agreed
@matthanhaze92472 ай бұрын
griffpatch of roblox
@WelcometolifeanddeathАй бұрын
@@matthanhaze9247 yes
@Gravisiii12 сағат бұрын
If there were an awards for best Roblox Studio creators or helpers, I’ll definitely vote for him
@KhalidBro2 жыл бұрын
despite me not wanting to make a doors game, there is no better tutor than you gnome ,i wish u great success :D
@Cyancloud133 ай бұрын
This aged well
@ksfffsdf2 ай бұрын
@@Cyancloud13 ong
@Cyancloud132 ай бұрын
@@ksfffsdf what
@LiquidFlamesYTАй бұрын
@@ksfffsdf lol u messaged 2 years ago, heres a ping!
@ksfffsdfАй бұрын
@@LiquidFlamesYT wait huh
@CarvedMan2 жыл бұрын
I was actually so impressed on how easy this was! I thought it'd be way harder! Amazing video!
@MrBeets249 ай бұрын
same
@Nah_Youtube9 ай бұрын
@YourDailyMemes-jc2gw yea
@leratontombela3 ай бұрын
Yes
@CoolPixelated2 ай бұрын
Same here lol
@koki32922 жыл бұрын
This man for real made me understand module scripts and returns as easy as that. Thank you gnome code
@thefilipinoman21423 Жыл бұрын
im not watching because i want to make one, im watching because i want to see him code, a few months ago i used this tutorial for my game, and it really made me learn coding, and now i can make a full game with unique entities and all that, thank you for this tutorial, you really kickstarted my whole game.
@LAVALAMPSCOOKINGSHOW7 күн бұрын
Game name?
@thefilipinoman214237 күн бұрын
@LAVALAMPSCOOKINGSHOW halls of cleithrophobia
@thefilipinoman214237 күн бұрын
@LAVALAMPSCOOKINGSHOW it's the one with the infinity symbol
@LAVALAMPSCOOKINGSHOW5 күн бұрын
@@thefilipinoman21423 Ty!
@Umbreon_01102 жыл бұрын
Would of never of expected GnomeCode to make a game like this! Excited to make a game like doors
@lgumas4032 жыл бұрын
same
@wolfgamer2722 жыл бұрын
Same but there is currently a problem tho, fan-made games are getting ban for one reason: illegal items usages, or more specific, someone found the backdoor to roblox Door and took some asset of the game itself :p so best way to go is make it very original :pppp just to avoid getting into crossfire
@tutorialoplenty29272 жыл бұрын
100%
@BlueGray2022 жыл бұрын
@@wolfgamer272 n e r d
@Jynx_lol2 жыл бұрын
Smh make ur own game instead of copying peoples games who worked hard on making a creative and immersive experience
@Castlecrasher2002 жыл бұрын
Hey gnomecode you do NOT KNOW HOW MUCH I NEEDED THIS. Much thanks from the Netherlands 🇳🇱
@lol_average58082 жыл бұрын
How could he possibly know?
@damonkegang56972 жыл бұрын
@@lol_average5808 he can read minds i know it
@Talguy2Ай бұрын
im also duch
@Pruttesvin2 жыл бұрын
Always excited when a new series drops! Entertaining like always! Keep up the good work man!
@mundimutatio37462 жыл бұрын
If your rooms overlap, make sure both the exit doors of all your rooms and entrance doors are both on the same side.
@thefilipinoman214232 жыл бұрын
how do you make the rooms infinite? like, without lagging the person?
@xinsalait_3972 жыл бұрын
@@thefilipinoman21423 im guessing generate another room once the player opens a door and delete the previous rooms
@thefilipinoman214232 жыл бұрын
@@xinsalait_397 ok
@SunStastic Жыл бұрын
@@thefilipinoman21423 or a render distance limiter
@aRARARAR-lf1px Жыл бұрын
my rooms overlap the room after the starting room after that the rest is fine why does this happen
@bugydigital Жыл бұрын
I was trying to make a randomly generated obby and this helped me so much! I had no experience in stuff like that and it taught me alot of it!
@KingsRBLX3 Жыл бұрын
I had a bit of trouble in the first, but then I realised I was the one not listening to you but now I’m good! Thanks for your amazing work !
@KingsRBLX3 Жыл бұрын
It’s not working
@toomie8 Жыл бұрын
@shadowdoesthings6883 i spent like 2 hours yesterday finding tutorials on a lotta roblox studio stuff and I think none of them r working rn bc of updates so don't worry abt ur not doing anything wrong its jus that they updated a lot of roblox studio
@DoorsBlox Жыл бұрын
@@KingsRBLX3 maybe you scripted something wrong?
@Player-te2xf2 жыл бұрын
Thank you so much for all these cool tutorials! If it weren't for you I truly wouldn't be trying to learn how to code. I've always been creative, but the only way I thought I could express my creativity was through art, but you really inspired me to take coding and making games as a profession! Thank you.
@linkyboiii14sg632 жыл бұрын
umm bro every single time I type "newRoom:PivotTo(prevRoom.Exit.CFrame)" nothing happens the rooms don't clone and the output prints, " attempt to index nil with 'Exit' - Server - Room:10"
@qaisnetwork2 жыл бұрын
@@linkyboiii14sg63 maybe you didn't add part name "Exit"?
@linkyboiii14sg632 жыл бұрын
@@qaisnetwork ohh thanks bro ill try it now
@razuz27832 жыл бұрын
Not Work : (
@tubeby21062 жыл бұрын
@@linkyboiii14sg63 same for me
@coneheadvr12 жыл бұрын
I love your tutorial videos! It’s so exiting when it finally works after all the time of scripting. You’ve just earned a free sub!
@thereallightspeed2 жыл бұрын
Make that 2
@DenoLigata Жыл бұрын
it didnt work for me
@BladesOfJustice8 ай бұрын
@@thereallightspeedmake that 3
@DAVIDXUE-p5f8 ай бұрын
make that four
@DAVIDXUE-p5f8 ай бұрын
also to anybody reading this pls continue the chain
@cheesemaster-ck7gp11 ай бұрын
for some reason my rooms arent generating, i checked the script and did everything you said.
@spookyminecraftartist74365 ай бұрын
Same I have try doing this script many times to end up with the same thing!
@granitbuzalja60594 ай бұрын
What do we do if anyone has an answer please 😢😢😢?
@WormTex2454 ай бұрын
@@granitbuzalja6059 hmmm I guess the variables are defined incorrectly looking at the script
@WormTex2454 ай бұрын
@@granitbuzalja6059 wait no ur code might be inccorect u might need to fix it it might be ur module script that is wrong u can copy and paste the script in the begining I guess It works for me
@arpitkumar-i9k4 ай бұрын
mine as well
@Kaizentry2 жыл бұрын
Probably won't use this for doors but I was always curious how generated rooms worked.
@Cowboy_Hat2022 жыл бұрын
its not working edit: ITS WORKING PERFERCTLY NOW I ONLY WAS SO DUMB AND WRITTEN PRIVOT INSTEAD OF PIVOT
@TankplayzPowers Жыл бұрын
Ol
@zaydtruck3496 Жыл бұрын
Good for you !
@DebtPlays Жыл бұрын
Cap
@Cowboy_Hat202 Жыл бұрын
@@DebtPlaysno?
@mozipuggamer4 ай бұрын
Privot? Harry, is that you? You're a wizard Harry.
@rejectedstorm2 жыл бұрын
Hey gnome code I'm really looking forward to the part where you make rooms that are rarer than others (if you are making one that is) Anyways welcome back to youtube!
@mr_bob_brick2 жыл бұрын
thats what i needed
@devilscripter92652 жыл бұрын
gnomecode definitely saw this
@goose99552 жыл бұрын
@@devilscripter9265 100% saw this cus he hearted it and room rarity is in the next episode
@juanayuto48263 ай бұрын
Hey, i did everything like you said in the video, correctly put mayus and everything, but that second room never appears. Do you know what the issue is?
@Pan-TSB16 күн бұрын
you are officially one of the best youtubers of existence. take my sub as an offering of more service.
@uppast420am2 жыл бұрын
hey this is awesome! over the past month, i've been making my own script from scratch that randomly generates rooms and i took a totally different approach than you did. Your work is def cleaner than mine thou lol
@aeea3306 Жыл бұрын
What did you do? I made a script that cycles through a folder of rooms and picks a random one to place on a room spawn part and then deletes that part but idk how to end it and after it gets to the 30th room it just breaks and places more than one room on the spawn part and then everything mixes into everything
@njo-7 ай бұрын
@@aeea3306 true madness was put into this man, but he screamed into the void.
@WaqyuGames2 жыл бұрын
Very helpful! Thanks for all the effort you put into these videos!
@PipeBallsOFFICIAL2 жыл бұрын
Help it didnt work for me
@WaqyuGames2 жыл бұрын
Make sure Ur exit and entrance parts are right
@nika1506n02 жыл бұрын
@@WaqyuGames thanks you are superman
@Screech112 Жыл бұрын
HI @GnomeCode, when I run that test, my random Generated startroom was spawning IN the startroom. So not right next to the start room. What is wrong with my code?
@daminquet12 Жыл бұрын
is the entrance and exit named correctly? just look at the tutorial more carefully
@sanaazmalaysia21283 ай бұрын
I have the same problem!
@Scrafl2 жыл бұрын
YOUR VIDEOS ARE SOO COOL YOU DESERVE MORE SUBSCRIBERS
@jupiter13372 жыл бұрын
You should make another horror game more like an adventurous horror game with completing puzzles, like trespass if you know what that is. Would love to see/play it and thank you for the uploads gnomeking really appreciate it!
@pixelatedluisyt2 жыл бұрын
thats a great idea
@The_NoobDeveloper2 жыл бұрын
I'll do it!
@devilscripter92652 жыл бұрын
i got spooked out of my own game
@ZylexAmik2 жыл бұрын
@@devilscripter9265 thats a very good sign
@ImJustinn2 жыл бұрын
Do it yourself.
@Wurfeln2 жыл бұрын
Never expected you to make this. Excited to see how you come up for the logic.
@theprince96082 жыл бұрын
Gnomecode… you’ve doomed us all There will be nothing but doors games on the main page D o o r s S i m u l a t o r .
@Maksim-q1k3 ай бұрын
When I pressed run it said PrimaryPart of folder LongRoom is valid member😢 11:43
@trainfunwithmason79462 ай бұрын
this is because it says your "LongRoom" is a folder. change the room to a model by ungrouping it (ctrl + u) then group it into a model. (ctrl + g)
@YeorgeX Жыл бұрын
For people who's rooms are stacking make sure in the module under the parent you put "return newRoom" and not prevRoom.
@danishisrealfr Жыл бұрын
Thank you so much! I didn't put it to prevRoom I put it as room and I didn't notice he changed it to newRoom! or idk
@A300fromoverlappingrooms Жыл бұрын
for me it does not generate i think
@danishisrealfr Жыл бұрын
@@A300fromoverlappingrooms send me the script
@danishisrealfr Жыл бұрын
@@A300fromoverlappingrooms lemme check
@danishisrealfr Жыл бұрын
@@A300fromoverlappingrooms or idk
@Buildosaurus Жыл бұрын
Scripts: --------------------------------------- Room module script: --------------------------------------- local room = {} room.random = Random.new() function local possibleRooms = workspace.Rooms:GetChildren() local randomRoom = possibleRooms[room.random:NextInteger(1, #possibleRooms)] local newRoom = randomRoom:Clone() newRoom.PrimaryPart = newRoom.Entrance newRoom:PivotTo(prevRoom.Exit.CFrame) newRoom.Entrance.Transparency = 1 newRoom.Exit.Transparency = 1 newRoom.Parent = workspace.GeneratedRooms return newRoom end return room -------------------------------------- Server script -------------------------------------- local room = require(script.Room) local prevRoom = workspace.StartRoom room.Generate(prevRoom) for i=1, 10 do prevRoom = room.Generate(prevRoom) end
@GnomeCode Жыл бұрын
Hi, you can delete line 4 of your main server script. You don't need the room.Generate(prevRoom) on its own, as you now have the loop instead
@Buildosaurus Жыл бұрын
@@GnomeCode Oh ok I'll delete that and thanks!
@jhenluks70903 ай бұрын
omg bro thanks
@scetching7856Ай бұрын
WARNING! this script does not work. Watch the video instead of using it.
@wewwawwew-jm4sn16 күн бұрын
@@scetching7856 these scripts do work however you need to fill in the blanks
@grovast31672 жыл бұрын
Keep going man! This series is going to be amazing!:)
@nurunnayiroh24892 жыл бұрын
Minecraft Education Edition New update! Hour of Code 2021 TimeCraft
@devilscripter92652 жыл бұрын
uhmm
@Buildosaurus Жыл бұрын
Hi GnomeCode, awesome tutorial! I'm having one issue: After the entire tutorial, it still spawns 2 rooms inside eachother at the start. I don't know if this happened for you as well, as it would be impossible to see due to the walls and roofs being the same colours. I painted my short room red and the long one blue, and there's always one of both inside of eachother at the start, and behind them 8 or 9 more rooms correctly spawned. How do I fix this?
@костян3310-н9л Жыл бұрын
rename every entrance as exit and every exit as entrance
@InvertDoge Жыл бұрын
@@костян3310-н9л that broke it more
@костян3310-н9л Жыл бұрын
@@InvertDoge it worked with me sorry
@InvertDoge Жыл бұрын
@@костян3310-н9л thanks for trying to help regardless
@InvertDoge Жыл бұрын
@@костян3310-н9л i think i figured out to fix it, just make sure the rooms are on the same y level, that fixed it somehow
@GoldAnimations2 жыл бұрын
I like this tutorial because it teaches us to CODE it, and we don't use a kit.
@thatoneavgeek_15 ай бұрын
out of all the tutorials on how to make doors, this is the best! Thanks!
@hakuruyu3 ай бұрын
my rooms fangame isn't gonna be a rooms fangame anymore after i follow this tutorial
@NACH0_NACH0S9 ай бұрын
It spawns all the rooms Right in front of the start room. Please HELP
@KolopiOff7774 ай бұрын
create a room with a bend
@good_noodlewastaken2 жыл бұрын
thank you for making these easy to understand tutorials! i would honestly never be able to make my dream horror game if it werent for you :)
@2squaredtriangle Жыл бұрын
What game are you making?
@raffaelevenkusscalzi4679 Жыл бұрын
"easy to understand". anyways please qhat the fuck o i need to do to make a vent based horrah gaem please help. is one of my best ideas i have.
@2squaredtriangle Жыл бұрын
@@raffaelevenkusscalzi4679 what?
@Skweebles2 жыл бұрын
For this doors series, (which i love by the way ) will you ever cover making glitch? like a system to check if all assets and the room loaded properly and quickly, otherwise the monster glitch
@XYWZExtreme2 жыл бұрын
Finally a tutorial that doesn't mediocrely grab a free model for the content and actually explains what the scripts do instead of just lifelessly typing
@aeea3306 Жыл бұрын
I've been waiting years for an actually working room generating tutorial for so long
@CaffeinatedCombatant2 жыл бұрын
Could you make a video on fighting mechanics? I've been trying to create a fighting system for a while now (blocking, attacking, charging attacks, stabbing and armor) Armor has different heaviness, which relates to speed, there's different weapons that do different damage with stabs, swings, etc. However, I've been stuck on just using animations and being able to deal damage. I feel like the blocking part would be simple, though.
@sim37802 жыл бұрын
Yea thats a good idea
@leohoang71532 жыл бұрын
I did the scripts but the rooms didnt clone
@mikugameuse84143 ай бұрын
Yea me Too
@stoneyizme7 күн бұрын
same
@kyledaboi17452 жыл бұрын
can someone help? at 11:36 i have a error which says ServerScriptService.Server.Room:10: attempt to index nil with 'Exit' what does this mean? edit: nvm im dumb
@ProGamer_91902 ай бұрын
How did you fix it?
@kyledaboi17452 ай бұрын
@ i never did😭
@doncomputer59312 жыл бұрын
i was actually in the middle of designing my own basic infinite generation doors game when this popped up. it looks a lot better than the one I designed.
@ThatRareDonut Жыл бұрын
Hey GnomeCode! Great tutorial! Just one issue, in the "Server" Script, after I put the code and made sure that I wrote it right, the rooms don't generate. It still stays as 1 single room. If you or anybody knows how to fix the issue, please let me know! Thanks! :D
@Cizoxzpolski Жыл бұрын
I have the same Issue
@iforgormyname Жыл бұрын
rotate the entrance, it may be the problem
@MelOdy-uk8dv Жыл бұрын
same
@ixylovespies Жыл бұрын
Put server script into workspace, it should work.
@KingAliTheFourth Жыл бұрын
same
@YaserProz3 ай бұрын
heres the modulescript (Server script will be added ltr) local room = {} room.random=Random.new() function room.Generate(prevRoom) local possibleRooms = workspace.Rooms:GetChildren() local randomRoom = possibleRooms[room.random:NextInteger(1, #possibleRooms)] local newRoom = randomRoom:Clone() newRoom.PrimaryPart = newRoom.Entrance newRoom:PivotTo(prevRoom.Exit.CFrame) newRoom.Parent = workspace.GeneratedRooms return newRoom end return room
@YaserProz3 ай бұрын
local room = require(script.Room) local prevRoom = workspace.StartRoom for i=1, 10 do prevRoom = room.Generate(prevRoom) end
@brocktastrophe3 ай бұрын
@@YaserProz OH MY GOODNESS!!!! TYSM!!!!! it didn't work for me, but NOW IT DOES!!! Major Respect bro
@YaserProz3 ай бұрын
@@brocktastrophe No Problem my Guy!
@YaserProz2 ай бұрын
@@EminPlaying203 ???
@EminPlaying2032 ай бұрын
@@YaserProz oops my bad I did that
@martin_cz6504 Жыл бұрын
local Tool = script.Parent local AnimationR15 = script:WaitForChild("AnimationR15, 1") local AnimationR6 = script:WaitForChild("AnimationR6, 1") Tool.Acivated:Connect(function() local Chracter = Tool.Parent if Chracter then local Humanoid = Chracter:FindFirstChildWhichIsA("Humanoid") if Humanoid then local LoadedAnim = nil if Humanoid.RihTybe == Enum.HumanoidRigType.R15 and AnimationR15 then LoadedAnim =Humanoid:loadAnimation(AnimationR15) elseif Humanoid.RigType == Enum.HumanoidRigType.R6 and AnimationR6 then LoadedAnim = Humanoid:LoadAnimation(AnimationR6) end if LoadedAnim then LoadedAnim:Play() end end end end)
@Dotzic Жыл бұрын
what is this
@Quadrilly Жыл бұрын
bruh no one asked for your code
@MRMCBANBAN7 ай бұрын
@@Quadrilly fr
@sanaazmalaysia21283 ай бұрын
Is this EVEN IN THE VIDEO!??🤨
@sanaazmalaysia21283 ай бұрын
NO RIGHT??🤨
@TheTeamFast_Tom11 ай бұрын
@GnomeCode is not working
@sir.fangagain93077 ай бұрын
Fr the rooms won’t generate
@IsaacPlayzYT9597 ай бұрын
Did u set the orientation point correctly of the entrance and exit
@sir.fangagain93077 ай бұрын
@@IsaacPlayzYT959 yes, they were both the same direction
@IsaacPlayzYT9597 ай бұрын
Oh
@IsaacPlayzYT9597 ай бұрын
@@sir.fangagain9307 where they the correct direction
@MelissaCoddington-sp1ze3 ай бұрын
Don't know if you're going to see this but I'm having a problem, it's saying that it can't read the generate part of the script and I can't figure out how to fix it. Got everything I can think of and it just will not work! PLZ HELP
@Gooseyplayz18 күн бұрын
This may be obvious to some people but for people who don't know. You can keep the startRoom Exit at 0.5 transparency in the studio. You just have to go into the server script, and type "workspace.[Your start room name].Transparency = 1" It's pretty simple but in case you didn't know
@RoyalRae111 ай бұрын
NOTE: It doesn't work because its outdated
@michealjeylou859010 ай бұрын
nooooooooooooooooo
@nebuladlux10 ай бұрын
It isnt outdated lol. Nothing in the script is deprecated
@dr.albitros424210 ай бұрын
I will commit checking if your theory is true
@a3dxyz07510 ай бұрын
it literally works, y'all are just not writing the code properly
@michealjeylou859010 ай бұрын
@@a3dxyz075 it not work for me
@lemonie. Жыл бұрын
I liked my own comment
@eyenid7610 Жыл бұрын
Nobody cares
@lemonie. Жыл бұрын
@@eyenid7610 i know that
@mayronmontoya24 күн бұрын
i disliked my reply...
@IDI_NULL Жыл бұрын
the room generator works, but sometimes it can glitch and some rooms can spawn inside of eachother. can you help me with this? i swear, i copied the code exactly.
@Ossianatur Жыл бұрын
By the way i have an idea for the future episodes so whenever you open a door 2 more rooms generate and after around 5 rooms later the rooms behind you get destroyed its for less lag and its how doors generating works
@BlankD_Out18 күн бұрын
FYI to anyone having any problems as in the the prevRoom.Exit.CFrame make sure its not "Cframe" and is "CFrame" instead, uppercase F.
@RusherRBLX2 ай бұрын
I didn't work at the beginning but that was because I forgot to add the randomroom script. This video helped me a lot for my game! Thank you!
@Ikmauki Жыл бұрын
You are the best youtuber.. You the best, better than rest. I will subscribe
@LightBulbOn3 ай бұрын
This turned out to be SO GOOD! Thank you!!!
@Planetary-18 ай бұрын
This works well, but here is a problem, it doesn't remove old rooms, in doors. When you enter a new door, it generates a new room before the door even opens, and it deletes a few or some old rooms to clean up space for more rooms, like say you want an infinite amount of rooms, just have it so when the player hits the most newest rooms door. It will generate another room before the door opens and delete the oldest room then it should work I've already created a basic layout of a Roblox game, it is really good, room generation works splendidly.
@itsstanplayz-105 Жыл бұрын
Hi GnomeCode. For some reason, when I went to run the scene, the building just fell apart. Do you know how to help with this?
@itsstanplayz-105 Жыл бұрын
@TrewVR thanks a lot mate!
@Dotzic Жыл бұрын
Anchor your buildings :)
@RedbloxPlays3 ай бұрын
Your The best GnomeCode also the First Ep i have done good everything Thanks for the help :D
@Arabyc9305 ай бұрын
hey gnome, watching this a bit later in time. I just completed the tower defense series and i just wanna say, you are amazing at explaining things! I hope you have a good day:)
@G4MBL1NG3 ай бұрын
When i pressed run after the scripts, it's not showing me the rooms, its just the same start room floating, nothing chained together infront of it and nothing spawned, im not sure what i did wrong here.. 11:29
@sdjoltystudio3 ай бұрын
same happened with me
@Polish_General1233 ай бұрын
Same
@Hyper_robloxYT23 күн бұрын
Same
@Blobfish-py7qc4 ай бұрын
question for you. How did LSPLASH make his textures? If you don't know that's OK.
@Reeid02632 жыл бұрын
Honestly this helps a lot with me trying to make a Hardcore Doors game. Thank you so much!
@Rad_Pie Жыл бұрын
I used this to help me with gnome jam 2023 with the roads 👁👄👁
@verbiix2 жыл бұрын
Thanks for this tutorial! But how do you make it so that the previous rooms disappear so that lag won't happen?
@waterrouter32472 жыл бұрын
it's simple after you add doors
@AkitaLovesYouАй бұрын
Hello!! I was attempting to localize the mistake in my code, and for some reason, even tho i copied the same script, it didn't set the entrance as the the primary part, so i had to manually do it. If someone is having a problem like this adding primary parts manually can save you.
@qquackers8779 Жыл бұрын
This is the first script i have ever written and its so so so SOOO helpful!! Thank you so much
@waggerra2 жыл бұрын
How can I make sure that between each generated room, I put a checkpoint? Thanks
@Mamyschn1_3Ай бұрын
hey is this tutorial outdated? i was trying to make one of these myself and the rooms just spawned on top of each other when i followed the script exactly Edit: it was one character being lowercase that caused it
@CeresCanAnimate Жыл бұрын
I like to use 0.5 studs because it lets you get detailed rooms, but not too detailed.
@CeresCanAnimate Жыл бұрын
next thing you know, the script doesn't work
@DenoLigata Жыл бұрын
same dude nothing worked it was a scam
@CeresCanAnimate7 ай бұрын
@@DenoLigata HOW DID I GUESS THAT
@thefunnymelons4 ай бұрын
@@DenoLigata its not a scam when you didnt lose anything, and its because your trash .
@mattSXTN Жыл бұрын
super underrated channel, you just earned a new sub!
@snipeshot78222 жыл бұрын
hey, i did everything right, i triple checked the script, and the rooms still arnt loading when i playtest/run. help me please?
@PartyOrange-a14 күн бұрын
idk what to do. I have checked my script many times and fin nothing wrong, Yet my rooms keep spawning on top of eachother. If someone has a possible answer, please let me know! EDIT: GUYS PLEASE REMEMBER TO MAKE YOU START ROOMS EXIT TO BE FACING OUTWARDS
@Jim199x-q5i12 күн бұрын
rotate ur exit part 180 degrees
@PartyOrange-a11 күн бұрын
@@Jim199x-q5i yeah i did that already but thanks anyways
@konvro5 ай бұрын
I remember when I was using this tutorial 1 year ago, and I knew almost nothing, now I can easily add many things that just come into my mind, for example function that generate last room.
@godzijade6478 Жыл бұрын
it is normal if for the server script it said " Room is not a valid member of Script "ServerScriptService.Script" ?
@Superior982 жыл бұрын
My rooms don’t generate when I click play and I followed all of the instructions very carefully
@D3v1l_hyh Жыл бұрын
I got error at the script line: newRoom:PivotTo(prevRoom.Exit.CFrame) the error is: ServerScriptService.Server.Room:10: attempt to index nil with ‘exit’
@PlushieemonKidz3 ай бұрын
mine says that too
@Danny123-w9g3 ай бұрын
same
@a60_hotelplus2 жыл бұрын
There is big bug when room break and this guide doesn't work. I was angry and thought that GnomeCode is bad. But this bug has bugfix. Just select rooms and click at the "Anchor" button! That works!
@AstraaRoblox Жыл бұрын
I'm having trouble with the room generating, I Made the folders, And named them, I Did the scripts. I Added them in, But when i try to test the game, The rooms don't Generate.
@nolhanmangin59398 ай бұрын
This is Amazing, i do wish that there would be a way to control the rooms that follows the previous one and control the rarity of the rooms
@octozinho12310 ай бұрын
I tested it, and its saying that "NextIntenger is not a valid member of Random", could someone help me ?
@RealDippy10 ай бұрын
I think you put “room.random.NextInteger” instead of room.random:NextInteger
@dexu_yt_24 ай бұрын
do Random:NextInteger() instead of Random.NextInteger()
@dexu_yt_24 ай бұрын
local room = {} room.random = Random.new() function room.Generate(prevRoom) local possibleRooms = workspace.Rooms:GetChildren() local randomRoom = possibleRooms[room.random:NextInteger(1, #possibleRooms)] local newRoom = randomRoom:Clone() newRoom.PrimaryPart = newRoom.Entrance newRoom:pivotTo(prevRoom.Exit.CFrame) newRoom.Parent = workspace.GeneratedRooms return newRoom end return room
@BloxKitten Жыл бұрын
I recommend for anybody making a room to use a avatar so you can get the right proportions.
@ilikeorangejuice23 Жыл бұрын
for the people that are too lazy to script even with short scripts SERVER SCRIPT local room = require(script.Room) local prevRoom = workspace.StartRoom for i=1, 10 do prevRoom = room.Generate(prevRoom) end MODULE SCRIPT local room = {} room.random = Random.new() function room.Generate(prevRoom) local possibleRooms = workspace.Rooms:GetChildren() local randomRoom = possibleRooms[room.random:NextInteger(1, #possibleRooms)] local newRoom = randomRoom:Clone() newRoom.PrimaryPart = newRoom.Entrance newRoom:PivotTo(prevRoom.Exit.CFrame) newRoom.Parent = workspace.GeneratedRooms return newRoom end return room
@BreenyBurple Жыл бұрын
thx düd
@owald41242 Жыл бұрын
Thank you very much, i watched this video over and over again, because did not work. seems like EVERY time i forgot 1 line of code. Hope you have very nice christmas and new year, best luck for you
@john201435 ай бұрын
thank you
@the_endermanelio3 ай бұрын
I know im watching like 2 years late, but thank you so much dude. I wish you the best in life!
@PortalBound_Offic3 ай бұрын
@@the_endermanelio same XD
@uru41232 жыл бұрын
This is the only very complicated script for me that works, THANK YOU SO MUCH!
@alicenialouza435613 күн бұрын
Thank you very much, I have a project for a game inspired by doors called skylands and this tutorial helped me a lot.
@iamtherealptfsaviation3 ай бұрын
im going for all non generated since you have to make so many rooms to script while non generated is 1 room non scripted and the other one are non scripted too i just think its simpler for non-generated rooms in my opinion
@shibey86553 ай бұрын
then it would be boring
@iamtherealptfsaviation2 ай бұрын
@@shibey8655i agree but for a begginer thats better
@screamingraptor40872 жыл бұрын
question... why does it say: Entrance is not a valid member of Model "Model" ? it would have been helpful that you put the scripts in chat!
@poIum Жыл бұрын
The "Model" dont have an "Entrance"
@GoldenNoob-4 ай бұрын
thanks, something weird is that i did the script, it didn't worked but when i copy pasted the exact same thing from someone in the comments, it worked that time... maybe coding hates me after all
@nanobyte4867 Жыл бұрын
Lsplash: *takes a long time to release doors floor 2* Me (and half the people here): Fine. I’ll do it myself.
@popeyetheanimatorАй бұрын
They released floor 2
@GamesoGamingАй бұрын
@@popeyetheanimator this was 1 year ago
@popeyetheanimatorАй бұрын
@GamesoGaming I know, sometimes people respond after 1 year
@WarrenDaEagle_Live Жыл бұрын
This really change our Developing skills thank you.
@Docoman_NarrowOne Жыл бұрын
Do you know how to generate a room when opening a door, like doors, doors has that generation, generating a room every time we open a door, do you know how to do it?
@HowToDoThatYTChannel24 күн бұрын
Hello! I Quit from roblox studio and went onto scratch here i am commenting on a MacBook Air from 2012 you took me out of scratch and back into roblox studio Thanks!
@holy_cow12 жыл бұрын
4:03 when i hold down shift it includes baseplate its really annoying.. how come for you it didnt select baseplate?
@Bennyy43882 жыл бұрын
You have to lock baseplate
@hihihihihihihihihihlololol4 ай бұрын
If your looms are overlapping, try increase the exit part size (what worked for me)
@corruptedinkroblox2267 Жыл бұрын
im using this for a rooms fangame and its not working but i did everything right. EVERYTHING RIGHT up until testing phase
@A_RandomMax Жыл бұрын
If it doesnt work its because you made something bad
@MultieMalik Жыл бұрын
@@A_RandomMax bro you want something of what
@smol_man9 ай бұрын
@GnomeCode whenever i try to generate 1000 rooms , (i need a 1000) the first 2 rooms spawn inside eachother directly, how do i fix this? (like the first 2 rooms both connect to the first exit of StartRoom) everything after works perfectly, btw maybe handy to note, i also got all the scripts of episode 2 in my scripts
@cartersuperplays4 ай бұрын
try rotating the exit part in your start room 180 degrees
@jeezwhy20152 жыл бұрын
How do you call a function By multipule Rooms?
@trashymichaelrosen58604 ай бұрын
how would i make it so that there is an end room?
@Chester-mz2ep6 ай бұрын
Not related to the video but the AI scripting is really nice, half the code in the video I didn't even have to manually write cause it knew exactly what I wanted to write