How to Make MAIN MENU? | Roblox Studio Tutorial

Поділитися
Вставка
  • Опубліковано 20 тра 2024
  • ⭐️(like + sub = thanks)
    ►Model: www.roblox.com/library/130816...
    ►Hire me here: www.fiverr.com/share/4Q0a2G
    ►My second channel: @coolcapi
    ►Discord Server: / discord
    Music: Cartoon - On & On
    Timecodes
    0:00 - Getting Model
    0:45 - Settings
    1:42 - Testing
  • Розваги

КОМЕНТАРІ • 802

  • @coolcapidog
    @coolcapidog  Рік тому +74

    👉🏻You can hire me here: www.fiverr.com/share/4Q0a2G

    • @alexroberts-uo5qy
      @alexroberts-uo5qy Рік тому +3

      im broke but i would, nice videos

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

      W

    • @nusratshaheen7852
      @nusratshaheen7852 11 місяців тому +1

      nah man im good

    • @Jurasissiparak
      @Jurasissiparak 11 місяців тому +1

      @@nusratshaheen7852 same here we just need torturial AND WE NEED A NEW LINK THING RATHER THAN STUPID GOOFY AHH PASTEBIN

    • @beangates1243
      @beangates1243 10 місяців тому +1

      How would i make the music go away after i press play?

  • @Spiritedz
    @Spiritedz 9 місяців тому +28

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

  • @jxx12362
    @jxx12362 9 місяців тому +6

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

  • @sthebuilder
    @sthebuilder 9 місяців тому +86

    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))

    • @user-vv6tz5ks5r
      @user-vv6tz5ks5r 8 місяців тому

      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 8 місяців тому

      @@user-vv6tz5ks5r I’m gonna edit and post it later

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

      @@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 8 місяців тому +4

      my menu cam dosent even work

    • @Dum-e-360
      @Dum-e-360 8 місяців тому +1

      freak no i can find a better tutorialler

  • @Fry139
    @Fry139 7 місяців тому +3

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

  • @Lemon4ik260
    @Lemon4ik260 Рік тому +6

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

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

    glad your back posting again thanks alot for these

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

    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

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

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

  • @trentblaze-2100
    @trentblaze-2100 8 місяців тому +1

    This helped SO MUCH!! Thank you man.

  • @scoop778
    @scoop778 Рік тому +53

    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 10 місяців тому

      @@daz_fe I dont understand where i put this lol

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

      @@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 9 місяців тому +1

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

  • @FlamingAvocadoGaming
    @FlamingAvocadoGaming 11 місяців тому +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

  • @AtomicSpino
    @AtomicSpino 10 місяців тому +24

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

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

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

  • @lilnmm
    @lilnmm 16 днів тому

    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. ❤

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

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

  • @A._G._Systems
    @A._G._Systems 25 хвилин тому

    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.

  • @21stCenturyBurn
    @21stCenturyBurn Рік тому +4

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

  • @sprxngxskippy
    @sprxngxskippy 11 місяців тому +7

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

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

    this is so good u earned a sub

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

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

  • @EvanChannel2
    @EvanChannel2 2 місяці тому +1

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

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

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

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

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

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

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

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

    under 3 minutes! great video :D

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

    omg thank you so much!

  • @queenwheeze9522
    @queenwheeze9522 8 місяців тому +5

    Is anyone aware on how to keep it from tweening into the left side of the screen? This was a great main menu, but i deeply customized it and changed a lot, the color and shape and stuff like that, i even changed the position of the buttons from the far left to the middle slightly at the bottom, but i'm not good with coding, and so whenever I go to test this function the buttons are where i want them, but when i click a button and exit out of it's menu, they slide back to the left. I know this is probably a tweening/UDIM2 coordinate issue but i have no idea how to fix it; please help!

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

      I also have this issue

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

      Change the positions in the script

  • @-StayCalm-
    @-StayCalm- 10 місяців тому +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!!!

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

    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

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

    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

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

    How do I make other UI appear after Main Menu? (I mean like Main Menu first appear at the start of game, and then click play and appear health bars)

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

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

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

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

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

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

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

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

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

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

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

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

  • @goferlessmaniacsofficial.2638
    @goferlessmaniacsofficial.2638 5 місяців тому

    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

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

    I love your tutorials so much!!!

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

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

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

    Thank You ! ❤

  • @FireFox3-xb8fx
    @FireFox3-xb8fx 9 місяців тому

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

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

    dude your soo helping me making my game thanks

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

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

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

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

  • @user-kr6jm5ht8l
    @user-kr6jm5ht8l Рік тому +2

    This was Really helpful.

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

    Thank you so much This works perfectly amazing

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

    huge W thank you man

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

    this guy is insane... good job man!

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

    thankyou so much helped alot

  • @ZimGirGaming
    @ZimGirGaming Рік тому +5

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

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

    Nice Video U earn a sub!

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

    this works well, the only issue i have is other gui's in my game showing up under the menu, how could I hide them?

  • @YoussefEssam-ud6mb
    @YoussefEssam-ud6mb 9 місяців тому

    omg bro thank you so much

  • @sandg_officiel
    @sandg_officiel 13 днів тому +2

    Incroyable ! Thanks

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

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

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

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

  • @Bounty.
    @Bounty. 3 місяці тому

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

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

    This is going to be good for my shooting game but can you add a way where we can add a timer when the match ends and a way where the players can choose teams but this helped me to make my gane better thx bro

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

    Is there anyway to make it so when you press play it teleports you to a different game? Im making a seperate area for the lobby

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

    OMG TYSM!

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

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

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

    how can you make it so the once you press play the music slowly fades away (i.e like with brick bronze intro screen once u tap the music fades away)

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

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

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

    man you helped me a lot thanks

  • @UaeB_YT
    @UaeB_YT 11 місяців тому +1

    Best Tutorial ever!

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

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

  • @LinaJoestar
    @LinaJoestar Рік тому +35

    HI, WHAT A COINCIDENCE!? THE KING UPLOADED TWICE

  • @-_Reaper_-
    @-_Reaper_- Рік тому +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

  • @fgteevzion24
    @fgteevzion24 10 днів тому

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

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

    Thanks!!

  • @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

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

    worked really well 10/10

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

    thank you so much

  • @TheR15Robloxian01
    @TheR15Robloxian01 11 днів тому

    ... you are the best dev youtuber ever! You make everything and just teach us where to put it! TYSM!

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

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

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

    MAN BRO THANK YOUY SO MUCH

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

    1000/10 THE BEST TUTORIAL EVER

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

    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

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

    Good video your content is amazing keep it up

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

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

  • @zta203
    @zta203 6 годин тому +1

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

  • @user-mm3hv4tl2j
    @user-mm3hv4tl2j 9 місяців тому +1

    thx it works u deserve a sub

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

    Thank you so much

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

    TY SO MUCH

  • @Davidtheking15
    @Davidtheking15 17 днів тому

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

  • @STK_GRIMSLEY
    @STK_GRIMSLEY Місяць тому +1

    best template ever! very useful!

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

    BRO YOUR THE BEST FINALLY SOMEONE!!

  • @Adrian2058Roblox
    @Adrian2058Roblox Рік тому +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. 10 місяців тому

      Yea fr

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

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

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

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

  • @lemon735
    @lemon735 11 місяців тому +1

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

  • @Raphy-Stolage
    @Raphy-Stolage Рік тому +2

    Thank you so much mann

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

    ty for helping us with your vids

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

    THANK YOU FOR THIS THANKS FOR HELPING

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

    Thanks this helps so much!!!

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

    thanks bro now i can use it for my obby game to make it more cooler!!!!!

  • @itachosandslands
    @itachosandslands 8 місяців тому +1

    How can I rename the "day" and "night" settings?

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

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

  • @Yeiden010
    @Yeiden010 9 місяців тому +27

    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 9 місяців тому +1

      it just makes the menu broken

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

      @@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 9 місяців тому

      @@Yeiden010 ur lines make the menucam not function

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

      @@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 9 місяців тому +1

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

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

    THANK YOU YOU SO MUCH

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

    Yo any idea on how to remove the other gui's I already added? so when I hit play they appear.