How to make your FIRST Roblox Game in 2024 (Make Robux)

Sdílet
Vložit
  • čas přidán 22. 05. 2024
  • Do YOU want to make a Roblox Game? Well you're in the perfect place, because in this video, I'll be showing you EVERYTHING you need to know about Making your FIRST Roblox Game in 2024! We'll go over everything from building, to scripting, to actually making Robux!
    👇(Expand Description for Scripts!)
    By the end of this video, you should have a completely functioning game where you can make Robux and play with your friends!
    Make sure to subscribe if this video helps you, and enjoy!
    ✨Discord Server: / discord
    😍Patreon: / codebro29
    👕MERCH: codebro29-official-merch.crea...
    📋 Scripts -[
    1️⃣ Checkpoint Script:
    script.Parent.Touched:Connect(function(hit)
    if game.Players:FindFirstChild(hit.Parent.Name) then
    local plr = game.Players:FindFirstChild(hit.Parent.Name)
    if plr:FindFirstChild("leaderstats") and plr.leaderstats:FindFirstChild("Stage") then
    plr.leaderstats.Stage.Value = script.Parent.Stage.Value
    end
    end
    end)
    2️⃣ Leaderstats Script:
    game.Players.PlayerAdded:Connect(function(plr)
    local l = Instance.new("Folder",plr)
    l.Name = "leaderstats"
    local s = Instance.new("IntValue",l)
    s.Name = "Stage"
    s.Value = 1
    end)
    3️⃣ Respawn Script:
    game.Players.PlayerAdded:Connect(function(plr)
    plr.CharacterAdded:Connect(function(char)
    local stage = plr.leaderstats.Stage.Value
    for i,v in pairs(workspace:WaitForChild("Spawns"):GetChildren()) do
    if v.Stage.Value == stage then
    task.wait(.5)
    local hrp = char:WaitForChild("HumanoidRootPart")
    char:SetPrimaryPartCFrame(CFrame.new(v.Position + Vector3.new(0,3,0)))
    end
    end
    end)
    end)
    4️⃣ Dev Product Script Local:
    local mps = game:GetService("MarketplaceService")
    local devProductId = 00000000 --your id here
    script.Parent.MouseButton1Up:Connect(function()
    mps:PromptProductPurchase(game.Players.LocalPlayer,devProductId)
    end)
    5️⃣ Developer Product Server Script:
    local mps = game:GetService("MarketplaceService")
    local id = 1711128944
    mps.PromptProductPurchaseFinished:Connect(function(userId,Product,isPurchased)
    local plr = game.Players:GetPlayerByUserId(userId)
    if isPurchased then
    if Product == id then
    for i,v in pairs(workspace.Spawns:GetChildren()) do
    if v.Stage.Value == plr.leaderstats.Stage.Value + 1 then
    plr.leaderstats.Stage.Value += 1
    if plr.Character then
    plr.Character:SetPrimaryPartCFrame(CFrame.new(v.Position + Vector3.new(0,3,0)))
    end
    return Enum.ProductPurchaseDecision.PurchaseGranted
    end
    end
    end
    end
    end)
    END OF SCRIPTS]-
    💬Comment ideas for future videos below! VVV
    Roblox username: fiveironfan2006
    My group: www.roblox.com/groups/5646843...
    How to Make a Roblox Game (2024)
    Chapters: [
    0:00 - Downloading Roblox Studio
    0:50 - Learning Roblox Studio Basics
    6:14 - Building your Game
    20:05 - Earning Robux
    28:16 - Publishing your Game
    ]
    #roblox #coding #lua

