The EASIEST Beginner Guide to Scripting (Roblox)

แชร์
ฝัง
  • เผยแพร่เมื่อ 9 มิ.ย. 2024
  • 🌟GET A SCRIPTING CHEAT SHEET (The Basics in ONE Place!)
    👉www.smartyrbx.com/scripting-c...
    ✅❤️‍🔥Visit The SmartyRBX Store for More Help, Assets and MORE: www.smartyrbx.com/smartyrbx-s...
    This tutorial will teach you how to script on Roblox in 2024, so you can start scripting your own games and earn more robux. Scripting can be really fun once you get the hang of it! 🔥
    💾RESOURCES:
    🔷FREE SCRIPTING CHEAT SHEET (The Basics in ONE Place!): www.smartyrbx.com/scripting-c...
    🔷Get My Scripting Secrets: bit.ly/ScriptingSecretsFreeVideo
    🔷Free Scripting Ebook: bit.ly/scripting-secrets-ebook
    🔷DevHub: developer.roblox.com/
    🔷DevForum: devforum.roblox.com/
    ✅✨Scripting Secrets: Learn Everything About Scripting, IN ONE Place! www.smartyrbx.com/scripting-s...
    ✅🤑Get The EXACT Process I've Used to Earn Over 2 Million Robux: www.smartyrbx.com/roblox-rich...
    ✅❤️‍🔥Visit The SmartyRBX Store for Assets and MORE: www.smartyrbx.com/smartyrbx-s...
    💻 ✅🌟 MY SETUP LIST ON AMAZON 🌟✅ 💻
    tinyurl.com/SmartyRBXSetupList (affiliate link)
    👆Affiliate link. Using it supports me & the channel!👆
    💙WANT TO SUPPORT THE CHANNEL?
    👉Buy Me a Coffee: www.buymeacoffee.com/smartyrbx
    ⏳TIMESTAMPS:
    0:00 | MOTIVATION, WHY YOU NEED SCRIPTING
    02:04 | Variables
    02:32 | Instances, Editing Properties
    02:39 | Strings
    03:38 | nil
    05:10 | Booleans
    06:02 | wait()
    06:13 | Numbers Do NOT Have...
    06:40 | task.wait()
    07:10 | Output Window, Practicing Print
    08:22 | Math: Basics
    09:13 | The Next Level... 👀👀👀
    09:48 | Functions
    10:32 | Functions: Parameters
    11:42 | Functions: Returning
    11:52 | Comments
    12:18 | Scope: Global vs. Local
    12:56 | Functions: Calling
    13:56 | if Statements
    14:19 | Equal to, ==
    14:37 | Color3
    15:24 | if Statements: else
    16:51 | if Statements: elseif
    19:47 | Events
    22:16 | FindFirstChild()
    22:37 | Humanoids
    24:26 | Object Browser
    26:30 | Loops
    26:48 | For Loops
    29:56 | While Loops
    31:00 | Loops: break
    32:28 | Debris Service
    33:17 | Tables
    33:49 | Tables: Key, Value Pairs
    38:29 | Let's Practice!
    44:08 | Strings: tonumber()
    46:48 | CFrame Basics
    47:57 | When in Doubt, Go To The DevHub
    48:24 | How To Earn Robux Scripting...
    Have questions? Ask in the comments!
    The EASIEST Beginner Guide to Scripting (Roblox)
    The EASIEST Beginner Guide to Scripting (Roblox)
    🔥WAYS TO EARN ROBUX... SERIES!
    • How to Earn TONS of Ro...
    🔥ROBLOX DEVELOPMENT... SERIES!
    • Roblox Development Con...
    ✅ SUBSCRIBE HERE! ➜ th-cam.com/users/SmartyRBX?sub_c...
    🔔 Be sure to hit the bell to turn on notifications!
    👍Be sure to hit that like button!
    💜OFFICIAL DISCORD SERVER
    Join my Discord server and talk to me and other fans!
    ➜ / discord
    💙WANT TO SUPPORT THE CHANNEL?
    👉Buy Me a Coffee: www.buymeacoffee.com/smartyrbx
    ✅❤️‍🔥Visit The SmartyRBX Store for Assets and MORE: www.smartyrbx.com/smartyrbx-s...
    The EASIEST Beginner Guide to Scripting (Roblox)
    #roblox​​ #robloxscripting #robloxstudio

