How to Make MAIN MENU? | Roblox Studio Tutorial

แชร์
ฝัง
  • เผยแพร่เมื่อ 19 ต.ค. 2024

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

  • @coolcapidog
    @coolcapidog  4 หลายเดือนก่อน +29

    This model had few bugs so i made better version of this. Here is the video link: th-cam.com/video/wJzLs5GZHBQ/w-d-xo.html

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

      Ok

  • @AtomicSpino
    @AtomicSpino ปีที่แล้ว +32

    In just under 3 minutes? Straight to the point? Best Dev on yt ever.

  • @Spiritedz
    @Spiritedz ปีที่แล้ว +34

    You just might be the best dev youtuber. straight to the point and easy to follow. Thank you! This really helped me a ton.

  • @scoop778
    @scoop778 ปีที่แล้ว +56

    Great video, good to see someone make this stuff available for new scripters to take apart and learn form.

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

      Though if you wouldn't mind me asking, how would you make the music stop after pressing the play botton?

    • @daz_fe
      @daz_fe ปีที่แล้ว +5

      @@scoop778
      pathtobutton.MouseButton1Click:Connect(function()
      pathtosound:Pause()
      end)

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

      @@daz_fe I dont understand where i put this lol

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

      @@tylerclaydo1047 in a script it doesnt really matter but you need to replace the path to whatever with the path to your sound

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

      @@daz_fe What do you mean by a path? I have the same problem too as scoop.

  • @sthebuilder
    @sthebuilder ปีที่แล้ว +96

    So I found two issues that I have a fix to below. The two issues:
    1. When the menu is loaded, you can still move your character around.
    2. If the spawn location is not near the camera, the player's POV will not switch and the menu will not enable.
    *Solution to #1:*
    - Make a box around the first Spawn Location so the player can't move. Once the "Play" button is clicked, you can set up simple script that destroy the SpawnBox's model.
    *Code:*
    wait(1)
    character.Humanoid.WalkSpeed = 0
    character.Humanoid.JumpPower = 0
    this code goes right before the "local Black, UnBlack, and UnBlur scripts.
    *Solution to #2:*
    - Simply move the first Spawn Location near the camera but out of view. Once the "Play" button is clicked, you can have the Play button teleport you to the coordinates of the second spawn location, which doesn't have to be loaded. Or define a variable in the beginning of a script that is the coordinates.
    *Code:*
    Variable (Located right after "NightClockTime" in the settings) ➡local teleportPosition = Vector3.new(-504, 907, -4130)
    Teleport Command (Located right under "UnBlack:Play()" ➡character:SetPrimaryPartCFrame(CFrame.new(teleportPosition))

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

      what's the script for the 2nd solution? so that the Play button makes you tp to the cords of the second spawn location

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

      @@AndryC4 I’m gonna edit and post it later

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

      @@sthebuilder there is an easier solution for number 2. put the camera where ever u want and the spawn location near or next to it. then u can place a wall between the camera and the spawn location so that the player dosent see the camera stuff. You can disguise the wall as a normal house wall or more creative stuff

    • @gamyrelidze_YT
      @gamyrelidze_YT ปีที่แล้ว +4

      my menu cam dosent even work

    • @Dum-e-360
      @Dum-e-360 ปีที่แล้ว +1

      freak no i can find a better tutorialler

  • @clxxqorcljcks
    @clxxqorcljcks ปีที่แล้ว +8

    Thank you so much, I've been looking for this for so long, and you got straight to the point your the best!

  • @RipVanDingle.
    @RipVanDingle. ปีที่แล้ว +4

    Daam this song is just givin me some nostalgia and btw didnt expect for this to actually work

  • @ItzSwizzy69
    @ItzSwizzy69 ปีที่แล้ว +5

    glad your back posting again thanks alot for these

  • @LinaJoestar
    @LinaJoestar ปีที่แล้ว +36

    HI, WHAT A COINCIDENCE!? THE KING UPLOADED TWICE

  • @sprxngzyyy
    @sprxngzyyy ปีที่แล้ว +9

    dang, straight to the point, less than 5 minutes. That was great!!

  • @Lemon4ik260
    @Lemon4ik260 ปีที่แล้ว +8

    Great vid man! You did everything in less than 2 minutes! I subbed.

  • @Fry139
    @Fry139 ปีที่แล้ว +4

    Thank you for creating everything for us I couldnt had done it without you

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

    I’m flabbergasted, thank you. This is very organised and works fluently. Out of all the models and tutorials, this was the only that worked for me no matter the time spent, thank you. ❤

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

    this is possibly the best main menu that actually works. thanks bro.

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

    This helped a LOT. all of the other youtubers have you make the script, but you... you already have it ready, thanks a lot and got bless you.

  • @815klipz
    @815klipz ปีที่แล้ว

    Bro this helped me sooomuch and the fact that its only under 3 minutes is insane! tysm bro.

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

    give this guy a million subs RN, most underrated content i have EVER seen, very easy to follow, and it works, thank you man

  • @sandg_officiel
    @sandg_officiel 5 หลายเดือนก่อน +2

    Incroyable ! Thanks

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

    best tutorial to ever exist others is 10 minutes or maybe even an hour but this guy is straight to the point your the best

  • @21stCenturyBurn
    @21stCenturyBurn ปีที่แล้ว +4

    You helped me so much making games in an easy way. Thank you very much.

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

    tysm bro, ur the best! even though the day sky wont change, i still appreciate it! sorry for bad english

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

    My guy you dont wanna know how much tutorials iv'e been watching and failing!
    this is a gift from god in my eyes thank you so much dude keep up the goor work👏
    ps: this diserved a sub!!!

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

    This helped SO MUCH!! Thank you man.

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

    Definitely using this when I make my game. You are a life saver man

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

    Wow thank you so much for this video It helped my game so much

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

    Bro All of your models are saving my life, Keep working.

  • @Yeiden010
    @Yeiden010 ปีที่แล้ว +28

    If you want to stop the music after the user presses the play button, go to the last paragraph of the code and below script.Parent.CreditsButton:Destroy()
    add
    script.Parent.GameMusic:Stop()
    Also remember to change "GameMusic" And "CreditsButton" if you changed the names of the assets.

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

      it just makes the menu broken

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

      @@Seniken Make sure you haven't deleted other buttons before and put the line of code in the right place, exactly what part of the menu doesn't work anymore?

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

      @@Yeiden010 ur lines make the menucam not function

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

      @@Seniken i'm sorry how in the workd a line at the end where the action "when play button is pressed" is supposed to be breaking the camera, make sure you put the last line where it should be, the first line It is only for reference so you can find where to place

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

      It works for me. I've been searching this for a while. Thank you so much bro!

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

    Your so underrated omg, ive been looking for a main menu fir my game and none of them ever worked! But this one did!!! Tysm

  • @cat.exe555
    @cat.exe555 ปีที่แล้ว

    OMG!! the model helped me so much with my game!! thanks so much!

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

    This is so good it has helped me a ton (Like the music!)

  • @R.리퍼
    @R.리퍼 ปีที่แล้ว +1

    I'm Korean, but I'm watching this video, and it explains it so well. I don't know English, but it explains it well. I think this kind of video is better than me. thank you so much this is a translator

  • @goferlessmaniacsofficial.2638
    @goferlessmaniacsofficial.2638 10 หลายเดือนก่อน

    i swear you are the best, i searched for soo many videos but none of them were true, but I finally made the main menu because of you, thanks my g and you earned a subscribe and a like from me

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

    omg ur the best
    i was looking for this for 13 hours

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

    you are the best helped me so much well deserved sub helped me learn the code for the camera

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

    You are my fav roblox dev, I love your work!❤

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

    you got potential to be a big youtuber bro, keep at it!

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

    I've never scripted/learned to script before and this really helped me start that journey. Ty

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

    OMG TYSM I HAVE BIN TRYING TO DO THIS FOR A MONTH YOUR A REAL ONE TY TY

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

    best template ever! very useful!

  • @catmanthepro9862
    @catmanthepro9862 11 หลายเดือนก่อน +2

    For some reason when I put it still didn’t work

  • @Swivly
    @Swivly ปีที่แล้ว +3

    Great thank you you are so helpful I found you yesterday and your scripts are perfect for my horror game :D

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

    dude I appreciate u so much, I just start trying to make my game and you have no idea how much u r going be to able to help me thank you

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

    I love your tutorials so much!!!

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

    THIS WAS SO HELPFUL!!!!
    TYSM Thsi helpefd me with my game SOOO much!!!
    your awesome!!!!!

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

    this is the best thing bro. your rules are just so ez
    1. download model
    2. scripting
    3. done
    LIKE THATS AWSOME MAN! keep it up!

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

    Best Tutorial ever!

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

    wow You helped me so much i spent a day looking to find a main menu

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

    your'e the best youtuber i love you!!!!!!💌

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

    Omg your videos are so good! they been helping me the past few days :D! Ive been trying to make a grapple hook obby andd my friends are imprressed on how the game looks! am def adding you to the credits if my game gets popular tysm! have anice day!!!!! :D

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

    this guy is insane... good job man!

  • @CountryVet-d8k
    @CountryVet-d8k ปีที่แล้ว +1

    thx it works u deserve a sub

  • @Phantom210
    @Phantom210 ปีที่แล้ว +6

    not sure if you've done this but can you make a working shop? maybe for guns or food and show us how we would add food to the shop

  • @PlatYTkdot
    @PlatYTkdot ปีที่แล้ว +5

    great video! but one question, could you make a tutorial on how to make a trigger cutscene?
    thanks and much love:D

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

    Oh I love your Scripts Are put on! This is amazing

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

    Thank you so much this helped me and my friend with a roblox game :)

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

    Thank you soo much!! best main menu tutorial on yt!!!

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

      there is one problem tho if I delete anything for example "GameMusic" the entire thing stops working but it doesn't matter that much

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

    Thank you so much This works perfectly amazing

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

    You Make The Best Tutorials And Im Making A Horror Game And It Looks So Cool With The Main Menu!

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

    Bro this actually help me It really.
    Work Thanks😮😮😮😮

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

    This was Really helpful.

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

    BRO YOUR THE BEST FINALLY SOMEONE!!

  • @AJAYFLASH
    @AJAYFLASH ปีที่แล้ว +11

    After the main menu can you make a character selection once you press play?

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

      or a level selection

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

    BRO YOU MADE MY GAME SUPER FIRE THANK YOU SO MUCH!!!!!!

  • @WUIO-Knows
    @WUIO-Knows ปีที่แล้ว +4

    Thank You ! ❤

  • @Bro.Rednax
    @Bro.Rednax ปีที่แล้ว

    under 3 minutes! great video :D

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

    Epik video, epik creator and epik music 🍷🗿

  • @AirrickR
    @AirrickR ปีที่แล้ว +5

    Whenever I add music in the menu and press play, the music doesn't stop. How can I prevent that?

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

      @niagarafallstechnician3522 ur a real one for this

  • @AdusGodzilla
    @AdusGodzilla ปีที่แล้ว +7

    I want a modified version of the script
    which makes it so when you press the play button it turns off the music. Edit: I don't need it anymore I found it out! Just at the end of the script add the part that says music playing = false.

    • @Angelo-24.
      @Angelo-24. ปีที่แล้ว

      Yea fr

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

      yo adrian i know this is a bit late but i cant find what ur talking about in the script can u help

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

      @@sayiaro what i meant do say was Music playing = false

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

    Dude, you're the best, thank you so much

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

    How to make it so that when I click play, the settings and credits are still there? Please...

  • @pamelacampbell-xf8hg
    @pamelacampbell-xf8hg 8 หลายเดือนก่อน

    i miss this song everytime i hear it, it gives out 2018 vibes for me

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

    TYSM THIS WAS LIT THE FIRST VID I CLICKED ON. AND IT WAS SO EASY. TYSM

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

    Thanks! How do i turn the music off when the the game starts?

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

    Omg! It is cool) Thanks 😊

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

    tysm for this vid it helped me work on my game more
    :)

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

    this is so good u earned a sub

  • @BDMRProductions-rw5qm
    @BDMRProductions-rw5qm ปีที่แล้ว +2

    it doesnt work for some reason it just spawns me with the GUI in screen :(

  • @Silenc3_GhöstCOD
    @Silenc3_GhöstCOD 7 หลายเดือนก่อน +1

    The menu cam takes me to the game right away not where i set my menu cam how do i fix that?

  • @SigmaParadise-hn2zd
    @SigmaParadise-hn2zd 7 หลายเดือนก่อน +1

    TY!!!!!

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

    ty for tutorial

  • @FireFox3-xb8fx
    @FireFox3-xb8fx ปีที่แล้ว

    I Swear this guy is a legend he is making all the things we need!

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

    Good video your content is amazing keep it up

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

    dude your soo helping me making my game thanks

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

    tysm !!! but the land with the chest a the start, its the baseplate and you built this background by yourself ? because if yes i wonder were do you hide the spawner

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

    That's insanely great for being a free model.

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

    Thank you so much mann

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

    Great video gui is great and stuff but when I click play it doesn’t do anything it just stays where the cam is

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

    Bro Thank you so much
    make more of this i put it in my game :)

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

    YOU ARE THE BEST!!!

  • @tukan4ik_849
    @tukan4ik_849 ปีที่แล้ว +29

    camera don't work

    • @minhnhatnguyen1976
      @minhnhatnguyen1976 5 หลายเดือนก่อน +4

      Change the camera to custom or scriptable

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

      how do you change it to scriptable?

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

      There’s 2, try a dog one

    • @IgorioGD
      @IgorioGD 16 วันที่ผ่านมา

      Camera works

  • @agustin9-c2u
    @agustin9-c2u 6 หลายเดือนก่อน

    Ano Ano wilkum🔥🔥🔥 also good vid

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

    Thanks this helps so much!!!

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

    brotha this is awesome tysm :)

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

    I do it too and it worked IDK how but thanks bro 🎉❤

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

    BROS TUTORIAL SAVED MY HARDWORK LABOR

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

    ty for helping us with your vids

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

    How do i stop the audio when Play is clicked?

  • @Zenix-Is_Here
    @Zenix-Is_Here ปีที่แล้ว

    tysm cuz of u i can reste a little bit from annoying things

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

    Man thanks for the vid and the model! It saved me a lot of time! Keep making more videos. You got a new subscriber

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

    dose anybody know how you can make irt so liek the play button makes a ui teleport show up and you can s=chose were you wanto be teleported and whe you chose the place the gui goes away