How To Script On Roblox - 2 (Print and Debugging)
Welcome to your second Roblox scripting tutorial, where today we will be learning about the built-in print function which allows you to write messages from a script to the output window. We will also learn how to debug and solve errors which appear in this output window, a key skill you need to learn and develop while scripting.
Next video coming soon!
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
Пікірлер: 562
i already know how to use most of the scripts, but all the scripting tutorials were old wich meant some scripts didn't worked as planned, so I'm happy that you are doing the scripting tutorial again
@void4932
3 жыл бұрын
First
@LaughGreatly
2 жыл бұрын
@@void4932 bruh
@mysterious9032
2 жыл бұрын
@@void4932 bruh moment
@roblox_playz6053
2 жыл бұрын
Could you help me? I don’t understand the tutorials
@cyphlone3306
2 жыл бұрын
@@roblox_playz6053 you have to listen every single word he says
These tutorials helped me learn scripting so I could make my own games thank you Alvinblox keep making these video for us to learn
@hon3ybunn3yy
3 жыл бұрын
Which game did u make so far
@bacon5505
2 жыл бұрын
Yea
@aris1373
2 жыл бұрын
What game did u do
@roblox_playz6053
2 жыл бұрын
Could you help me? I don’t understand the tutorials
@baileerife9988
2 жыл бұрын
@@roblox_playz6053 Then listen to them
For anyone having trouble with debugging you can also click the red text in the console/output and it will send you directly to the script and will highlight the line with an error. This is actually very common with game engines, so if you switch to another engine it's likely you will be able to simply click the error in the console. This is also far better then placing a print function on every single line, you should only use the print function to retrieve information about variables. For example: 'print("Part's Material: "..tostring(workspace.Part.Material))' will return the part's material, this way you can make sure the material was set correctly
Great video Alvin! I've always been wanting to learn scripting from you, but never got around to it. Hopefully I can stick with this series, thanks so much!
Thanks, without your extremely helpful videos, I would not be a good developer in the world of Roblox's games. A really big thanks from the heart.
@katdoestuffYT
2 жыл бұрын
What games have you made? I want to know
I finished all of your 2020 series, and your 2021
I'm waiting for part 3.... Loved the vid!
Ever since I finished your 2021 series, I finally started understanding variables, printing, events, changing stuff with scripts and stuff like that, now I got a popular game thx to you. You're the absolute best x1000
@aziemazie
Жыл бұрын
and thats where your journey started from a video.
@sainonlaptop8426
Жыл бұрын
What game is it?
Thanks for the new upload, Alvin!
Tysm scripting is so important to me as a developer, but i am a beginner
@mortyclassify635
3 жыл бұрын
NOice same with me
@bingolinging
3 жыл бұрын
Bruh u didnt even watch 1 second yet
@pango529
3 жыл бұрын
Same I’m working on a game right now called “Timless Adventures Online”
@KK-sm8ez
3 жыл бұрын
Me too
@ritte2279
3 жыл бұрын
Same I'm a beginner as well.
wow i was so happy since that was the first time i ever scripted in my life i wanted to scream that it worked and these tutorials make so much sense thanks alvinblox!
I just started to ''Attempt'' to code in Lua so it's nice having a good out there, I'm exited for the next vid.
Hey Alvin, I just wanted to say thanks for these tutorials, Just the fact that you are giving up time to help other people is amazing :D Have a great day. (Even tho you are making money ;D )
Thx Alvin. I’m a fan! Edit: I liked!
@void4932
3 жыл бұрын
First
@Trazor_
3 жыл бұрын
👍
@dannymast33r42
3 жыл бұрын
Can I have a mobile tutorial
@thatoneasian3076
2 жыл бұрын
@@dannymast33r42 you can’t do Roblox studio on mobike
I'm waiting for the claim your ticket comments.
@firstlast9731
3 жыл бұрын
o
@firstlast9731
3 жыл бұрын
k
@pachurro2762
3 жыл бұрын
claim your claim your claim your ticket here
@TheRealOderless635gnat
3 жыл бұрын
@@pachurro2762 how much does it cost I will give you a trillion dollars because a trillion dollars is so cheap anyone can afford it Jk
@aiden654
Жыл бұрын
bing bong chong lang
I can't wait till next video! This tutorial is also awesome!
Omg i have been waiting for this!
Thanks, this is the first tutorial that actually helped me understand scripting. I'm gonna watch these tutorials until I will finally know how to script.
@Red-yf9el
2 жыл бұрын
Did you learn?
@lazergaming5652
Жыл бұрын
did you learn yet?
I wish you could upload one of these everyday. Really clear and concise video. I plan on watching the whole series and hopefully by the end I can get somewhere and make stuff. I consider myself a pretty advanced builder but all of my stuff seems useless without being able to make it work.
@sgnittnes7601
3 жыл бұрын
have you built anything yet?
I never really thought about what printing was good for until I learned that it could help with debugging. Thanks for this video!
Thanks again i cant wait to watch the next part am becoming good in scripting with your videos alvin thanks :)
another awesome tutorial from Alvin! I can’t wait to see what’s to come after this one!
@void4932
3 жыл бұрын
First
@hjomnk4056
3 жыл бұрын
@@void4932 Nobody cares lmao
@roblox_playz6053
2 жыл бұрын
Could you help me? I don’t understand the tutorials Could you help me? I don’t understand the tutorials
Thanks for 2nd part that was a good strategy! I can't wait when I will master scripting then I can make games keep it up you are doing awesome (Also do you have a starcode?)
Nice to see another series like this.
tysm AlvinBlox these videos help me with my games and I can even find errors and fix it easier!
These are actually super helpful! I'm a dev I mainly do building, but would like to start scripting to make my own games. So these help a ton. Thank you!
@roblox_playz6053
2 жыл бұрын
Could you help me? I don’t understand the tutorials
@caution9735
2 жыл бұрын
@Nino do u know how to do the middle dot next to the equal sign that Alvinblox did?
@charliewilson378
2 жыл бұрын
@@roblox_playz6053 just type what he types
Thanks for the tutorials, they are very helpful and not hours long. Very good
Thanks alvin blox for the tutorial😊. Really helpful.
YES! He is making another beginner tutorial series! (I was with him ever sense his voice was high pitched)
good tutorial, easy to follow, paced nicely, very much quality
Cool! I've been trying to learn scripting the past 6 months, i quit because i couldnt understand much before but i think its time to learn it.
Thanks! Another Great Tutorial!
These tutorials have been helpful, Definetly using them for future games i might create.
Was really useful Im a new starter in like scripting and stuff and I actually have alot of mistakes as a newbie and this has helped me alot you deserve alot of subs and likes.
I love these videos man keep going
Alvin thank you for making beginners learn scripting, i am currently learning these right now
Love these videos a ton man ur the best
Wow So far you have helped me so much! You earned my sub and like!
My man, you helped me a lot learning to script! now I can finally brag to my friends about scripting :)
These are actually good and I only watched one and love it!
these 2 videos have been helping me
I love your videos, keep up the great work, learned a good amount.
you're videos are the best! Thanks!
I have watched the 2020/2019 scripting series and not gonna lie I learnt a ton and I will also watch this series so that I can learn more even if it's basics
this is actually really usefull thanks alvin :ps im on a streak xd going to ep 3 now
Keep up the hard work. I'd say u deserve 100k subs. Acctualy a bit more
i learned a few of scripts anyways thank you Alvin Blox
that printing trick was pretty cool nice job
i did my first ever script and it was just simply making the transparency of the part to 1 once you spawn in thank you :)
Love your vids keep it up they help me a lot
YESS THANKS ALVIN I CAN NOW CONTINUE ON LEARNING SCRIPTS EP 3 IS HYPED
Thankyou bro you made my life easier w these tutorials 😭
thx you so much for make part 2
This was a very nice video, I never thought of using print as a message to say that your script has failed. Also, can you make a video about using "local =" ?
he scripting tutorials are short and he just straight up gives us a quick lesson of what we need to do.
Nice tutorial. I hope you will make more videos about advanced scripting
it was rlly helpfull, thanks again!
yessir learning bois you gotta love it
Keep up the good work Bro 👍
Thanks good beginners video really gonna help out!
Alvin, thank you very much for helping me script! I'm a little bit close to being an advanced scripter now! Now knowing many things. If you can, it would be great if you can do a tutorial on string. (Ex. string.sub, string.find, etc)
Thank you very much Alvin!
Hey this helped me I was a advanced scripter in 2020 but they changed it so I have to learn again.
Thank you for the awesome tutorials. I really wanted to learn scripting recently and you started making these just at the right time
Thank you so much for making these videos I’ve always tried to be a popular creator and these are helping a lot
This guy deserves another sub :)
Bro I understand scripting for once thanks a lot Alvin
I feel like you should of moved this into episode 1 since it's very easy to write a print message even for a new coder like me. But thanks for episode 2 and 1 It helped me write my first piece of code I made by myself with out googling anything to make it. The code makes a loop that changes the part's material.
this is so cool your amazing at this
I can't wait to see episode 3
Great video, is it possible for you to go over some common errors that get printed in the output and what they usually mean? Thank you!
First one to like and thank you I have been watching since the start of your channel
thx alvinblox that really helped
Wow! Thanks to you i know the use of print
These video are amazing!
thank you so much AB, i couldn't have made my brothers and my dream game
@kfer2129
2 жыл бұрын
why did you made your brothers
@draken6497
2 жыл бұрын
what game
@roblox_playz6053
2 жыл бұрын
Could you help me? I don’t understand the tutorials
thanks man i highley apperciate it love ur content
@AlvinBlox
Жыл бұрын
Thanks dude, all the best to you
I already graduated on your video like this like 2 years ago im here to recall what i learn cause i stop learning for a year
Be a IT teacher my guy! YOU ARE JUST TOO GOOD! xD
Bro you help me so much now i know when im doing somthing wrong.
Thanks dude, my friends and I are making a game and I dont know coding so this is really really helpful! (even more helpful because im the coder)
Very good and intresting video! I am trying to watch all videos on your channel cause I really wanna learn how to code. You are teaching very good! Next video suggeston: How to make npc's that can talk.
printing was not useful for me but the 1st episode about properties was useful for me, good job
It’s 2:51 AM right now and I’m still up watching this guys videos.
I made many sarcastic messages using print, thanks for the tutorial
Thanks, Im kinda advanced compared to this XD. I cant wait for the hard ones. Cant wait
Thanks this helped me so much
Thank u It Really Helps
FIRST! Alvin you are the best!
@mushytoast_
3 жыл бұрын
ur first bro
I Really need to know this for my game so thanks!
I already know how to do all this and script, but its always good to get a refresh, also its good background noise
You're asking my questions thank you
U make us understand very nicely
thank you you are really helping me
This is so helpful
Keep uploading this kinda stuff
Tanks alvin finished the video
Everyone watching this, go check his 2019-2020 tutorials, they are THE BEST.
@bustlecritter4038
2 жыл бұрын
Hello from da future. R they outdated I mean like old?
I swear that's so helpful
All helped me and I can help my friends!