VARIABLES - Roblox Beginner Scripting Tutorial #5

Variables are useful for holding data in a script so you can keep track, access and change its values. Learn how they work with this video, as well as what the difference is between local and global variables!
Join membership for EXCLUSIVE perks:
/ @alvinblox
SUBSCRIBE to learn how to master Roblox scripting:
kzread.info?sub...
Watch my full beginner scripting series:
goo.gl/k3erz2
Roblox username: Alvin_Blox

Пікірлер: 622

  • @AlvinBlox
    @AlvinBlox3 жыл бұрын

    What did you learn from this video? Let me know in the replies!

  • @NoobieYT

    @NoobieYT

    3 жыл бұрын

    Loads and loads more. I'd love a video on how to make a custom model and it will attack you once you are near it. It's a big thing tho. I wanted this for months by now but I really don't know how to script it as it's (as said before) very hard. It would basically make my game ready for release. 👊

  • @Noscripts

    @Noscripts

    3 жыл бұрын

    Your tutorials are awesome!

  • @AlvinBlox

    @AlvinBlox

    3 жыл бұрын

    @@NoobieYT I don’t have plans for that sorry, don’t want to keep you waiting in hope but keep going on learning and sure you’ll be able to do it! I especially recommend the dev forum as a resource.

  • @arireitman2080

    @arireitman2080

    3 жыл бұрын

    @@AlvinBlox Very true alvinblox

  • @BasicallyBored_

    @BasicallyBored_

    3 жыл бұрын

    hi i love ur vids

  • @JoSeph-qo4gq
    @JoSeph-qo4gq3 жыл бұрын

    Suggestion: Every 5 episodes or so, make a game using all the knowledge from the 5 episodes and past episodes as well to keep us motivated

  • @parrotz3dgaming525

    @parrotz3dgaming525

    3 жыл бұрын

    That would actually be really cool every once in a while he makes a simple game that can show us what our skills could be used for as an example.

  • @andrewr888r

    @andrewr888r

    3 жыл бұрын

    Awesome idea

  • @Dexhammy

    @Dexhammy

    3 жыл бұрын

    Yes pls

  • @JJoey5

    @JJoey5

    3 жыл бұрын

    That is one killer idea dude

  • @StormyBoi6

    @StormyBoi6

    2 жыл бұрын

    @@parrotz3dgaming525 exactly and my brain doesnt start lighting up untill i see what can be done with the knowledge i have. It would be rlly good since i would get a real taste of making a proper game.

  • @arireitman2080
    @arireitman20803 жыл бұрын

    AlvinBlox, thx for putting so much effort into these videos. I started 5 months ago with your basic tutorials and now I am working on complex games! Thank you!!!

  • @optymystyc
    @optymystyc2 жыл бұрын

    Your series is awesome and I really hope you continue your path in programming and game making! I can totally see you learning C# and making/teaching Unity games!

  • @Mufazl2120
    @Mufazl21203 жыл бұрын

    Love this Video!!!! Keep working Hard, UNDERSTODD EVERYTHING!!! SO easy to understand!!! OMG

  • @godwater1265
    @godwater12653 жыл бұрын

    I would just like to say that you've helped me so much learning how to script and now i'm able to script many things. Thanks for all of your hard work!

  • @Plierz
    @Plierz3 жыл бұрын

    thank you so much alvin, you have taught me the basics of robklox Lua scripting, if i ever make a game, i will thank you in the description

  • @deividrmz4054
    @deividrmz40543 жыл бұрын

    *It shows that you leave all your effort to teach us this and without charging anything* Tysm

  • @AlvinBlox

    @AlvinBlox

    3 жыл бұрын

    Cheers mate 😎

  • @GachaOddwolf

    @GachaOddwolf

    3 жыл бұрын

    @@AlvinBlox plz make the emotes and quest for the miku concert

  • @Dexhammy

    @Dexhammy

    3 жыл бұрын

    @ that’s probably way down the line lol

  • @evhunter0962
    @evhunter09623 жыл бұрын

    I already know how to script simple things (mostly in python but a bit in lua )but I'm watching this to make sure I know everything that I didn't know and this is very helpful

  • @thesecondchillface338
    @thesecondchillface3383 жыл бұрын

    Hey, could you please make more of these new versions of your scripting tutorials? I absolutely love them. I like how you zoom in and add little animations. It's been a whole month now.

  • @Specialispro
    @Specialispro3 жыл бұрын

    Thanks for helping me learn to script!

  • @alyssa62208
    @alyssa622083 жыл бұрын

    Also tysm for this video this is just what I needed

  • @brendihno
    @brendihno3 жыл бұрын

    this was the first scripting vid I ever saw, it taught me so much, keep up the good work alvinblox!

  • @brendihno

    @brendihno

    3 жыл бұрын

    so yeah, thx

  • @seanteszler3911
    @seanteszler39113 жыл бұрын

    Keep making these, they are extreamly helpful!

  • @tetrianafobia3195

    @tetrianafobia3195

    3 жыл бұрын

    Learn how to spell

  • @DarkCryator
    @DarkCryator3 жыл бұрын

    Thanks! Finally a new video for the series thanks so much!

  • @furybolt1474
    @furybolt14743 жыл бұрын

    This video really helped *A lot!!* Thanks for teaching us how to script! Keep up the good work on these videos!!!

  • @simplyxnqti7230
    @simplyxnqti72303 жыл бұрын

    Hey alvinblox! I just want to say you helped me so much with my games and I love your channel! And I subbed!

  • @frankpanzek5287
    @frankpanzek52873 жыл бұрын

    Awesome series. Thanks for making the videos.

  • @Dxeam
    @Dxeam3 жыл бұрын

    Alvin, thank you for this videos I’ve been watching sence late 2017 and one of my fav ROBLOX you tubers, thank you!

  • @popsybear
    @popsybear3 жыл бұрын

    FAMMMM I just watched your video from like 2017 and geez your voiced changed so much. Btw great content

  • @oladipupoadeniyi7246
    @oladipupoadeniyi72463 жыл бұрын

    Great Vid!! Will you be making intermediate and advanced tutorials? Also are these a more detailed beginner’s tutorial than your previous ones?

  • @Pankdoe
    @Pankdoe3 жыл бұрын

    This was really helpful :D I was confused when people said variables and this is easy to understand! Video Idea: How to make morphs with custom animations

  • @consti-xe8cj
    @consti-xe8cj3 жыл бұрын

    yas, my favourite youtuber uploaded a new video

  • @AlvinBlox

    @AlvinBlox

    3 жыл бұрын

    Enjoy !

  • @alithe_epic223

    @alithe_epic223

    3 жыл бұрын

    @@AlvinBlox how you get these the icons

  • @jakobgole4390

    @jakobgole4390

    3 жыл бұрын

    @@AlvinBlox the best add for game is if Flamingo plays it

  • @theoverlord4936

    @theoverlord4936

    3 жыл бұрын

    @@alithe_epic223 his discord server

  • @BlazedOnYoutube
    @BlazedOnYoutube2 жыл бұрын

    Can I just say your helping me so much man. Keep it up!

  • @carterl5136
    @carterl51363 жыл бұрын

    I love this series!!

  • @MrCandySkull
    @MrCandySkull3 жыл бұрын

    Thank you! Your channel is a blessing

  • @bey7668
    @bey7668 Жыл бұрын

    this tutorials are awesome tysm man

  • @PointedBowl
    @PointedBowl2 жыл бұрын

    thanks. im learning this now. its rlly helpful. earned a like n sub

  • @minimahn
    @minimahn3 жыл бұрын

    Hey, i like watching your tutorials because they are helping me learn a lot about studio. Just wanted to ask if you could do an advanced tutorial on tools.

  • @c6ntr900
    @c6ntr9003 жыл бұрын

    cant wait for the next one :D

  • @cjod634
    @cjod6343 жыл бұрын

    Thank you so much you rely helped me during last lockdown :)

  • @powerdrive1075
    @powerdrive10752 жыл бұрын

    You are the best person to actually explain how to script properly, you got a new subscriber.

  • @MutedGhost2077
    @MutedGhost20773 жыл бұрын

    Your voice,you growing up just makes me so nostalgic i watched you since you started uploading and now holy dang! your voice you becoming a man-

  • @matrix785
    @matrix7853 жыл бұрын

    THIS WAS SO HELPFUL THANK YOU

  • @Dog-ql8ze
    @Dog-ql8ze3 жыл бұрын

    All I know from scripting is from you!! Thank you so much

  • @BrickBloxade
    @BrickBloxade Жыл бұрын

    This man Is truly amazing Ngl Subscribed and Like Video Cause these are just bangers

  • @choisean2345
    @choisean23452 жыл бұрын

    I wish this series was longer this has helped so much

  • @arnitsingh7495

    @arnitsingh7495

    2 жыл бұрын

    You should try some of his advanced tutorials, or his older beginner tutorials. also sorry im 2 months late

  • @SN0WF1AK3ZLIVE
    @SN0WF1AK3ZLIVE Жыл бұрын

    i can't believe this man keeps making these scripting tutorials each year or every 1 year. i couldn't have the motivation to keep finding better ways to teach people and newer times

  • @Moj0Rblx
    @Moj0Rblx3 жыл бұрын

    THANKS FOR THE HELP

  • @cattowrr
    @cattowrr2 жыл бұрын

    your videos are so good for starting lua

  • @viewer_dxscretion
    @viewer_dxscretion3 жыл бұрын

    Thank you very much Alvin for this video. Thanks to you, I am now able to call myself a beginner! :D

  • @idk-lw7bm
    @idk-lw7bm3 жыл бұрын

    Great Tutorial

  • @cooldude7517
    @cooldude75173 жыл бұрын

    AlvinBlox, I want to thank you for all these months for teaching me how to script, and teach all basics in roblox studio, now i don’t have to learn them, but I will continue to watch them for new stuff, thank you dude, now ima make my horror game. Again, thank you!

  • @XtraSpeedy
    @XtraSpeedy3 жыл бұрын

    I am trying to learn how to script this could actually help me. I love it!

  • @callumisdumb
    @callumisdumb3 жыл бұрын

    10 months and still going! Keep up with the amazing tutorials, Alvin.

  • @AlvinBlox

    @AlvinBlox

    3 жыл бұрын

    Thank you Callum, I appreciate the support. -Alvin

  • @rabeyasultana419

    @rabeyasultana419

    2 жыл бұрын

    Uh ok -Someone Random

  • @kobysedman120

    @kobysedman120

    2 жыл бұрын

    Insane - me

  • @SolveKing

    @SolveKing

    Жыл бұрын

    Nice alvin -My Hand

  • @8dmusic83
    @8dmusic833 жыл бұрын

    Love your videos so much

  • @Kyo6212
    @Kyo6212 Жыл бұрын

    Yo i wanna learn scripting and this series so far has helped me

  • @fred219
    @fred2193 жыл бұрын

    Amazing tutorial!

  • @zach-yb3xn
    @zach-yb3xn3 жыл бұрын

    Very good video, very well explained

  • @normalfnafhuman563
    @normalfnafhuman5633 жыл бұрын

    Thx you rlly help I mean A LOT so carry on the great work

  • @darkfog7753
    @darkfog77533 жыл бұрын

    i will watch this whole series big time.

  • @axcilicon3341
    @axcilicon33413 жыл бұрын

    have you ever gotten mad? you've probably heard this a thousand time but your voice is so chill!

  • @starrangersgaemtiem8191
    @starrangersgaemtiem81912 жыл бұрын

    I'm trying to watch all his tutorials because he said watching lots of tutorials are good, btw this actually helped me a lot.

  • @burp5886
    @burp58862 жыл бұрын

    Thxs for video it really helps I appreciate this :D

  • @Venopon
    @Venopon3 жыл бұрын

    I didn't know variables had more than to it! Thanks you so much :)

  • @Cowwy
    @Cowwy3 жыл бұрын

    Awesome tutorial. :)

  • @En1ow
    @En1ow3 жыл бұрын

    Screw the dev forums, I can just look it up in your yt channel! Wth??! This is *AMAZING*

  • @farida3d625
    @farida3d6253 жыл бұрын

    tysm for this beginner scripting tutorials so i'm making a game and i used to just follow scripting tutorials without learning like seeing how to make the thing and just copying what they do but after i saw this beginner scripting tutorials i made a button that when you click you can run and another one so you return to your normal walk speed so tysm

  • @null846
    @null8463 жыл бұрын

    I watched your last series I finished it and even downloaded it to go back and check things I didn't understand. There was one thing I just cound't understand was the API Documentation it was so daunting I never really even understand it to this day lol. I would love to see a video on how to understand and read the Roblox doc

  • @dodriothegamer3624
    @dodriothegamer36242 жыл бұрын

    i made a working button and door because of his functions tutorial, thank you so much alvin!

  • @AshleeFishee
    @AshleeFishee3 жыл бұрын

    Hello! I recently found your channel and you helped me A LOT in 1 day! Could you make a video where you show how to make nametags? For example in cafe games on top of the players it says their username and their rank. I tried every video but none of them worked but I’m sure yours would work! I hope you see this! :D

  • @commonsquidtail
    @commonsquidtail3 жыл бұрын

    Man, thank you so much for all the help over the years. I have came so far. I am now making working games, nothing much, but nonetheless, working games, without needing youtube videos. So with what I have learned I know I can trust you for future videos. Everyone this guy is amazing. Subscribe now

  • @NoobieYT
    @NoobieYT3 жыл бұрын

    Love the explaining.

  • @AlvinBlox

    @AlvinBlox

    3 жыл бұрын

    Thanks pal

  • @NoobieYT

    @NoobieYT

    3 жыл бұрын

    @@AlvinBloxGotchu bro 👊👊

  • @Superrr664
    @Superrr6643 жыл бұрын

    I need another video, pleaseee its helping me sooo much!

  • @darkskeletonking6756
    @darkskeletonking67562 жыл бұрын

    This is too hard my brain has to rewatch the vid like 7 times,BUT you kinda explain it better than everyone so my thanks.

  • @HEROFOREVER
    @HEROFOREVER2 жыл бұрын

    Please make more parts dude. You explain very well.

  • @ldn_future6587
    @ldn_future65873 жыл бұрын

    Thank you for the video.

  • @whatscrib658
    @whatscrib6583 жыл бұрын

    Thank you so much this just made it a lot easy to script

  • @blockatetophat6309
    @blockatetophat63093 жыл бұрын

    I subscribe to you before this came out, reason i subscribed is cause I want to learn how to Lua with this series

  • @yootstudio8618
    @yootstudio86183 жыл бұрын

    yay you the first youtuber that teach good:D

  • @imjustwack4211
    @imjustwack42112 жыл бұрын

    THIS WAS MY FAVORITE VIDEO! I LOVED HOW I CAN CHANGE THE COLORS AND DO A DISCO EFFECT! (Is there any way to add an audio to the SpawnLocation?)

  • @swagbox5841
    @swagbox58413 жыл бұрын

    this man is like my teacher but better now thank you for these tutorials :)

  • @Nickthegamer-ne5uy
    @Nickthegamer-ne5uy3 жыл бұрын

    Hey, thanks for making these videos because you really helped me with scripting and other people as well. If you can, please can you make a tutorial about Reserve-Servers using GUIs. When you click "Create Server" it will teleport you to the private server and the code will be given on the top left which if other people enter the code, they will be able to join that same server you're in as well.

  • @rev634

    @rev634

    2 жыл бұрын

    Thts realy hard!

  • @rev634

    @rev634

    2 жыл бұрын

    Basic isnt enough

  • @tryharddestroyah60
    @tryharddestroyah602 жыл бұрын

    Thanks u made me make an game idea in this episode

  • @whitehotchoclate2570
    @whitehotchoclate25703 жыл бұрын

    Your The Best!

  • @three-two-onesas
    @three-two-onesas3 жыл бұрын

    1:00 that’s how my teacher taught me to make variables in regular script she explained it as a box

  • @amoddedonepiece4578
    @amoddedonepiece45783 жыл бұрын

    alvin please make more scripting tutorials soon i really wanna be scripting

  • @xxalmatrafixx6363
    @xxalmatrafixx63633 жыл бұрын

    Notification team✅ Love you

  • @sandradeyana1537
    @sandradeyana15372 жыл бұрын

    Thanks! I still confuse about this episode but thanks for explaining!

  • @tyrecs6775
    @tyrecs67752 жыл бұрын

    This is amazing! I'm working on making a roleplay game right now, like Life In Paradise! ~ A Happy Viewer

  • @joechristo2
    @joechristo23 жыл бұрын

    I think the next episode should be you putting all the things we learned in the previous tutorials to use in a game and then the next episodes will be more advanced stuff

  • @bsteg

    @bsteg

    2 жыл бұрын

    That’s great idea actually, but not for the next video.

  • @Alexander_Animations
    @Alexander_Animations3 жыл бұрын

    Hi I like you videos!

  • @yourdailysprintrblx9083
    @yourdailysprintrblx90833 жыл бұрын

    #teamnotification A new video, a new scripting experience. Keep up the good work man!

  • @MoazRBLX
    @MoazRBLX2 жыл бұрын

    For people who say learning scripting will take years that's absolutely wrong this man is literally spitting useful tips in minutes

  • @Froyo1002
    @Froyo10023 жыл бұрын

    And to leave a like!!!! YEEPIIIEEE

  • @LeprechaunFragrance
    @LeprechaunFragrance3 жыл бұрын

    Thank you

  • @agustinpower10
    @agustinpower103 жыл бұрын

    Alvin you are awesome you tech perfectly and sorry my bad english you are the best

  • @idkk839
    @idkk8392 жыл бұрын

    📜 I just became a member! This is so cool!!

  • @ZhaneTheAnimator
    @ZhaneTheAnimator3 жыл бұрын

    Yes a new vid

  • @bobpiss3400
    @bobpiss34002 жыл бұрын

    What's painful is already being able to code the basics in python 3 but having to have it explained to you again just to see if there is something you need to know for coding in ROBLOX studio.

  • @tplrecordings5974
    @tplrecordings59743 жыл бұрын

    Thank you im working hard for my new game which is coming out in 4 years I have lit to do its RP game like bloxburg and little similar to brokk

  • @alphawolfie9119
    @alphawolfie91193 жыл бұрын

    i'm waiting 4 the next one alr :)

  • @ayaannaeem4766
    @ayaannaeem47663 жыл бұрын

    Damn another one noice ty for the like. I only watch Alvin blox because I want a pc to code I might get one on my 11 bday fingers crossed

  • @username9528
    @username95283 жыл бұрын

    Tysm!

  • @duelk1ll
    @duelk1ll2 жыл бұрын

    Now i know a lot about variables

  • @ClassyGamesTM
    @ClassyGamesTM3 жыл бұрын

    I just hit 3K visits overall, mostly thanks to you! It isn’t much visits but personally it’s a big goal and you helped :D

  • @jayjo4784
    @jayjo4784 Жыл бұрын

    Every time I work with variable I like to think of it like giving something a nick name to reduce saying the long name(code)

  • @BlackDragon432u4
    @BlackDragon432u43 жыл бұрын

    Omg i learn this on your video tysm for helping me also how do i make a simulator?

  • @GospelTruth116
    @GospelTruth1163 жыл бұрын

    Can you post more. I love theses

  • @fireoryx4571
    @fireoryx45713 жыл бұрын

    i think it would be cool that at the end of this series, we make a game or two using all of the things we learned in the past episodes