ความคิดเห็น • 6K

  • @SmartyRBX
    @SmartyRBX  ปีที่แล้ว +682

    🔥Need help? Join the SmartyDEVS discord! www.smartyrbx.com/discord 🔥
    ✅🌟Get A Scripting CHEAT SHEET (The Basics in ONE Place!): www.smartyrbx.com/scripting-cheat-sheet
    🌟Sub with notifications on so you don’t miss new vids!

    • @ExstraLuck
      @ExstraLuck ปีที่แล้ว +30

      How did u learn to script?

    • @SmartyRBX
      @SmartyRBX  ปีที่แล้ว +40

      @@ExstraLuck Big combination of videos mainly TheDevKing for the basics, then a lot of my own research and hard work just making projects and learning things along the way

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

      How do We Script Advancedly

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

      How to color the part

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

      How do i script on Mobile

  • @SomeRandomIdiot-so5bt
    @SomeRandomIdiot-so5bt ปีที่แล้ว +2434

    I'm not ready for the amount of times I'm gonna have to re-watch this whole video 😅

    • @sandromariamidze7036
      @sandromariamidze7036 ปีที่แล้ว +92

      you could write the elements on a paper like im doing rn

    • @thatoneguyRae
      @thatoneguyRae ปีที่แล้ว +52

      I clicked on this video to expect it to be a normal 10-20 mins video until I read this comment and realized it’s 40 mins 😳

    • @ahlquist8750
      @ahlquist8750 ปีที่แล้ว +25

      Fr i'm just going to watch this over summer break because I dont have like 5 hours to do this 😂

    • @zcc101
      @zcc101 ปีที่แล้ว +12

      i used notepad app on my windows pc

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

      @@zcc101 Brooo smarttt

  • @baka500
    @baka500 ปีที่แล้ว +1010

    FINALLY SOME GOOD TH-camR THAT DOESN’T SOUND LIKE THEY JUST WOKE UP AND SPOKE AFTER 3 YEARS 😊😊😊😊😃😃😃😃😃😃😃🥶🥶🥶🥶🥶

    • @lordwipes376
      @lordwipes376 10 หลายเดือนก่อน +34

      Nah bro is speaking facts

    • @theexplainer00
      @theexplainer00 9 หลายเดือนก่อน +11

      I'm not giving up

    • @vampyreo2861
      @vampyreo2861 9 หลายเดือนก่อน +24

      “hello der end todey we will be writing roblocks looa todey”

    • @advithjakkireddy9029
      @advithjakkireddy9029 8 หลายเดือนก่อน +5

      Fr

    • @Artstyalfie
      @Artstyalfie 8 หลายเดือนก่อน +4

      @@theexplainer00no no no not yet

  • @jeremiahsaunders6390
    @jeremiahsaunders6390 หลายเดือนก่อน +54

    Thank You!!!! My son really wants to learn how to develop his own game and I made it my new mission to help him. However, I've been stumbling all over in the dark for a few days now trying to grasp Roblox Studio and your video made everything click for me.

    • @clear4893
      @clear4893 20 วันที่ผ่านมา +6

      Actual W dad

    • @Muhammadshahid12309
      @Muhammadshahid12309 10 วันที่ผ่านมา +1

      W dad

    • @FLITTERITZ7
      @FLITTERITZ7 7 วันที่ผ่านมา +1

      W dad wish mine could have done that mine died at 5 I’m not joking on God😓

  • @Royal_Rasturi2
    @Royal_Rasturi2 4 หลายเดือนก่อน +145

    A quick tip for anyone learning to code from this tutorial, make sure to try and understand what he is saying,
    After he finishes explaining this code , read the code and try to understand or repeat what the tutorial has said. Hope this helps some of yall!

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

      ty man, appreciate

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

      Thank u so much that helped me a lot.

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

      i cant figure out how to make a gui unvisible

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

      yes, another good thing to be able to do when you're coding is being able to sort of translate (I guess?) the code into a more understandable format. Especially when you're watching tutorials, sometimes they don't explain everything.

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

      @@kaeson4258local frame = script.Parent
      frame.Visible = true - false if invisible

  • @SmartyRBX
    @SmartyRBX  ปีที่แล้ว +1044

    PSA: Most issues in your script are caused by very small mistakes (missing word, capitalization issue, etc) that break the script ⚠

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

      Understanded

    • @fardeater
      @fardeater ปีที่แล้ว +55

      Bro I have checked. Everything. Not ONE THING is out of place, everything is correctly capitalized, everything is in the right order, yet it still. doesn't. work.
      Edit: Nvm, I fixed it. For some reason it kept spawning under the map, but I got it fixed. Thanks for the awesome vid btw!

    • @BlueBerry_Percentage
      @BlueBerry_Percentage ปีที่แล้ว +24

      @@fardeater I think roblox
      just updated there engine

    • @nonetotalk
      @nonetotalk ปีที่แล้ว +12

      @@AerialApples Understood*

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

      the first 1 didnt work for me

  • @OcieanicTick
    @OcieanicTick ปีที่แล้ว +940

    I’m a software developer, I work with JavaScript, Python, c++, and if you count it as a language also SQL. This really explains it so simply and easy to learn.

    • @Error63Dev
      @Error63Dev ปีที่แล้ว +10

      i just got python

    • @sandrazamudio57
      @sandrazamudio57 ปีที่แล้ว +35

      Java is so hard, taking it as a extracurricular for middle school, I can make a game but not without looking at my notes

    • @bendewberry7889
      @bendewberry7889 ปีที่แล้ว +24

      @@sandrazamudio57 it is difficult for anyone to make anything without at least one w3schools tab open at all times

    • @YessoN-YT
      @YessoN-YT ปีที่แล้ว +13

      @@sandrazamudio57 He said Javascript, not Java :o Javascript is for web

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

      SQL is the bane of my existence.

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

    Thanks man. This the only video that was actually not boring and most videos like that i would just stop watching but this video was pretty intresting and i learned all of this in 2 hours which was quick

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

    FINALLY A TH-camR WHO DOESNT DO A 1 HOUR YAPPING SESSION ABOUT HIS PREVIOUS VIDEOS

  • @-gj3nu
    @-gj3nu ปีที่แล้ว +57

    The quote "Give a man a fish, you feed him for a day. Teach a man to fish, you feed him for a lifetime."
    basically sums up most beginner scripters.
    I tried searching for tutorials and scripts on what I wanted to make instead of learning to make it myself or at the very least putting effort into understanding what I was copying.

  • @JuniDevs
    @JuniDevs ปีที่แล้ว +1106

    As someone who already knows how to script, I think this is an excellent source for anyone who's starting out. Remember, learn coding from general tutorials and not just one specific tutorial for a specific game genre.
    Edit: Just an update to say, yes, you CAN learn from specific genre tutorials, however, if you go from making an obby to a simulator, its gonna be a little frustrating trying to understand what some parts of code did, especially since most specific tutorials always tell you to copy what their doing. I strongly suggest learning from general tutorials, like functions, variables, etc, some of the basic easy to remember stuff, then challenge yourself, see what you can make with all this. I think GnomeCode's Tower Defense Series helped me understand A LOT more about coding because he explained exactly what everything did so I was able to add my own twists onto it. I went to creating an arcade experience and making arcade machines with NO tutorials, and if I forgot, looking at the Roblox Docs for even 15 seconds helped me remember.
    I recently actually started coding a Python Discord bot and caught on pretty quickly from 1. how easy Python is to understand and 2. the tutorial guy explained things.
    If you are genuinely interested in making games and actually want it as a possible future career, LEARN FROM GENERAL TUTORIALS!!
    Another thing to mention, your first game will NEVER get big unless you are really lucky. Advertising on Roblox is extremely luck based imo from past experiences.
    Thanks for reading this long paragraph, I was reminded about writing this with one of my friends who's learning to script and wants to make games.
    TL;DR, Learn from General Tutorials, specific tutorials don't help most of the time.

    • @epixerty
      @epixerty ปีที่แล้ว +16

      same and i agree, the most important part is definitely motivation and the purpose of it, some people just want to make games but not work hard for it, so they eventually give up within hours or minutes

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

      this actually was so simple and helped me out alot!!!!

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

      I mean specific tutorials from specific game genres can teach you some things. I've learned everything I know now from mostly tutorials of specific game genres
      (you can probably see why I'm on this video)

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

      Someome help me. I am beginner and i need teacher... i tried all tutorials i didnt understand

    • @Shockwave-Studios
      @Shockwave-Studios ปีที่แล้ว

      Guys I am one of the ex founders of fat whale studio an i personally like it a lot

  • @oscargizmo
    @oscargizmo 3 หลายเดือนก่อน +5

    I originally began learning Scratch from my friend who has used it for years and I learned a lot and basically in this video hes showing almost the exact same thing but with text. Its pretty understandable when you explain it simpler.

    • @leo-lp5do
      @leo-lp5do 19 วันที่ผ่านมา

      as a scratch fellow i confirm

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

    This is underrated and btw your first footage you did so fast I had to rewatch 10 times to know what happened XD

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

    I deadass need you to do a whole series from beginner to advanced. You do a very good job of explaining concepts and I can't find a tutorial better than this. Right on

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

    i never realized how fun it can be when it really starts to get easier and easier to code for me. thanks dude!

  • @GliboGlobo
    @GliboGlobo 3 หลายเดือนก่อน +8

    not even halfway through the video and your already over 10x better than other tutorials

  • @master011
    @master011 ปีที่แล้ว +240

    Beginners out there need to know that there can be multiple ways to write code to preform a task. There isnt one correct way but there can be a more efficient way. And most scripters should aim for this. Just a tip to keep in mind.

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

      Thanks im a beginner and im trying to make an obby game

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

      I mean, in the start if your code works, but horribly it's progress. Once you get it to work, you can make it more efficient

    • @Vikt-vg8nz
      @Vikt-vg8nz ปีที่แล้ว

      you don't wanna have people doing "for i = 1,1000 do
      script.Parent.Position.Y = script.Parent.Position.Y + 0.01
      wait()
      script.Parent.Position.Y = script.Parent.Position.Y + 0.01
      wait()
      script.Parent.Position.Y = script.Parent.Position.Y + 0.01
      wait()
      script.Parent.Position.Y = script.Parent.Position.Y + 0.01
      wait()
      script.Parent.Position.Y = script.Parent.Position.Y + 0.01
      wait()
      script.Parent.Position.Y = script.Parent.Position.Y + 0.01
      wait()
      script.Parent.Position.Y = script.Parent.Position.Y + 0.01
      wait()
      script.Parent.Position.Y = script.Parent.Position.Y + 0.01
      wait()
      script.Parent.Position.Y = script.Parent.Position.Y + 0.01
      wait()
      end"

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

      thats what confuses me

  • @frostyid4772
    @frostyid4772 ปีที่แล้ว +266

    I just wanted to say I appreciate this HEAVILY.
    I've never had so much fun in studio and with each small amount of progress I make is absolutely satisfying. I may spend days on perfecting a certain type of script (I'm still fairly new), I actually enjoy it. While scripting does make you think, and thinking tires me, I still can't help but smile and while in school, I just can't wait to get home and open Studio back up!
    Thank you so much, Smarty!
    I really, really do appreciate this, you explained this in such a perfect way that even I could understand! Before connecting functions and variables never ever began to make sense to me, but now I love mixing them, I love trying to figure out new types of "effects". Right now, I'm working on a generator and a frostbite script, thank you Smarty.
    -warmest appreciations from Idriss
    PS. if you ever wanna see what I came up with (in studio since I don't really wanna publish it now), just let me know!

    • @alazyskeleton
      @alazyskeleton 11 หลายเดือนก่อน +6

      i really like this comment

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

      I wanna know

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

      I want

    • @QuerNuker
      @QuerNuker 11 หลายเดือนก่อน +5

      i aint reading allat

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

      niceeeee

  • @MasonWolf90
    @MasonWolf90 13 วันที่ผ่านมา

    Thank you for the tutorial! This is the only one I could find that really explained everything.

  • @haloss3061
    @haloss3061 6 วันที่ผ่านมา

    this is helping a lot thank you for puting this out :D

  • @williamyt3123
    @williamyt3123 ปีที่แล้ว +213

    Love how you keep us motivated and hopeful of scripting. I'm not very confident when it comes to doing this, but you've given me confidence now.

    • @SmartyRBX
      @SmartyRBX  ปีที่แล้ว +25

      Really happy to hear that! Glad I could help

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

      same! this video motivated me and made me learn alot of new scripts! i was never able to do the place part script before but thanks to smarty i know know how to make an obby!

    • @404-AnimationYT
      @404-AnimationYT ปีที่แล้ว +5

      69 likes, heh

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

      @@404-AnimationYT o-o ..
      .

    • @404-AnimationYT
      @404-AnimationYT ปีที่แล้ว +2

      @@Theo_drawi you ruined it

  • @Illumivoid
    @Illumivoid ปีที่แล้ว +57

    Tbh, this was a HUGE help in scripting, I really wanted to learn how but all other tutorials were pretty confusing. This is a very good tutorial.

  • @Evil__D
    @Evil__D 15 วันที่ผ่านมา

    Excellent video, thank you. Liked and subscribed. I have a suggestion that would improve the understanding of your tutorials A LOT (at least to me). Minute 14:06, where you create a new variable call Part. Don't call names of variables the same name as other items in the studio. It is hard for this request to make sense to people that know what they are doing, but for a novice it is HUGE. Knowing which words you can make up and which are syntax can be hard at first until it clicks

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

    Thank you so much man you really helped me understand roblox scripting

  • @codydotpng
    @codydotpng ปีที่แล้ว +287

    I think my favorite part about this is the constant reassurance that we're doing well and not to give up. I've tried so many times to start learning some type of Coding language, but due to just not understanding things, or not knowing how to do what I want to do, it becomes very discouraging to continue without someone being there to help or give you props for having what you have.

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

      hows it goingaaaaa/

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

      agreed

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

      try not to “learn” it by just following courses… i mean the basiscs? of course, but build projects and build projects and build projects and build projects and build projects and so on… this means “to learn”

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

      I agree, having someone telling you throughout not to give up and giving words of courage and motivation really has helped. I felt like quitting a few times but the reassurance got me through.

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

      Same here

  • @inactive_124
    @inactive_124 ปีที่แล้ว +98

    im not a beginner but honestly this is still a very good video to watch for even advanced to intermediate people, for me i prefer fast paced videos instead of long, drawn out videos. this really helped to cement everything i already knew. great video man

  • @StrittandThe411
    @StrittandThe411 28 วันที่ผ่านมา

    Pretty nice tutorial so far. I have a good bit of experience in Java-script, so that definitely helped me understand what he’s doing here. But this tutorial explains a lot more than any other I could find.

  • @mrcoolio-vi9wg
    @mrcoolio-vi9wg 7 หลายเดือนก่อน

    As someone doing Computer Science for GCSE (British equivalent to a highschool diploma), this really helped me getting started with the script roblox uses since I’ve never been confident with coding in python or javascript.

  • @GalaxyTheDev
    @GalaxyTheDev ปีที่แล้ว +92

    Been programming for ~10 years now. Amazing tutorial. Straightforward, entertaining, and provides a lot of insight and information. 10/10.

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

    You added every single detail on what the script/object does. I have learned scripting all because of you, your a true legend, probably the best scripting video out there.

    • @RandomGuy-gp4qz
      @RandomGuy-gp4qz ปีที่แล้ว +2

      How good is your scripting?

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

      @@RandomGuy-gp4qzpretty good

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

      How good is your scripting?

  • @dragonball5987
    @dragonball5987 2 วันที่ผ่านมา

    Thank You So Much Dude This Helps Alot!

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

    Thanks, it kind of helped. I’m having trouble remembering anything and I’m sure it would take way longer than this video. But it did help with some of it.

  • @zank69420
    @zank69420 ปีที่แล้ว +57

    Wow. I haven't seen such a detailed tutorial for a long time. I am experienced with Python and had no idea what to do in Studio until I saw this

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

      Great to hear!

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

      Yeah Lua is pretty similar to Python

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

      So the language used in Studio is Python or Lua?

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

      @@duongphan5058 Lua

  • @fusionmedia08
    @fusionmedia08 ปีที่แล้ว +35

    This video helps a lot. I had many dreams of making a game for so long and have so many ideas but every video I watched on scripting, I understood for the most part but it was nothing useful for what I wanted to do. You finally went over things I wanted to learn like the “If, Then” statements I find very useful. Scripting still doesn’t make a whole lot of sense yet but I’m a lot closer to being able to start on a real project! Thank you.
    Edit -
    hello this is me 4 months later, i cant explain how much time i put into learning to script. I feel i learned everything but i just dont understand it. i know nearly everything about lua but i cannot make a game with it its very frustrating. i looked into C#, and some others. i just wanted to say this is the best video ive seen so far and it taught me the most, but im still stuck on not being able to do anything with the information ive been givin. lol, im close to quitting.

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

      What did you press to name the pink part in the beginning around 1:30 I’m tryna figure it out

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

      @@penguin3540 i think its F2/right click then rename

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

      How are things now?

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

      @@datboi42 Good actually, i understand scripting now but as i was making a game roblox got a new bug that the animations were broken so i havent been on for a while.

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

      @@fusionmedia08 nice! I’m happy for you. And thanks for updating man. I just started taking notes on this video. Hopefully I’ll get good at all of this stuff soon lol

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

    This video makes me motivate making roblox games and scripting i was so thankful to see this vedio because he made it easy to teach us such a good content thank you so much !! wish more videos like this :>

  • @TherianMinerThing
    @TherianMinerThing 10 วันที่ผ่านมา +1

    In my school, we have IT lessons, where we specifically learn python. It is eerily similar to Lua, but if you can’t understand Lua very well, or you can’t understand Python very well, if you learn one it really helps learn the other.

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

    This helped me so much. I'm thinking of starting to script and make games on roblox, this tutorial was straightforward and very clearly detailed. I like how you put key points in the timeliness so I can easily go back to something I forgot.

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

      Are you good at scripting now?

  • @cartoods195
    @cartoods195 ปีที่แล้ว +442

    Great video! Honestly best one yet in the scripting genre, your voice isn't just clear, you also come off as a great, genuine guy. If you could make a part 2 explaining into more detail about the code you did for the checkpoint during the "Lets Practice" tab I would really appreciate. Thank you for the clear, concise video.

    • @SmartyRBX
      @SmartyRBX  ปีที่แล้ว +57

      Thanks, will do!

    • @JToThE4
      @JToThE4 ปีที่แล้ว +18

      @@SmartyRBX You're the best youtuber.

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

      masterpiece editing.

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

      @@SmartyRBXI closed the thing on right hand side how do I reopen it

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

      @@dj_tiny3511 View (at top of studio) > make sure Explorer and properties are dark grey

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

    I cannot thank you enough for this tutorial. It took me some time but now that I got the hang of it it has become so much more enjoyable and fun. I'm moving onto more advanced scripting and I'm sure a lot of other people are also. Could you please make an advanced guide next. Tysm for this guide it was great!!

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

    This is pretty good, and if you have some basic understaning of code like java, its actually pretty easy to understand

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

    Holyyy shiiii. I loved this tutorial. Ive been watching AlvinBlox's tutorial on scripting but its a bit long and stretched out so I took a break from scripting but I saw this tutorial and my god was this helpful. Not only did I skip having to watch the next 10+ AlvinBlox tutorials I have left, but if I have problem I can just go back to this video and skip to the timestamps. I wanna see more scripting stuff on ur channel cuz I just subbed. (Also I love the fact that you even did a practice using what we learned)

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

      Glad you enjoyed it and sooo glad I could help save you time. Planning on it!

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

      I literally have the exact same story

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

    This is the best video I have seen to teach people Lua. I couldn't find videos for what I need, so explaining every word helps me out a LOT. I love how you explain all of the code to us and don't just blast through it. I also love the encouragement you give us. Thanks for this amazing video!

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

      Wow, thank you! Glad it helped

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

    thank you so much i never give up on my dream now and keep repeating parts of the video

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

    Nice guide for getting started quickly.

  • @everythinggeorge5470
    @everythinggeorge5470 10 หลายเดือนก่อน +96

    If anyone got confused with the whole return a thing for functions, I got you covered: The "return y" statement in the script is used to specify the value that the function "Add10(x)" will produce as its output. When a function is called, it executes the code inside it and computes a result. The "return" statement allows this result to be passed back to the code that called the function.
    In this script, after performing the addition operation and assigning the result to "y", the "return y" statement ensures that the value of "y" is returned as the output of the function. This allows you to use the result in other parts of your code or assign it to a variable for further processing.

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

      can you simplified the answers, sometimes i'm not good at English.. 😅😅

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

      @@LegoPieces_ Yeah these words are too complicated

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

      *EVEN MORE CONFUSED*

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

      ​@flytcoolSame (main) problem. I can't script cuz i dont know english very well... I can chat but that's all i can do...

    • @Blumaimn
      @Blumaimn 8 หลายเดือนก่อน +7

      @@LegoPieces_ for example: if you have y which is 5, and you add 1 to it in the function, and then you print it will say 6. but if you run this function again later in the script, it will still say 6, but returning it will actually add the previous action onto y, which will make it print 7.

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

    Awesome video, ur voice is so clear and I learned more in 10 minutes then watching any other tutorial for 30 mins.

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

    Thanks for the tutorial, this really did give me good explanation on scripting.

  • @CamLeMan1309
    @CamLeMan1309 15 วันที่ผ่านมา

    I still come back to this video to learn scripting, and tbh, this is the only video that I can actually learn to script because this TH-camr doesn’t sound like others. And I appreciate that he took his time to actually explain certain things that I can understand

  • @surprisingbenefits957
    @surprisingbenefits957 ปีที่แล้ว +18

    Thank you! A whole semester of beginners coding class in 48 mins, bravo!

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

      You're very welcome!

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

      wait actually?

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

      @@EyeWasBored pretty much

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

      @@EyeWasBored yeah literally same thing happened to me with music theory, i learned nothing for a whole year of music theory class because i had already learned all of it a few months prior in a 1 hr youtube video, no joke man lmao

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

      What video mind i ask? I need to learn music theory!

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

    i love all the great explanation in this video and the motivation! Great video:)

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

      did you have a problem with making the part in the first part of the vid i did the script the exact same and it didnt work is there something im doing wrong ?

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

      @@mbjknights2953 prob case sensitive or maybe JUST maybe because of the quotations

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

    I was trying for 2 months, but finally i got a good explanation. Ty dude.

  • @Sun-ho4sb
    @Sun-ho4sb ปีที่แล้ว +4

    This really helped a lot, keep outputting more great content!

  • @TeasIdeas
    @TeasIdeas ปีที่แล้ว +58

    For any other beginners remember to keep going! I've learnt html coding (I KNOW IT'S NOT THE SAME AS LUA) and once I got the hang of it, it's so fun! once you learn how to bring the stuff you want to make to life feels amazing especially when you make something public and people start seeing it!

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

      Great tip!

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

      Even though html technically isn't coding it's still super fun. I probably wouldn't have gotten into coding without i

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

      thx bro I'm currently learning to code so I can make games and youtube vids

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

      @@Wave_Duck yeah html (with css) is kind of just words turned into websites with already defined keywords in the mix to help, it's when you get with jquery and Mysql and java that things become REALLY fun like holy crap I knew nothing about coding and just knew html, but once I learnt all the other cool stuff i mentioned it was just a joy ride from there
      like i spent over 50 hours on my project for that unit and i learnt so much about the fundamentals of coding (which can be applied to any coding language including lua like variables and just coding logic in general)
      and honestly everything on the internet now makes a shit ton of sense especially now that the difference between client side and server side updates along with the html code that goes with it is kind of something I covered
      literally returning to lua after a 1 year hiatus where i kinda gave up and kinda wanted to return but now i'm back baby for some real shit but I know i don't really know everything but now i do know enough to get momentum and since i have 3 months off i can really focus on coding especially in general to get a head start in C++ and the other languages
      (oh yeah and also NXC which stands for not exactly C something (don't remember) which is for the lego robots which also taught me a great deal of coding logic)

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

      and on top of that why things are important in coding like case sensitive code and local vs global variables and loops in between along with arrays and just functions that some codes have in general and like i can see why they can be useful right of the bat
      like for example with creating objects in lua was kind of confusing like why not just have it already there but with knowledge about creating html elements with java and why you might need to do it, and then applying that to the logic of game design it kind of just makes sense now and it's super helpful
      honestly you might as well go through like a year course if your school offers it just to learn the basics of coding websites and robots (if they have that) and i feel like that's just a passive way to learn coding that might help with school grades if your passionate and at the end of the year everything about lua might just click instead of painfully spending a year trying to learn it to only go into some coding course and have it click then
      EDIT: also just experience with this stuff in general like holy crap i remember being so confused with all of this a year ago and it just flying over my head and now i literally know what he's going to say about each code function and it's all just coming back to me and it's hella satisfying to not be so depressed cause of it

  • @Coiuntdooku1
    @Coiuntdooku1 18 วันที่ผ่านมา

    2024 and it's still the best video for learning. Great Job!! You've helped me a lot.

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

    You have this gift. By some unknown way, despite who it is. You can motivate them. I wasn't gonna bother anymore, I learnt to build but saw how complicated scripting was. But when I heard you say, "That was me only 1 year ago". All that motivation, came flooding back.

  • @neonscene2888
    @neonscene2888 ปีที่แล้ว +13

    Learned more in 4 minutes than I did with any other tutorial

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

    I am 5 minutes into this video, and i know three things:
    1. This is what i looked for.
    2. I will actually be able to script at the end of this video, as he said (i was a lot skeptical at first but the vid is 48 mins long and i already know how to add a script in the first 5 mins).
    3. This dude is so underrated.

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

    I have ADHD and for me learning anything is hard. Even stuff I want to to learn. This tutorial, and this tutorial only, has motivated me to watch it till the end in one sitting. I am now motivated enough to code a simple game and all thanks to you. You have no idea how much you’ve helped me. Thank you so very much ❤!

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

    Thanks. This had helped me a lot as a child developer. I love to build things but lag scripting and coding. This video will help future generations. Thanking you once again.😊

  • @mengvang396
    @mengvang396 11 หลายเดือนก่อน +10

    Very well detailed, and very easy for the viewer to access points throughout the video. But I could also see how someone who's an absoutle beginner, like they just started, struggle to grasp the concepts mentioned in the video. But, yet again, he was doing a very breif over view/ summary of all the key ideas in the Lua programming language and I don't think I would've done a good as a job as him If i were explaning it. Very excellent!!

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

    Wow this was really well done
    I've watched so many other tutorials and this one was the most well taught!

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

    thank you for theese scripting elements and what they do Though!

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

    This Video has a great balence of thee speed of which he explains everything and how much detail he gives on the subject.

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

    This is the one video that’s good and takes everything slow and steady, with basic and simple definitions of the scripts meaning! So useful!!! I’m trying to script out a “Find The Game” and I don’t really know how to make the badge be received once you touch the model so could you make a video of scripts on “Find the Games”? ((Unless u already have)) I would really appreciate it!!! Thanks for this amazing video!

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

      Wow, thanks! I'd look into "BadgeService" on the roblox devhub.

  • @PomegranateJuiceSmoothie
    @PomegranateJuiceSmoothie ปีที่แล้ว +16

    This is SO helpful for learning the basics to build up from and I wanna thank you for making it in a way that crammed tons of info into a digestable thing that wasn't easy to get distracted and click off the video and I'm glad I spent like an hour in total watching and rewinding some parts because now I understand the basics of scripting! Also I like how you showed when you messed up to remind us that its normal to make mistakes and when you kept us motivated at parts where we probably have no idea what we are looking at and reassuring us that we will get it by the end of the video. I definitely recommend watching this from start to finish and rewinding until you grasp something

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

    Man Thanks for the help you also make this help funny and enjoyable to watch thanks i really needed this for the game i am making 😄

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

    Buddy u got a new sub this has helped me so much. Ive been trying to make my own tower defense game but have had no idea what ive been doing ill be able to basically script my game

  • @ns33333
    @ns33333 ปีที่แล้ว +10

    I'm not even finished watching and this is so helpful! Thanks so much for making this video, I can't thank you enough.

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

      You are welcome I’m so glad I could help!

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

      yeah thanks i subscribed

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

      so true

  • @betlexgaming9663
    @betlexgaming9663 ปีที่แล้ว +74

    Absolutely magnificent source for people trying to learn the basics. The editing was glorious and the information provided was easy to understand unlike the others. You geniuenly helped me understand some line of code in complicated scripts. You made a big carry on my scripting journey. Now I'll continue learning! Also looking forward to Part 2!

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

      That's great I'm glad I could help! Thanks!

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

      @@SmartyRBX I have a question why can't I see the object browser never mind I found it I was too blind too see it lol

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

      U explained that poorly

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

      @@SmartyRBX when is part 2?

  • @Devy.Scripter474
    @Devy.Scripter474 4 หลายเดือนก่อน +1

    THIS DEFINETLY WILL HELP TY

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

    Ey bro you helped me so much this is the first time I watches your video tutorial

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

    Thank you so much for this tutorial! A lot of the other videos' code was either outdated or I didn't understand, but this video really helped me jumpstart my game!

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

      Cool you’re welcome!

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

    this is probably the only tutorial that actually helped me tbh

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

    Yo nice tutorial really helped me out a lot.

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

    really appreciate this tutorial!

  • @SirPigingstin
    @SirPigingstin ปีที่แล้ว +62

    This was so helpful thank you so much! I had no idea how to script but this taught me everything I needed. Thank you so much.

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

      You're welcome I'm glad I could help you learn!

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

      Btw this isnt even like 5% of everything roblox scripting has to offer

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

      @@Tettzz That’s why it’s beginners it’s intended for you to continue learning after

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

      @@SmartyRBX I need help, whenever I type in local it goes in blue instead if red when I’m typing in my script any idea on how to change that?

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

      Tell me what "for i,v do pairs() do end" means if your a scripter now 💀

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

    Thanks for making this tutorial the others are like hours long and this can save u so much time!

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

      Glad it helped!

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

    Coming back to scripting 13 years later they’ve really made things a lot easier to understand especially with script management

  • @icecream-yum
    @icecream-yum 18 วันที่ผ่านมา

    i like how this guy gives encouragement throughout the vid

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

    This dude taught me something I have been questioning for years 😢

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

    HOLY CRAP DUDE, this, this is the video EVERYONE needs. I learned more than I was able to with ANY OTHER video tutorial, congrats on teaching me something.

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

      Glad to hear it!

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

    I understood everything thank you for the information 👍

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

    Finally thanks mate, it will help with my game so much.

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

      You saw my comment already :0

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

    I have been script developing and creating gaming and RP content for 16 years in Secondlife; I do all my mesh and scripting, animations, texturing, GUIs, and the whole deal, but I am ready to move on to Roblox. This video was broken down so perfectly for any level creator.thank you!!

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

    thank you for this amazing tutorial! i was just fiddeling around with the code and managed to toggle and untoggle shadows using script! Good tutorial for biginners!

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

    Dude i cannot tell you how helpful this was, now i know the basics of scripting

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

    Saving my progress at 20:17, and so far, this is really helping me remember some stuff I forgot.

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

      Cool glad I could help - great progress so far!

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

    I did exactly the same and couldn't create a new part :(

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

    I'm a severe diagnosed dyscalculiac so scripting and coding has always been incredibly difficult for me. I have watched this video not understanding anything but it will take some time and I really hope I can progress my skills some more.

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

    Great tutorial! Only thing i dont understand is for loops, but the rest was pretty easy for me to pick up!

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

      Basicallt it just lets you repeat an operation a certain amount of times

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

    Thank you for making this video, It is very well made and very helpful. : )

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

      You’re welcome, so glad I could help! thank you 🙏

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

    Here is a suggestion:
    Music for a Day and Night cycle (with additional audio for transitions)

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

    I really hope this helps me. I'm on nil currently, and I have so many great ideas for games. I'm already kinda far into studying blender 3d so if I can learn scripting I might make a game like I always wanted! :D

  • @RedSuitGuy
    @RedSuitGuy 9 หลายเดือนก่อน +3

    This video just kickstarted my Roblox dev career, I’ve had an fps game in mind for a while and see a myself coming back to these basics a lot!

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

    Honestly this was the only ever video to teach me any more than printing (Which I still did not learn) so in my opinion you are a better teacher than even AlvinBlox. I still have not finished this video but I cannot wait.

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

      Cool I'm glad I can help!

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

      @@SmartyRBXI gave up but I will restart with this video. The fact that I understood any of that jumbo gives me hope. 😅

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

    Just to clear something up if any doesn't understand, "=" is used as an assigning tool, and "==" is used to check/compare if something is equal to something else, so that is why you use "=" when assigning variables and not "==".

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

    You’re an inspiration 🎉🎉🎉🎉 Thank you so much!!!

  • @sorgii
    @sorgii ปีที่แล้ว +14

    You kept reassuring me that all my questions, confusions, and inquiries would be answered by the end of the video but I ended up more confused with more questions than I even started with.

  • @V.e.d_
    @V.e.d_ ปีที่แล้ว +3

    This Is a great beginner video, but I would love to see a more advanced one!

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

    Bro just understands me great tutorial i really liked it it cleared out all my doubt's Thx bro u earned a sub!

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

      Awesome, thank you!