Komentáře • 1,3K

  • @CodeBro29
    @CodeBro29  Před 4 měsíci +161

    ❓Having trouble with the code?
    CZcams doesn't let me use the symbol > in descriptions unfortunately, so the script for the checkpoint might not work. Use this script for the Checkpoint Script instead:
    Checkpoint Script:
    script.Parent.Touched:Connect(function(hit)
    if game.Players:FindFirstChild(hit.Parent.Name) then
    local plr = game.Players:FindFirstChild(hit.Parent.Name)
    if plr:FindFirstChild("leaderstats") and plr.leaderstats:FindFirstChild("Stage") then
    if script.Parent.Stage.Value > plr.leaderstats.Stage.Value then
    plr.leaderstats.Stage.Value = script.Parent.Stage.Value
    end
    end
    end
    end)
    ❓Still having issues? The BEST place to ask for help is in my Discord server: discord.gg/qvAkcgKPDh
    🤩Want to Learn how to Script in Roblox? Check out my Beginner Scripting Series! czcams.com/play/PLfAg6nOoAuSktXuCK-HWhdSJAcYQBnls5.html
    ❤ You can Download the File for THIS VIDEO on my Patreon! www.patreon.com/CodeBro29
    czcams.com/users/sgaming/emoji/7ff574f2/emoji_u2753.png

    • @sshh1791
      @sshh1791 Před 4 měsíci +1

      Ty

    • @hodasaleh425
      @hodasaleh425 Před 4 měsíci +3

      Ty

    • @NOOB20152
      @NOOB20152 Před 4 měsíci +3

      You scammed me im on laptop and I don’t see start creating

    • @RobloxshowP
      @RobloxshowP Před 4 měsíci +1

      tanks

    • @RealMrPizza
      @RealMrPizza Před 3 měsíci +1

      @@NOOB20152 When you see it you should download it. Then find the file and left-click it (double-finger tap) and after that you should see "open" in the white box click on that and your good.

  • @ZionYTGaming
    @ZionYTGaming Před 4 měsíci +50

    i’ve been searching for a simple tut for so long and i finally found one, thank you so much for making this (subbed❤)

  • @kittygamimg5221
    @kittygamimg5221 Před 3 měsíci +16

    This has got to be the best Roblox studio video ever cuz he actually helps you build something most people show you how to build certain things but not full obbys plus he shows you so much times how to do something so that you don’t forget thanks 🙏

  • @Nuke_Gaming123
    @Nuke_Gaming123 Před 3 měsíci +6

    Thanks for everything dude! You really helped me make new games on roblox! Because of this I decided to subscribe, like and hit the bell!

  • @Vision_Politics
    @Vision_Politics Před měsícem +2

    This one is the best tutorial than others I've been watching for so long. Thank you so much ❤

  • @gurshandhesi4153
    @gurshandhesi4153 Před 4 měsíci +42

    i just love how much detail he puts into his videos and that he reads every comment

  • @FedoraDEV
    @FedoraDEV Před 4 měsíci +9

    Nice tutorial! And congrats on 25k :)

    • @CodeBro29
      @CodeBro29  Před 4 měsíci +3

      Thanks! 😃

    • @I_loveJesussomuch
      @I_loveJesussomuch Před 2 měsíci

      for some reason, at the beginning of the tutorial, on the right side of your screen u have the filter workspace and i dont so i cant do anything@@CodeBro29

    • @smiglet14
      @smiglet14 Před měsícem

      @@CodeBro29is it local l or i on 2nd script

  • @user-in8df1kd2v
    @user-in8df1kd2v Před 2 měsíci +2

    You're videos are really usually. thanks😁👍

  • @JSPlaysGames
    @JSPlaysGames Před 2 měsíci +2

    Thanks bro, i've been struggling subbed

  • @Jamali_Family
    @Jamali_Family Před 3 měsíci +6

    thank you so much for this video ive been watching other tutorials but this one is the best

  • @hehYT
    @hehYT Před 4 měsíci +3

    Been watching you for 2 years. Just wanna thank you for making my dream come true.

  • @eeeeee880
    @eeeeee880 Před 4 měsíci +1

    thank you this video really helped me Alot thanks for the video i know you put a lot of effort to this video so thank you u made roblox studio a little easier for me so yeah i subed and like and thanks for the video :D

  • @SuperTeach31
    @SuperTeach31 Před měsícem

    Ty bro! All of the other game tutorials are really hard, but this was just ez pz. Thx Fam!

  • @pipoyyotaza4163
    @pipoyyotaza4163 Před 3 měsíci +5

    woaah this is very helpful for me as a first-timer who's curious about how the games on roblox work. now, I want to create my own game. tysm for this video. It inspires me to make games in roblox🥺❤

  • @Serano2013
    @Serano2013 Před 3 měsíci +4

    BEST VIDEO EVER! THIS IS THE BEST TUTORIAL IVE EVER SEEN AND I TOOK SCREENSHOTS OF YOUR SCRIPTS!!!! You earned a new sub :D

  • @S0LD1ER129
    @S0LD1ER129 Před 3 měsíci +2

    Amazing Tutorial congrats on 35k subs!

  • @zeruiyan1299
    @zeruiyan1299 Před 29 dny

    this video is awesome i found it very usefull keep up the great work! : )

  • @lloydmaster6757
    @lloydmaster6757 Před 2 měsíci +4

    I won't be doing scripting because I have a feeling I won't be good at it, So I will stick into basics like adding obbys to my game on Roblox Studio and publishing it onto Roblox. Anyways great video on showing how to make your very own roblox game in Roblox Studio, This will surely be really helpful to other people. Keep up the great work.

  • @OGETA
    @OGETA Před 4 měsíci +48

    Wow, one of the easiest tutorials to do and understand!
    If possible, it would be great to have other videos like this, for other types of games in Roblox.
    Thanks for this tutorial!

  • @BurningJaguar32
    @BurningJaguar32 Před 11 dny

    your video is so nice and easy for beginnners! Keep up the good work!!! 👍

  • @IsaiahGaming73
    @IsaiahGaming73 Před 3 měsíci +1

    Tysm this helps out so much!
    BTW your beginner scripting series is also amazing you take it slow and step by step and with this tutorial I made my first real game!

  • @user-rr5xp6bm2e
    @user-rr5xp6bm2e Před 4 měsíci +12

    Can you make a video of adding more gamepasses like the flying carpet or the spring coil with the scripts in the discription for begginers. I absolutlly love your videos . they are the best!!!

  • @wxl1d
    @wxl1d Před 2 měsíci +79

    people who think this was the easiest tutorial out there on youtube, this man deserves 100k subs

  • @acemechaelis998
    @acemechaelis998 Před měsícem

    On my vacation I'll totally use it, it's just so nice that you teach us this thing I appreciate it a lot thanks bro

  • @cappyplayz6688
    @cappyplayz6688 Před 3 měsíci

    Tysm ! Bro ur very nice i wish you get more subs !! i still watch ur script ones ! Tysm!!

  • @Gaorl12345
    @Gaorl12345 Před 4 měsíci +3

    love your videos bro, I hope I can make it someday.

    • @CodeBro29
      @CodeBro29  Před 4 měsíci

      Just keep it up! You can do it!

  • @Positivity4ever
    @Positivity4ever Před 4 měsíci +13

    Hello, can you please make a tutorial on data store service in your advanced scripting series? So far all your tutorials are really good and understandable so I would love if you did one on data saving :)

  • @andrealvarez2452
    @andrealvarez2452 Před 3 měsíci

    THANK YOU SO Much bro I've bin so not confident to make a game but you made me want to thanks for starting my journey Also you got a new Sub now :D

  • @youstinametri2984
    @youstinametri2984 Před dnem +1

    thanks for the turtorial since I never knew how to make a game,best youtuber ever

  • @TheRealHVG
    @TheRealHVG Před 4 měsíci +403

    Whose watching this in 2024
    Edit:tysm for 75 likes
    2nd edit:thx for 92 this my most popular comment ever

  • @Chxrrypie
    @Chxrrypie Před 4 měsíci +7

    When will you continue the advanced scripting series? I miss that series a lot as it is really helpful!

    • @CodeBro29
      @CodeBro29  Před 4 měsíci +1

      This month! Don't worry, I haven't forgotten! :)

  • @person-ct9sw
    @person-ct9sw Před 2 měsíci

    I've watched at least 7 different tutorials on this,and this is the only one that actually works!He deserves a sub.

  • @DinoDeluxeee
    @DinoDeluxeee Před 3 měsíci

    This video really helped me out a whole lot! Thank you for showing me how to do this

  • @ZORO-YTUR
    @ZORO-YTUR Před 25 dny +7

    I Liked my own comment cuz no one wanted already ☺️

    • @YTST4R
      @YTST4R Před 18 dny

      I did and I hope you do also!

    • @JRGrubbs
      @JRGrubbs Před 16 dny

      I like you comment

  • @Maxx08
    @Maxx08 Před 4 měsíci +6

    Hardest thing is to make people play the game

    • @user-pn5fs7yr8y
      @user-pn5fs7yr8y Před 4 měsíci

      fr

    • @georgepg3d854
      @georgepg3d854 Před 4 měsíci

      Anything is possible.Blox Fruits once was small but with enough advertisement you can easily get people to actively play unless your game isnt fun.

    • @c44473
      @c44473 Před 4 měsíci

      @@georgepg3d854 Most people wont ever play a game like this because there is absolutely nothing unique about it. Blox Fruits succeeded because it was unique and the developers put a lot of effort into it. not only that but advertisement probably wouldn't work that well because the game doesn't look interesting, why would a player pick your obby over the 7000 other "SUPER FUN RAINBOW EASY MEGA OBBY" games. if you want to create a successful then you just have to learn how to script in order to create your own fun and unique game otherwise your game won't succeed . Also if your game was uninteresting enough your literally making the game from a tutorial which dozens of other people have used. Which means that your game is basically IDENTICAL to dozens of others games.

    • @nevermoreyaphetz3280
      @nevermoreyaphetz3280 Před 2 měsíci

      Fr

    • @Maxx08
      @Maxx08 Před 2 měsíci

      @@georgepg3d854 hard without robux or money tho

  • @worldoffnaf880
    @worldoffnaf880 Před 2 měsíci

    Bro tysm for this tutorial ive been dreaming of making my roblox game from like 2018 u got youreself a new subscriber ❤

  • @huynhthithanhhong6770
    @huynhthithanhhong6770 Před 4 měsíci +1

    omg i love your vid! thank u so much!!!!!!!😘

  • @lucastsolakis
    @lucastsolakis Před 3 měsíci +3

    Yo the 3 rd script doesn’t work

    • @Shorts_LUXFO
      @Shorts_LUXFO Před 12 dny

      The 3rd script does work

    • @user-fr1nn6ui1m
      @user-fr1nn6ui1m Před 11 dny

      @@Shorts_LUXFO How much lines does it take cuz mine takes 12 and codes takes 11

  • @AnimationManDC2
    @AnimationManDC2 Před 3 měsíci

    Thank you so much CodeBro!, your tutorial has helped me a lot! i could finally make my first game!

  • @iacobdenis5104
    @iacobdenis5104 Před 10 dny

    Best tutorial ever!!(subed☺)

  • @user-sg4jf9rz1i
    @user-sg4jf9rz1i Před 4 měsíci +253

    Don’t ask why this comment has no likes

  • @Pepermintcookie2
    @Pepermintcookie2 Před 15 dny +18

    No one like my comment👾

  • @aidenpeterson8046
    @aidenpeterson8046 Před 2 měsíci +1

    dude this video WAS SOO HELPFUL i know some things about studio but the skip stage thinge WAS SOO HELPFUL like Tysm❤(subbed)

  • @Arazek
    @Arazek Před 14 dny +1

    Thank you so much for the help! i’m gonna try and make a game with that kind of gamepass (dev product)

  • @MegaMaker099
    @MegaMaker099 Před 3 měsíci

    Thank Dude, You Help Me Out A Lot! (Subbed And Liked)

  • @a_200WithaTophat91
    @a_200WithaTophat91 Před 17 dny

    Thank you! This really helped!

  • @user-zs9px9ke2j
    @user-zs9px9ke2j Před 4 měsíci

    Omg ty for the video, especially for letting me copy and paste the script. :)

  • @WilliamsFITHleg
    @WilliamsFITHleg Před 4 měsíci

    TYSM!! THIS IS THE FIRST TUTORIAL THAT HAS ACTUALLY HELPED ME

  • @ImNotJerix
    @ImNotJerix Před 2 měsíci +1

    BRO YOUR THE MOST HELPFUL CODER AND I LUV IT!!!!

  • @amrmostafa3439
    @amrmostafa3439 Před měsícem

    Thanks very much i like your video and the way you tell us thanks again good luck my friend.

  • @Future.anonimus
    @Future.anonimus Před 4 měsíci

    best tutorial iv ever seen i love your channel and way you try to help begginers like me god bless you bro and thank you so much for everything

  • @user-sc5xt3gl1t
    @user-sc5xt3gl1t Před měsícem

    This is the most helpful and simple video i've watched i've literally built an entire obby from this tysm

  • @TheRealSKEFT
    @TheRealSKEFT Před 2 měsíci

    this has helped a bunch thank you!🎉

  • @Ambush-57
    @Ambush-57 Před 26 dny

    Thank You So Much For Helping Me Out!

  • @kamilsiepak3973
    @kamilsiepak3973 Před 29 dny +1

    I dont know how you are doing IT but that's insane! Dude i will literally go for roblox programming course its cool!😀😃👍

  • @user-rr5xp6bm2e
    @user-rr5xp6bm2e Před 4 měsíci

    You have the best tutorials i have ever seen!!!

  • @Asghar29
    @Asghar29 Před 3 měsíci +1

    bro thank you so much you are the best. you helped me so much

  • @robloxrules69
    @robloxrules69 Před 4 měsíci +1

    this was very helpful!!

  • @kielblox777
    @kielblox777 Před 23 dny

    Thanks! I didnt know what to do. It helped! (You got a sub from me!😊)

  • @user-ke3nk7fz7d
    @user-ke3nk7fz7d Před 22 dny

    Thank You So Much For The Tutorial It Really Helps

  • @GamerHavengg
    @GamerHavengg Před 3 měsíci

    you are really cool your vids are awesome and im subed

  • @DianaChernenko-kl7sq
    @DianaChernenko-kl7sq Před měsícem

    OMG IT HELPED ME SO MUCH TY!!😊❤

  • @lazarearabidze
    @lazarearabidze Před 14 dny

    Bro you explain so good i subbed

  • @songsinheng6095
    @songsinheng6095 Před 2 měsíci +1

    This helped me so much! Can you make a stage picker video so I can put it in my obby?

  • @user-rx5sc2yu9x
    @user-rx5sc2yu9x Před 8 dny

    BEST TUTORIAL EVER!!!!!! I LIKED + SUBBED THANKS TO THIS AMAZING TUTORIAL! YOU ARE BETTER THAN 5 BILLION PEOPLE IN ONE! THANK YOU!!!!!

  • @EpicScorpion763
    @EpicScorpion763 Před 4 dny

    Thank you so much bro you just earned a sub

  • @atgb2629
    @atgb2629 Před měsícem

    Thank you this has been so helpful

  • @Jordanco1112
    @Jordanco1112 Před měsícem

    YEH I AM GOING TO SUB HE HELPED SO MUCH

  • @nabanitahalder9324
    @nabanitahalder9324 Před měsícem

    THANK YOU SO MUCH !!! YOU ARE THE BEST CZcamsR !!YOU HELPED ME OUT SO MUCH MAN !!

  • @AditSahoo-zb8fw
    @AditSahoo-zb8fw Před měsícem

    Bro thank you soo much. Because of you I was able to make a really nice game that to easily.

  • @KingNoobsito
    @KingNoobsito Před měsícem

    hey thanks! im learning how to script and this tutorial helps me ty!

  • @waliahmed2339
    @waliahmed2339 Před 18 dny

    tysm bro it helps me alot bro!

  • @Electio
    @Electio Před 4 měsíci +1

    This helped me sooooo much! Thx 🎉

  • @vurna
    @vurna Před měsícem

    Great video! My daughter and I just finished following your tutorial and we now have our very own Obby game. :)
    One question that came up after we tested live was when we did a purchase, skipping a stage. That worked. But where does the robox go?
    Like do they go directly to in this case as we created the game on my daughters account, they go directly to her robox balance in game?
    Everything else was very clear and simple to follow. Thanks a lot! 🙂

  • @AIRevengingChat
    @AIRevengingChat Před 3 měsíci +1

    best tut ever bro thank you so much

  • @TheRealMaster777
    @TheRealMaster777 Před 16 dny

    YOO tysm this helped me so much tysm

  • @user-ut3tq3lo2w
    @user-ut3tq3lo2w Před 15 hodinami

    thanks this is really helpful

  • @Reckless45
    @Reckless45 Před 28 dny

    Thank u so much this really works 🎉🎉🎉

  • @TheRandom____
    @TheRandom____ Před 3 měsíci

    thanks! this video is easy to follow for beginners like me!

  • @themoonlight906
    @themoonlight906 Před měsícem

    Thanks bro it helped me a lot❤

  • @KxylaZuri
    @KxylaZuri Před měsícem

    Omg your a life saver thank you so much this helped alot🙏

  • @HAZEMFan-ip6fu
    @HAZEMFan-ip6fu Před 2 měsíci

    Nice tutorial! 😊😊

  • @quinquin7949
    @quinquin7949 Před měsícem

    yooo i cant join ur dc server cause u paused the invites - well what ever, still a nice tutorial, love it!

  • @kasra8423
    @kasra8423 Před 4 měsíci +1

    Best video I ever see for roblox studio Thanks dude!

    • @CodeBro29
      @CodeBro29  Před 4 měsíci

      So welcome! glad I could help!

  • @salsichagames3194
    @salsichagames3194 Před 4 měsíci

    thx a lot, this helps me a lot :)

  • @Therealhorizxn
    @Therealhorizxn Před 3 měsíci +1

    This IS a Great video really clear I love how you've Put HEAPS of effort into this video.
    Just one problem. When I join the game on Roblox i cant click the skip stage button. It may be because of i dont have any passes on the game. But Please let me know how to fix this. :>

  • @Nitroxz429
    @Nitroxz429 Před měsícem

    very good video helped me alot thank you very much

  • @dylanvalentingomez6268
    @dylanvalentingomez6268 Před 3 měsíci

    I'm at half of the video but I already commenting how good this video is fr, it gives the possibility to earn some robux through a game without even know how to code a game just follow step by step

  • @ElectroFootball313
    @ElectroFootball313 Před 3 měsíci +1

    yo this guy is awesome he really helped me out!

  • @AlexVitaliyZ
    @AlexVitaliyZ Před 4 měsíci

    You are the best person to watch ❤

  • @Soldoutbrick
    @Soldoutbrick Před 3 měsíci

    Ttysm for this tutorial it will help me alot, im getting my gaming laptop in march so i will create my own obby game when i have it.

  • @Gamingluphawu
    @Gamingluphawu Před 4 dny

    I LOVE IT I SUB AND LIKE WOW BRO NICE VIDEO

  • @NixIsTheAnswer
    @NixIsTheAnswer Před 13 dny

    I love this tut w Channel

  • @MyuLatMahaw
    @MyuLatMahaw Před 4 měsíci

    I love it thank you very much my G! May god bless you

  • @user-vu9hv2to4y
    @user-vu9hv2to4y Před 2 měsíci

    bro thanks for making this tutorial, it's so simple and easy

  • @Glapus-clothing
    @Glapus-clothing Před měsícem

    thank you so much you helped me alot

  • @manaboutsound
    @manaboutsound Před 2 měsíci

    Well done, very well made video. I can't help but think that roblox is training young developers to prioratise shallow monetisation and micro transactions, or at least its training players to accept them as normal. Would be good to know what you think about that

  • @Arcadecharm
    @Arcadecharm Před 3 měsíci

    Thanks for this!

  • @Narimanka_25
    @Narimanka_25 Před měsícem

    Thx im new subscriber😊

  • @pockystick8557
    @pockystick8557 Před měsícem

    thank you for this tutorial!