How to Make a Main Menu // Roblox Studio

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

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

  • @InRift
    @InRift  10 หลายเดือนก่อน +60

    Watch till the end and don't miss out on anything! Might not work otherwise
    Main Menu Kit in the Thumbnail: th-cam.com/video/AiBl5UjRRiU/w-d-xo.html&t
    Need help? Join my Discord server! discord.gg/pGmyH7AfZ8

  • @deathdoesroblox
    @deathdoesroblox 11 หลายเดือนก่อน +49

    Nice, I am going to use this to implement a main menu so when the player presses play, it then does an animation to move down or fade away. When the credits underneath this is pressed, it then changes the camera to a position and then the credits will show.

    • @InRift
      @InRift  11 หลายเดือนก่อน +3

      Thats nice idea

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

      @@InRift u commented 2 times

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

      well my screen says so,meanwhile it says there is only 1 comment

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

      @@Haingst huh

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

      use tween my guy, need help with that? im new too lol

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

    this is the best tutorial out there, i managed to customize the script a bit to add a "cutscene" after,

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

    THIS IS AMAZING, STRAIGHT TO THE POINT AND WORKS!!!!!!!!!!!!!!!!!

  • @the87player
    @the87player 11 หลายเดือนก่อน +13

    good tutorial man
    your script worked even tho I removed some line so the camera is fixed on a part
    but it would be good to have the script in the description

    • @InRift
      @InRift  11 หลายเดือนก่อน +3

      Sure, i will attach scripts in the description from next time on. Thanks for the advice!

  • @yetifin
    @yetifin 21 วันที่ผ่านมา +1

    Hello, when I tried adding a text button to BG at 1:52, nothing showed up, there was a button in the corner like on your screen.

  • @Starrery
    @Starrery 4 หลายเดือนก่อน +3

    This actually helped me so much thank you!!

  • @belowzerro3421
    @belowzerro3421 17 วันที่ผ่านมา +1

    I know you’re a scripter and you don’t specialize in UX but setting anchor points and positioning to 0.5,0.5 makes the UI the same on all devices.👍🏼👍🏼👍🏼 great tutorial man!

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

      What you may not know is i specialize in UX. But, this video is just for scripting and not for UX desigining.

  • @damaster-gaming
    @damaster-gaming 8 วันที่ผ่านมา

    If it didn’t work for you try when it says current camera.camera type = Enum.cameratype.custom instead put cameratype.Track

  • @RadiantKaijin
    @RadiantKaijin 8 หลายเดือนก่อน +6

    IM SO GLAD MY GUY
    this video is extremely straightforward and helped me A TON because I've just started to learn scripting!

  • @Lil_Bro694
    @Lil_Bro694 5 หลายเดือนก่อน +9

    Thank you soo much your the only vid that acctualy works THX THX THX THX
    and when i die it goes back to the camera!!! EXACTLY WHAT I NEED NOW I CAN GO TO BED!!

    • @dominc-pj7fx
      @dominc-pj7fx หลายเดือนก่อน

      help meeeeeeeee

  • @EnderGrad
    @EnderGrad 2 หลายเดือนก่อน +1

    If you are wondering how to do the tilted buttons (as in the thumbnail), you just need to use surface guis and the rest of it is standard stuff

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

      Surface gui actually.

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

      @@InRift shit, I confused them again. I will edit the comment

  • @memepersonguyidk419
    @memepersonguyidk419 7 หลายเดือนก่อน +4

    Thank you this helped a lot

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

    Tysm! It worked! First try! I’m subscribing right now!

  • @Tuaz0_0
    @Tuaz0_0 9 หลายเดือนก่อน +6

    This is what i need for my haikyuu game i'm making thx

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

      np

  • @MonitorFrames
    @MonitorFrames 9 หลายเดือนก่อน +10

    It works thank you. Just an quick issue when I hit play the camera flips over the camera is anchored.

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

    Thanks so much! I am a returning dev from 2020, this is the best part of my building partition. I subbed.

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

      Welcome aboard!

  • @R0SE_L0VES
    @R0SE_L0VES 9 หลายเดือนก่อน +5

    Tysm this really helped a lot :3

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

    it worked tysm you own a new sub! I'm still designing my game called "Relax.." And I wondered to put a camera menu in it to make it more beautiful tysm!

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

      Thanks for the sub!

  • @TotallyHYDRO
    @TotallyHYDRO 9 หลายเดือนก่อน +4

    5:10 if you wanna copy script

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

    Omg thank you so much! I fixed error spelled and it really worked thank you!🎉❤

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

      Glad it helped!

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

    Thank you this helped me so much!

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

    Omg bro you don’t understand how much I love you rn I have been trying to make this for 2 years 🙏 but this 5 minute video acctually worked ? Omg I love you bro God bless you ❤

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

      🙌

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

    It worked very good thanks. I subbed to you!

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

      Thanks for the sub

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

    It works! Amazing video, thank you so much i needed it for my game.

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

      Glad to help

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

    Thanks! This is what i needed, even tho u posted this 8 months ago it's still working i will subcribe now!

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

      Glad I could help

  • @Vursit_
    @Vursit_ 3 หลายเดือนก่อน +2

    this is cool! but was wanting to making it where the camera follows my mouse

  • @zebra_x6420
    @zebra_x6420 10 หลายเดือนก่อน +3

    Hi i was wondering if it would be possible for u to maybe make it so when we press play it gives us options for a spawn, and we have to chose a spawn location in order to play the game?

    • @Underrated_GSGNL
      @Underrated_GSGNL 10 หลายเดือนก่อน

      me too

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

      i can show you i know how

    • @Theundeadforce
      @Theundeadforce 2 หลายเดือนก่อน +1

      Actually you can without the need for tutorials but just create a gui and make a button then script that button to a specific spawn you want them to spawn.

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

    Thank you so much it worked and I didn't get stressed!

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

      You're welcome!

  • @lcgp4150
    @lcgp4150 23 วันที่ผ่านมา

    Hello, i really liked your tutorial! It worked perfectly but i have a little problem : the script only work for me and doesn’t work for my others friends in roblox studio. How can i fix that ?Thank you very much, i am waiting for an answer 😊

    • @InRift
      @InRift  23 วันที่ผ่านมา

      could you please elaborate more?

    • @lcgp4150
      @lcgp4150 22 วันที่ผ่านมา

      Oh sorry, my english isn’t very good 😅. When i test the game on roblox studio, it works. But, it won’t work for my friends since we are collaborating to make the game. And it doesn’t work in the roblox client.

    • @lcgp4150
      @lcgp4150 21 วันที่ผ่านมา

      Nevermind, it works now, it was just uncommited

  • @erikpower7203
    @erikpower7203 9 หลายเดือนก่อน +2

    It worked! Could you make a part 2 that includes a credit button?

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

      sure

  • @hi-ux2ur
    @hi-ux2ur หลายเดือนก่อน

    this man needs a raise...

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

    why didnt it connect tot he little part

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

      It did the same to me, how do I connect it?

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

    Thx for this vid and i need just map to finish the game) u have new sub)

  • @Yumiikou
    @Yumiikou 10 หลายเดือนก่อน +1

    Hello! may I ask? This the first tutorial that work for me and it's really great but can you please help me? I want the play button to have some animation to look more nicer and smoother! I hope you can help me!

    • @InRift
      @InRift  10 หลายเดือนก่อน +3

      Sure i will upload a video on it!

    • @Yumiikou
      @Yumiikou 10 หลายเดือนก่อน +2

      @@InRift TYSM!! and if you don't mind is it okay if you add more option like settings but if it is much complicated it's fine! Cause am kinda new to this!

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

    The fact that you told us to check for typo's and proceeded to spell common wrong is crazy
    Good vid btw

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

      😅

  • @rainf3ll
    @rainf3ll 10 หลายเดือนก่อน +4

    I tried everything. There are no misspells, and I typed everything. Still, it is not in the camera position. Please help

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

      try checking the spelling or, checking weather if you made the script local or server

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

    How do i make the play button go into another menu with more stuff?

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

    I made it qnd it works tysm! Question is there a way to make it with q title and credits?

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

    Thanks ! this is really cool.

    • @InRift
      @InRift  2 หลายเดือนก่อน +1

      No problem!

  • @masterpoweryt
    @masterpoweryt 9 หลายเดือนก่อน +2

    Nice tutorial !
    I have a solution for the infinite yield
    Maybe the camera is too far from the player so the player can't load it
    I made this mistake because i created a platform with the camera and i moved it away of the map so the players can't see it
    Hope this help ;)

    • @Johndoe-jb6nx
      @Johndoe-jb6nx 9 หลายเดือนก่อน

      Infinite yield is a roboox exploit.

    • @Johndoe-jb6nx
      @Johndoe-jb6nx 9 หลายเดือนก่อน

      Roblox exploit*

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

      its not. @@Johndoe-jb6nx

    • @InRift
      @InRift  9 หลายเดือนก่อน +1

      actually, if you get an infinite yield, you have to put wait(0.1). If you dont it will not work because low end devices with low processing power cannot process it. So to make your game favorable for every devices you must put wait(0.1)

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

      ​@@InRift yes but some people says that it didn't work even if they put wait(0.1) so i think maybe they put the camera too far from the spawn so when players join the game they can't load it

  • @jakubi.brawlstars
    @jakubi.brawlstars 14 วันที่ผ่านมา

    And how to add buttons like ,,shop“ or ,,weapons“ or smth

    • @InRift
      @InRift  14 วันที่ผ่านมา

      ok

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

    Thanks, ill be using this for my horror game

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

    you can also use the indicator to check the front. Thanks!

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

    I appreciate this ty for the tutorial

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

      No problem

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

    Wow that its a good tutorial!

  • @Rblxns
    @Rblxns 2 หลายเดือนก่อน +1

    ayo ur the goat bruh

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

    Hello! My name is Enrique, I have seen all your videos which I really think are great and because of your knowledge in the area of Scripts. I would love to know if you would be interested in participating in the development of a Roblox experience that is quite advanced. What it really needs is someone to bring it to life with the scripts. If you are interested, do not hesitate to reply and I will be happy to give you more details! Many successes.

    • @InRift
      @InRift  11 หลายเดือนก่อน +1

      Yes I'm interested

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

      @@InRift Brilliant! Do you have a way for me to contact you to give you more information and get started early?

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

      @@enriqueperez5726 Discord?

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

    could this be used to make cctv style cameras? like if you wanted to make a camera room where if u interact with a proximity prompt u can open up cameras

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

      Yep

    • @mahdi.html.
      @mahdi.html. 3 หลายเดือนก่อน

      yeah

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

    tank uz!!1! dis helpt meh maek my 2D platformer game.

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

      jk, dint workz :(

    • @Seiklass.reremsch
      @Seiklass.reremsch 3 หลายเดือนก่อน

      @@ploobMClmao

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

      @@ploobMC why are you spelling like that

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

    Ty Guys I Needed This

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

    worked and loving it

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

    is there a tutorial out there where it shows you how to make the ui stay in place while the camera moves around in the menu

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

      th-cam.com/video/egYPwftrePg/w-d-xo.html
      You meant this?

  • @Angel.ghostpup
    @Angel.ghostpup 5 หลายเดือนก่อน

    Ty !

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

    BRO WHAT HAVE I DONE WRONG I MADE EVERYTHING AND SET IT UP LIKE IN THE VIDEO AND THEN WHEN I CLICK PLAY IT JUST SPAWNS ME AND DOESNT PUT ME WHERE THE CAMERA IS, THEN THE ONLY THING I HAVE IS THE STUPID PLAY BUTTON SITTING THERE..

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

      IT WORKED, but i had to move my intro thing onto the baseplate xD

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

    im so much of a beginner im struggling with explorer *insert crying emoji*

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

      Everyone had this time

  • @Liamt1710
    @Liamt1710 5 ชั่วโมงที่ผ่านมา

    Didnt work

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

    didnt work :(

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

    currentcamera dosent work it says its not a member

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

    Pretty good

  • @ChillTvr_Real
    @ChillTvr_Real 2 หลายเดือนก่อน +1

    It didn’t work and I went back to check for spelling errors

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

      oo ok

  • @Vihjbr
    @Vihjbr 9 หลายเดือนก่อน +1

    ayo when i hit play the play button and the camera view won't go away

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

      then check for spelling errors bc for me it works fine

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

      how did u do that i want mine to be like that

  • @RoboStitch1234
    @RoboStitch1234 9 หลายเดือนก่อน +1

    I did everything correctly and even checked for spelling errors but the play button wouldn't work

    • @InRift
      @InRift  9 หลายเดือนก่อน +1

      strange. want a model?

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

      @@InRift plz

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

      @@RoboStitch1234 I'll give a link to a model that I'll make

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

      @@InRift ok

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

      I don't have time to make it because i have a ton of work. SORRY!!!

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

    I was kinda expecting something else from the thumbnail, but that's fine, I guess.

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

    When i press play the play btn still shows up, how csn i fix it?

  • @BLPIXEL1
    @BLPIXEL1 10 หลายเดือนก่อน

    how do i make when the camera follows the mouse
    (i might do this at my game and try to make the avatar make any pose for the main menu)

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

    If you are too far away you can't see it

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

    why do all these tutorials use the same shitty gate to get the script, i try to do what the instructions say and they never work, so i click skip and now i have to wait an hour

    • @InRift
      @InRift  23 วันที่ผ่านมา

      Only source of income rn. Im removing them on 10/12/24

  • @JUBAYER_AHSAN
    @JUBAYER_AHSAN 10 หลายเดือนก่อน

    Hey i Wonder if you give us some model that i can use ☺️

    • @InRift
      @InRift  10 หลายเดือนก่อน +1

      hm sure!

    • @InRift
      @InRift  10 หลายเดือนก่อน +1

      which do you want?

    • @JUBAYER_AHSAN
      @JUBAYER_AHSAN 10 หลายเดือนก่อน

      yeah@@InRift

    • @JUBAYER_AHSAN
      @JUBAYER_AHSAN 10 หลายเดือนก่อน +1

      @@InRift yeah but brother you can give a free model link

    • @InRift
      @InRift  10 หลายเดือนก่อน

      @@JUBAYER_AHSAN Yeah

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

    nothing works for me i rlly don’t know why

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

      Check your output and spellings. Specially the names.

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

    U a goat thanks bro

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

    Yo the camera and everything works but when I click play it doesn't take me off the camera can you help me out

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

      Yes, whats the error?

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

      By error, i meant texts shown in the output

  • @OtavioFernandes-z3d
    @OtavioFernandes-z3d 9 หลายเดือนก่อน

    broh thx!! you helped me so much!!

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

      np

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

    when i die, the menu pops up again, how do you fix it?

    • @Atoniobabosa
      @Atoniobabosa 7 หลายเดือนก่อน +4

      go to the screen gui properties and unmark "Reset on Spawn"

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

      ​@@AtoniobabosaBROOOO TYYY

  • @p3achy_lemon
    @p3achy_lemon 10 หลายเดือนก่อน

    Idk what I did wrong. I copied the script correctly and even checked for spelling errors but when I test it it brings me straight to the spawn location and not the camera.

    • @InRift
      @InRift  10 หลายเดือนก่อน

      can you paste the script here?

    • @nexon5808
      @nexon5808 10 หลายเดือนก่อน

      Me too

    • @InRift
      @InRift  10 หลายเดือนก่อน

      Paste your script here please@@nexon5808

    • @T.B.C.N.G_Propaganda
      @T.B.C.N.G_Propaganda 8 หลายเดือนก่อน

      @@InRift i have the same problem heres my script

    • @T.B.C.N.G_Propaganda
      @T.B.C.N.G_Propaganda 8 หลายเดือนก่อน

      --Varibles
      local CurrentCamera = workspace.CurrentCamera
      local Part = workspace:WaitForChild("Menu Camera")
      local PlayBTN = script.Parent.BG.Play_btn
      wait(0.001)
      --Set the camera position to MenuCamera
      CurrentCamera.CameraType = Enum.CameraType.Scriptable
      CurrentCamera.CFrame = Part.CFrame
      --Functions
      function Play()
      CurrentCamera + Enum.CameraType.Custom
      script.Parent:Destroy()
      end
      --Run the Function
      PlayBTN.MouseButton1Click:Connect(Play)

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

    how do you make the frames at an angle like in the thumbnail

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

      th-cam.com/video/zh7w_W6ZzBk/w-d-xo.html
      Here is a tutorial on it!

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

    Dude tysm

    • @InRift
      @InRift  2 หลายเดือนก่อน +1

      Happy to help

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

    How do I hide other GUIs while on the main menu?

  • @Boogy-k2i
    @Boogy-k2i 3 หลายเดือนก่อน

    omg this helped so much

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

    when I try it, it says infinite yield possible. Is there any fixes?

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

      you didnt add wait(0.0001)

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

      try making the camera closer to the player spawn

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

    how could i make it so it destroys all of it for only you once you press the play button

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

    Guys i literally copied everything word for word and check for mispelling twice and for some reason it doesnt play when i click play

    • @user-wh6zf7fm4f
      @user-wh6zf7fm4f หลายเดือนก่อน

      Why did you copy all if it's literally in the desc boi

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

      @@user-wh6zf7fm4f are you stupid?

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

      @@user-wh6zf7fm4f i copied it from the description

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

      The error is then probally with Names of the object
      Anyways, please!
      Don't be rude to other people :)

  • @KNZFL
    @KNZFL 9 หลายเดือนก่อน +1

    is there a link to the model?

    • @s3vexraleyes
      @s3vexraleyes 8 หลายเดือนก่อน +6

      i dont know, but if u want help on the script here. --Varibles
      local CurrentCamera = workspace.CurrentCamera
      local Part = workspace:WaitForChild("MenuCamera")
      local PlayBTN = script.Parent.BG.Play_btn
      wait(0.001)
      --Set The Camera Position To MenuCamera
      CurrentCamera.CameraType = Enum.CameraType.Scriptable
      CurrentCamera.CFrame = Part.CFrame
      --Functions
      function Play()
      CurrentCamera.CameraType = Enum.CameraType.Custom
      script.Parent:Destroy()
      end
      --Run The Function
      PlayBTN.MouseButton1Click:Connect(Play)

  • @yaboywest
    @yaboywest 11 หลายเดือนก่อน +1

    this is my code, it says on line 17 that attempting to index nil with CFrame any fixes?
    ---identifying variables. clicksize and starsize UDim2.new is the height and width of gui, name and button is the gui, blur is the blur in lighting, clicksound and music are the sounds played when in the menu and out of the menu, cam part is
    ---the camera part, cc is the current camera in workspace, basically your humanoid's screen.
    local button = script.Parent
    local name = script.Parent.Parent.GameName
    local blur = game.Lighting.Blur
    local clicksound = game.Workspace.ClickPlay
    local clicksize = UDim2.new(script.Parent.Size.Width.Scale * 0, 0.5, script.Parent.Size.Height.Scale * 0, 0.1)
    local startsize = UDim2.new(script.Parent.Size.Width.Scale, 0.137, script.Parent.Size.Height.Scale, 0.062)
    local music1 = game.Workspace.Music
    local music2 = game.Workspace.Music1
    local Part = game.Workspace:FindFirstChild("CameraPart")
    local CurrentCamera = workspace.CurrentCamera
    task.wait (0.001)
    ---sets the current camera (your screen) to the part's camera.
    CurrentCamera.CameraType = Enum.CameraType.Scriptable --- "scriptable has no behaviour and is only used for when developers need to script custom behaviour - which in this case is to make the player's screen go into the part's screen "
    CurrentCamera.CFrame = Part.CFrame --- CFrame is the camera position
    ---tells the code to play the music and enable blur to be true (blur is visible) before the function
    music1:Play()
    blur.Enabled = true
    ---function
    function Click()

    clicksound:Play() --- plays the code once clicked
    script.Parent:TweenSize(clicksize,Enum.EasingDirection.Out,Enum.EasingStyle.Sine,.25,true) --- these 3 lines of code changes the gui's size smaller then back to normal after clicked
    task.wait(0.1)
    script.Parent:TweenSize(startsize,Enum.EasingDirection.Out,Enum.EasingStyle.Sine,.25,true)
    task.wait(2) --- tells the code to wait 2 seconds before running the rest of the function
    button:Destroy()
    name:Destroy() --- these 2 lines of code destroys the menu gui once play is clicked.
    music1:Stop()
    music2:Play() --- stops music 1 and plays music 2 once play button is clicked
    blur.Enabled = false --- tells the code to disable the blur effect in player's lighting
    CurrentCamera.CameraType = Enum.CameraType.Custom --- puts the camera back to the normal screen
    end
    ---runs the function when click
    script.Parent.MouseButton1Click:Connect(Click)

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

      Do WaitForChild() instead of FindFirstChild("CameraPart")

    • @InRift
      @InRift  11 หลายเดือนก่อน +1

      The error is saying that it cannot find the part. FindFirstChild() doesn't work in this case because the game is still loading assets when you first join. So, what WaitForChild() does is that it waits and finds the part.

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

    So i made like a loading screen before it but the play button is in the way how can i fix that?

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

      make a script so it waits for the loading screen to end to the button appear
      for example: if the loading screen takes like 15 seconds, make the button not visible and add this local script to the button
      wait (15)
      script.Parent.Visible = true
      (to make the button not visible, go to the button properties)
      (or just change the button zindex lol

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

    Question, why does this work singleplayer but not multiplayer?

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

      Could you elaborate more?

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

      @@InRift Nevermind, it was an issue inside of team share. Sorry!

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

      Can you elaborate on that? check your output logs and you might have typed something or some scripts that override it?

  • @greenyzytz-7jsb83
    @greenyzytz-7jsb83 3 หลายเดือนก่อน

    OMG TYSM

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

    @Rift uhh my script aint working, script in the menuGUI and here is the script btw :
    --Variebles
    local CurrentCamera = workspace.CurrentCamera
    local Part = workspace:waitforchild("MenuCamera")
    local PlayBTN = script.Parent.BG.Play_btn
    wait(0.001)
    --Set the camera position to MenuCamera
    CurrentCamera.CameraType = Enum.CameraType.Scriptable
    CurrentCamera.CFrame = Part.CFrame
    --Functions
    function Play()
    CurrentCamera.CameraType = Enum.CameraType.Custom
    script.Parent:Destroy()
    end
    --Run the Function
    PlayBTN.MouseButton1Click:Connect(Play)
    is there any mistakes?

  • @controll_777
    @controll_777 9 หลายเดือนก่อน +1

    1:11

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

    How can I ACTUALLY make it so that it looks like the thumbnail? :(

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

      Just make a surface gui

  • @Luckz767
    @Luckz767 10 หลายเดือนก่อน

    Bro, it didn't work for me, when I enter the game it spawns directly, help me, I did everything the same😢

    • @InRift
      @InRift  10 หลายเดือนก่อน

      Try checking the camera name. It could have been misspelled

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

      Can you specify the issue you are having by checking the output logs?

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

    How do I add more buttons?

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

      Duplicate the current one and rename it

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

      @@InRift thx but would it just do the same thing like if I name it “controls” wouldn’t it just start the game

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

      @@InRift also u should make a Tut for adding music to the menu

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

      No, you have to script for it

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

      Yes, its simple. Just add a sound and turn playing on.
      Heres a video: th-cam.com/video/L7Zvh0ldliY/w-d-xo.html

  • @FrostyGamer160
    @FrostyGamer160 7 หลายเดือนก่อน +30

    Didn’t work

    • @Cog-gearGaming
      @Cog-gearGaming 3 หลายเดือนก่อน +3

      It works, make sure you did the Exact same name as his instructions

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

      Search for typos

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

      you did it wrong then

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

      Check the output logs and can you specify the issue?

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

      @@Theundeadforce I found a different main menu cam so I dont need this anymore.

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

    it only works sometimes when i join

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

    Plus 1 sub for you

  • @Artisan1-0-1
    @Artisan1-0-1 3 หลายเดือนก่อน

    Tysm

  • @dadbot8480
    @dadbot8480 7 หลายเดือนก่อน +2

    I will steal this.

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

      Make sure to credit the owner or you'll be accused of plagiarism of stealing someone's idea.
      Or I misenterpret, if I did misunderstand apologies for getting you offended.

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

    your thing deosn't work bro
    i reviewed the script and ur video 100 times and it still deosn't work

  • @School_Laptop_gamer
    @School_Laptop_gamer 8 หลายเดือนก่อน +2

    the play button doesent dissapear

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

      Check the output logs it might help of that issue and you can fix the script.

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

    doesnt work im going to crash out