Making a Main Menu Screen | Roblox Studio

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

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

  • @ditah
    @ditah 2 месяца назад +3

    really polished and good looking system, but i advise getting closer to your microphone in future videos, or adjusting it so it picks up your voice rather than the keyboard :)

    • @koaltreus
      @koaltreus  2 месяца назад +1

      Alrighty! Thanks!

  • @zahenabedin4335
    @zahenabedin4335 2 месяца назад +3

    bro i genuinelyy love u for ths

  • @ceogoldfish9265
    @ceogoldfish9265 2 месяца назад +1

    Hey man great video! keep up the good work :)

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

    u explain realy good.
    thx for advices!

  • @UnidentifiedToastProductions
    @UnidentifiedToastProductions 11 дней назад

    NVM, I fixed it, amazing tutorial

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

    I was trying to do this with ImageLabel and a transition to a loading screen, i gave up.
    Also roblox studio for some reason didnt show my game and im depressed cuz i spent hours making that map and its all gone

  • @kingft11
    @kingft11 27 дней назад +2

    it doesnt work for me :(

  • @mikebarker380
    @mikebarker380 10 дней назад +1

    it who'd be great is you put the script in the discerption

  • @koaltreus
    @koaltreus  2 месяца назад

    1k views!! Thanks y’all! ❤
    Edit: 2K VIEWS NOW?????????

    • @mankibad
      @mankibad 2 месяца назад

      nah u deserve 100k views

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

    the player when dead, the Text Button still appeared and the cam go back to MenuCam

    • @koaltreus
      @koaltreus  Месяц назад +2

      @@okelahbegitu4494 disable “ResetGuiOnSpawn” in the menugui

  • @EdgefulVow
    @EdgefulVow 2 месяца назад +1

    Great tutorial, but what do I need to do if I want to add a blur effect to it?

  • @ItsSederec
    @ItsSederec 19 дней назад

    help my camera doesnt go to my scene it just locks nowhere near where i put the camera pls help

  • @ditah
    @ditah 2 месяца назад +1

    Hey, commenting again, but i tried combining this with surface GUI for something, and it worked really good, but a problem is that every time the character resets or dies, the menu repeats the tweening and goes to the menu screen again, is there a way to solve that, or is it easier to just turn off the reset option in the roblox menu? (because the character wont take damage in my game anyways) - I'm going to put my code for that below if needed
    Another REALLY important bug this time tho, is that like 60% of the time the screen cuts to the regular avatar camera right after the tweening finishes, i've set the workspace camera to scriptable and so on already, but i'll see if it could be because of another script im using for player camera effects, i dont think its because of another script tho, because the cameratype remains scriptable even when it kicks me off the loading screen.
    Code:
    > Local-script in MenuGUI
    function tween(obj, dur, cmd)
    game:GetService('TweenService'):Create(obj, dur, cmd):Play()
    end
    local MenuCam = workspace:WaitForChild("MenuCam")
    workspace.Camera.CameraType = Enum.CameraType.Scriptable
    tween(workspace.Camera, TweenInfo.new(1), {CFrame = MenuCam.CFrame})
    > Local-script under Play(button)
    script.Parent.MouseButton1Click:Connect(function()
    local gui = script.Parent.Parent
    game.Workspace.Camera.CameraType = Enum.CameraType.Custom
    end)
    Any help from anyone appreciated, even tho i kind of broke it, its still a really good and quick yet versatile tutorial that i learnt a lot from.
    Also, the scripts are modified according to what i needed in my game, i used workspace:WaitForChild("MenuCam") instead of what's in the video, because the MenuCam would load later causing the whole script to stop when it couldn't find the MenuCam part, and so on.

    • @koaltreus
      @koaltreus  2 месяца назад +2

      You could disable the reset button or disable ‘ResetGuiOnSpawn’ in the menu gui

    • @ditah
      @ditah 2 месяца назад +1

      @@koaltreus thanks, i didnt know that existed

  • @GDishard
    @GDishard 2 месяца назад

    can you make a custom animation tutorial? ive tried once, but its never worked (i used the inbuilt animation editors on rigs)

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

    this doesnt work for me i always spawn as my charakter i even changed the command like you said in the comment section pls help me

  • @Littlebear1812
    @Littlebear1812 8 дней назад

    In the second script line isn't working its something witht the
    Gui.enabled

  • @benekthecat7394
    @benekthecat7394 2 месяца назад +3

    How do i hide my other ScreenGui if on play screen? I added 2 screen Gui one is just called like that other one is the menu Gui i would like to hide ScreenGui when on MenuGui

    • @koaltreus
      @koaltreus  2 месяца назад +2

      in the menugui script, add:
      game.Players.LocalPlayer.PlayerGui.ScreenGui.Enabled = false
      in the playbutton script, add:
      game.Players.LocalPlayer.PlayerGui.ScreenGui.Enabled = true

    • @benekthecat7394
      @benekthecat7394 2 месяца назад +2

      @@koaltreus Thank you! It works perfectly

    • @benekthecat7394
      @benekthecat7394 2 месяца назад +2

      ​​@@koaltreusI also got a question is it possible to make a BilboardGui Become visible if you pressed a GuiButton and invisible if you pressed the button again?

    • @koaltreus
      @koaltreus  2 месяца назад +2

      @@benekthecat7394 yea, thats possible

    • @benekthecat7394
      @benekthecat7394 2 месяца назад +1

      @@koaltreus is it then a simular script to the one what hides the screenGui but just modified by adding instead of frame name billboard name?

  • @VYCRPT
    @VYCRPT 2 месяца назад +2

    Idk why but it's tweening the camera to the part but then immediately going to the player without me pressing the button

    • @koaltreus
      @koaltreus  2 месяца назад +1

      set the cameratype to scriptable, then i think itll work

    • @Cowyblox
      @Cowyblox 2 месяца назад

      @@koaltreus I had the same problem and tried it, it didn't work, any other ideas to make this work?

    • @aRandomDudeRbx
      @aRandomDudeRbx 2 месяца назад

      @@koaltreus That doesnt work

    • @_leggsy
      @_leggsy 2 месяца назад

      @@koaltreus I have the same problem. Is there any way to fix it?

    • @Naz_11Yt
      @Naz_11Yt 12 дней назад

      @@koaltreus still doesn't work, could you help ?

  • @harrison_0312
    @harrison_0312 22 дня назад

    hey bro do yk why however much i rotate the cube (camera) whenever i press play it always flops to the side or goes upside down? thanks

  • @ItsSederec
    @ItsSederec 17 дней назад

    you never said anything about A. the camera having range
    B. Camera has a limited amount of uses
    explain

  • @thatshiairaqi9886
    @thatshiairaqi9886 2 месяца назад

    Thank you!

    • @koaltreus
      @koaltreus  2 месяца назад

      @@thatshiairaqi9886 np!

  • @AkbarUmmah
    @AkbarUmmah 2 месяца назад +2

    Can you add a *"Copy and Paste"* to the code? Thanks!

    • @AkbarUmmah
      @AkbarUmmah 2 месяца назад +1

      Also, it made it so it went to the player without me pressing the button and had me stuck there. Thanks!

    • @AkbarUmmah
      @AkbarUmmah 2 месяца назад +2

      UPDATE = NVM IT WORKED!!!! I CANT FIND THE WORDS TO THANK YOU. CAN I ADDD YOU ON DISCORD??

  • @eersatzz
    @eersatzz 25 дней назад

    is there a way to have the game load on the camera instantly instead of seeing the transition TO the camera spot?

    • @koaltreus
      @koaltreus  25 дней назад +2

      @@eersatzz in the menugui script, where you see “tween(workspace.Camera, TweenInfo.new(1), {CFrame = workspace.MenuCam.CFrame})” replace the 1 with a 0

  • @Colus3531
    @Colus3531 2 месяца назад

    Yo thanks Koaltreus!!!

  • @FilmTune
    @FilmTune 2 месяца назад +1

    question is there a way to add animated npcs to your main menu or cutscene? I would like to know

    • @koaltreus
      @koaltreus  2 месяца назад

      Yes, there is

    • @FilmTune
      @FilmTune 2 месяца назад

      @@koaltreus is there a way to make a video to explain it or explain it in another way I'm wondering I know this might be a waste of your time I'm sorry about that

    • @koaltreus
      @koaltreus  2 месяца назад

      @@FilmTune it’s all good, I might make a vid on it soon

    • @FilmTune
      @FilmTune 2 месяца назад +1

      @@koaltreus well cya soon I guess thanks for your help👍
      oh also whats your roblox profile I wanna give you a request and follow you for your help

    • @koaltreus
      @koaltreus  2 месяца назад +1

      @@FilmTunemy profile is Koaltreus

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

    I don’t see anything when I play the camera except the void why?

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

      happened to me too. in the menugui script, try replacing every “workspace.MenuCam” with “workspace:WaitForChild(‘MenuCam’)”

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

      @@koaltreus ok

  • @_anckr
    @_anckr 2 месяца назад

    THANK YOU!!!!!

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

    I need your help. The code works successfully but it does not disappear when I press the ''Play'' button. What should I do?

  • @The1slapple
    @The1slapple 13 дней назад

    How do you get the sitting guy

    • @koaltreus
      @koaltreus  13 дней назад

      create a guy using the rig builder (found in 'Avatar' section) and just rotate and move its bodyparts to make a sitting pose

    • @The1slapple
      @The1slapple 13 дней назад

      @@koaltreus the script didn’t work for the camera

    • @The1slapple
      @The1slapple 13 дней назад

      @@koaltreus i tried it the button didn’t disappear when i press play and I didn’t pop up the the camera when i spawned

  • @duckbusiness9524
    @duckbusiness9524 2 месяца назад +1

    yo bro everytime i reset the main menu gonna appear again how do i fix it?

    • @koaltreus
      @koaltreus  2 месяца назад +1

      @@duckbusiness9524 disable “ResetGuiOnSpawn” in the menugui’s properties

    • @duckbusiness9524
      @duckbusiness9524 2 месяца назад +1

      @@koaltreus tysm its worked

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

    when i cklick start then the start gui go but im still in the menu screen

  • @usedtobel1ll1gam3s
    @usedtobel1ll1gam3s 2 месяца назад

    The first script wont work i put the script in and it has the play button but its not at the scenery its where my spawn point is pls help

    • @koaltreus
      @koaltreus  2 месяца назад +1

      @@usedtobel1ll1gam3s in the first script, replace every ‘workspace.MenuCam’ with ‘workspace:WaitForChild(“MenuCam”)’

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

    i have it was i cool tutorial

  • @Hittzo
    @Hittzo 2 месяца назад

    Ok

  • @Kohkakave
    @Kohkakave 2 месяца назад +1

    THIS SHIT DOESNT WORK IN MY GAYM IT SAYS:i cant find MENUCAM in workspaceeeeeeeeeeeeeeeeeeeee

    • @Icee-Da-Axolotl
      @Icee-Da-Axolotl 2 месяца назад

      did you name the camera menucam?

    • @Kohkakave
      @Kohkakave 2 месяца назад

      @@Icee-Da-Axolotl MenuCam

    • @tobix7779
      @tobix7779 2 месяца назад

      same problem did you find solution ?

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

      @@Kohkakave workspace:WaitForChild(MenuCam")

  • @learningscripting
    @learningscripting 2 месяца назад +2

    function tween(obj, dur, cmd)
    game:GetService('TweenService'):Create(obj, dur, cmd):Play()
    end
    workspace.Camera.CameraType = Enum.CameraType.Scriptable
    tween(workspace.Camera, TweenInfo.new(1), {CFrame = workspace.MenuCam.CFrame})
    LocalScript:6: MenuCam is not a valid member of Workspace "Workspace".
    That error happens even though i have put in MenuCam in workspace, i'm kinda new to scripting, do i have to use 'MenuCam.Parent = game.Workspace'?

    • @koaltreus
      @koaltreus  2 месяца назад +2

      @@learningscripting maybe check if your MenuCam part is anchored, if not, it could’ve fallen into the void. But in the script, try replacing every “workspace.MenuCam” with “workspace:WaitForChild(‘MenuCam’)”

    • @EpicZoPlayz
      @EpicZoPlayz 2 месяца назад

      omg ur a life saviour, TYSM