If you don't understand Lua, open up Roblox Studio and make a script and 'list' them like the playlist. This video is about printing. I named my script 'printing' and wrote down important information because I don't have a good memory. I've been learning Lua for three months now and I'm getting better. I'm proud of myself because I figured out how to learn Lua by taking notes. I remember when I was 12, I watched This video and tried the next day, but I was so lost that I forgot what to do and gave up. Now, I'm trying again and taking notes is really helpful for me. It has helped me a lot.
**summary of the whole video/notes to keep** ALL PRINTS WILL SHOW IN THE OUPUT AFTER YOU RUN THE GAME (F8) When printing text use print(“text here”) No quotes when printing numbers print(5) Your can also type equations when printing Example Print(5+5) it would print 10 Your can use multiplication division subtraction and addition multiplication is * division is / and subtraction is - You can also use decimals number Example Print(1.3+0.5) You can use these to dashes - to add a comment to your code and it won’t effect the code the example -this is the killpart script Make sure the comment is on its own line because it will make the whole line a comment
@@Gulpidis It’s a system to signal if something works. For example, you want to make Wario have a laughing animation playing in-game and you hooked up print to the laughing animation script. The text print is: print(“It’s-a-me! WARIO!”) If it works, then that should print out in the output. It it doesn’t, then it won’t print out. It’s really useful for knowing if something works or not, because sometimes you won’t see the problem visually.
I already know printing, but damn this is a good tutorial. You actually explain why people need to learn printing, most people on a different tutorial go "nah i don't need to print I just wanna make my game disleik!1!1!!"
The Dev King truly is, awsome. Just looking at your channel, I can see a list of good-quality guides on how to script. Not just beginner guides, but advanced guides. I plan to continuously watch all your guides, and hopefully, I will learn to script.
ive been using studio for years now, but im glad you showed begginers how to use all the tools first because it took me a long time to figure that out myself.
Hey guys really good tip here something I should have done when i started, which is when you finish a tutorial try play around with the script for a while so like print some random stuff, this tip goes with the following videos it also helps to remember everything so yeah try a few things play around in the studio for a while. Really hope this helps.
this helped to actually learn scripting, if i just watched and try while the vid was playing i didnt rlly remember it but i learned the basics with the tip from this guy
CRAZY how this video and person/tapwater taught hazem or one of the most earning developers shows that even small videos like these created one of the best developers on roblox
Dude, like when i watch any other youtubers like alvin et, i dont understand a thing bit when i watch you, ok im New to this but it a lot better,you gave me motivation to learn lua
@@dognut-lover976 yeah that wont work game:GetService("LogService"):MessageOut:Connect(function(msg, type) if msg == "Well , that was easy" then print("Thanks, TheDevKing!") else print("I dont understand") end end)
NOTES: print() prints whatever is inside the brackets. For example: print("Hello, world!") print "Hello, world!" into the console. Quotation marks are used whenever you are working with strings, which is text. For example: print("Bonjour!") print "Bonjour!" into the console. Numbers work too, as they are not string-based they don't have quotation marks. For example: print(5) print 5. You can also do math with them. For example: print(4+7) print 11. Decimal numbers work too. For example: print(3.1+0.5), print 3.6. Comments can be made with -- before anything to disable code. They do nothing. For example: -- do nothing.
Testing scripts on output and debug.. like if a script u write and u wanna test.. if the printed thing shows in output that mean script work if not shown output that mean not work
print("I'm Going to Learn to Code!") -- Strings always use quotation marks print("5 + 5 = " .. 5 + 5) -- Integers (and decimals) do not need quotation marks unless your printing the number in a sentence, for example: print("John is turning 5")
One of the things I started trying in the beginning was making a countdown by using the print "command". It looked like this: print(5) wait(1) print(4) wait(1) print(3) wait(1) print(2) wait(1) print(1) wait(1) print(0)
This is my fifth time trying to learn scripting, i kept get bored or giving in because i didnt understand advanced stuff, hopefully this is my last time, great vids!
Hey Oxford Dictionary, TheDevKing (My Favourite TH-camr), just created a new word. I think u might consider adding it to ur dictionary. The word is: "Numbergers" and it means numbers/intergers
btw the "comment" is called pseudocode if you plan to branch to other languages pseudocode is the commenting thing for all languages though how you make the pseudocode is different for each language. EX. RBLX.lua is -- , python is #, etc
I am starting over and I added a folder in workspace for my game and I am going to be writing everything so when I forget something I can just look to the script
Hey guys! Be sure to join the discord server if you have any questions or if you would like to meet me! discord.gg/FKcSyRh
ur tap water
you are funny
whats the division and to the power symbols????
While true do
Print("UnoReversecard")
End)
hmm but what if you were my favorite youtuber
I'm glad you showed us how printing works in 4 minutes instead of making a 30 minute long video. Great video!
Planet Chris true
Are you saying about Alvinblox tutorial 😂😂😂
@@izaz527gaming6 ye
your comment is correct = true
Izaz527 gaming yea fr this dude has a 45 minutes long video that’s basically an entire class session at my school
If you don't understand Lua, open up Roblox Studio and make a script and 'list' them like the playlist. This video is about printing. I named my script 'printing' and wrote down important information because I don't have a good memory. I've been learning Lua for three months now and I'm getting better. I'm proud of myself because I figured out how to learn Lua by taking notes. I remember when I was 12, I watched This video and tried the next day, but I was so lost that I forgot what to do and gave up. Now, I'm trying again and taking notes is really helpful for me. It has helped me a lot.
thank i will do that
A good TH-camr without wasting 10 secs of my life with an intro? Sweet you have a new sub!
xD thanks
thwack I meant wasting. Lol
@@TheDevKing Yeah I will sub cause you dont have a 10 minutes intro and your actually teaching things
@@aidanmoore.37 yeah same i make tutorials about code and i don’t make my intro 10m long only about 5 min
**summary of the whole video/notes to keep**
ALL PRINTS WILL SHOW IN THE OUPUT AFTER YOU RUN THE GAME (F8)
When printing text use print(“text here”)
No quotes when printing numbers print(5)
Your can also type equations when printing
Example
Print(5+5) it would print 10
Your can use multiplication division subtraction and addition
multiplication is * division is / and subtraction is -
You can also use decimals number
Example
Print(1.3+0.5)
You can use these to dashes - to add a comment to your code and it won’t effect the code the example
-this is the killpart script
Make sure the comment is on its own line because it will make the whole line a comment
Thanks
Im still kind of confused. What is the point of printing
@@Gulpidis It’s a system to signal if something works. For example, you want to make Wario have a laughing animation playing in-game and you hooked up print to the laughing animation script. The text print is:
print(“It’s-a-me! WARIO!”)
If it works, then that should print out in the output.
It it doesn’t, then it won’t print out.
It’s really useful for knowing if something works or not, because sometimes you won’t see the problem visually.
@@goldfish425 Thank you
@@goldfish425 I'm kinda confused on the comment part? what does TheDevKing mean about it?
"Hey everybody! Your favorite youtuber here. Haha Just kidding."
No, no you, were right the first time
So true
Pog
true
Yeah, he was right. He shouldn't be scared to do that. I am happy he said that.
ikr
I already know printing, but damn this is a good tutorial. You actually explain why people need to learn printing, most people on a different tutorial go "nah i don't need to print I just wanna make my game disleik!1!1!!"
that moment when you use roblox as a calculator
IKR lol
LOL SO TRUE
That’s how you get to play roblox at school just say you need it for a calculator
i use pycharm as a calculator
@@m3mhwa-ilikesoggycereal-665 me too... sometimes.. when i am able to
Symbols you should use when using scripting for calculating:
Addition: +
Subtraction: -
Multiplication: *
Division: /
Ty
Me: Using Roblox Studio For Doing My Maths HW 😂
@@ramanaplayzyt6743 same
@@mrkipi2510 Lol bro
additionally
! for factorial
< for less than
> for more than
Very true xd
Btw love your videos and thank you for helping me learn scripting :)
TheDevKing: Hey guys it's your favorite youtuber here, Just kidding.
Me: No, you're right you are my favorite youtuber.
Who said you weren't
I came to learn how to make some crappy little games my friends and I could hang out on or rp on, but this has truly inspired me.
The Dev King truly is, awsome. Just looking at your channel, I can see a list of good-quality guides on how to script. Not just beginner guides, but advanced guides. I plan to continuously watch all your guides, and hopefully, I will learn to script.
ive been using studio for years now, but im glad you showed begginers how to use all the tools first because it took me a long time to figure that out myself.
hey i struggle to find the output, for example when put (5+5) in the script i can't find the output say 10.
@@Sub2Phenox you have to click view, output, and then press run or play
@@KennethPlaysOfficial thank you it worked👍
@@Sub2Phenox nice 😊
Hey guys really good tip here something I should have done when i started, which is when you finish a tutorial try play around with the script for a while so like print some random stuff, this tip goes with the following videos it also helps to remember everything so yeah try a few things play around in the studio for a while. Really hope this helps.
Thanks
this helped to actually learn scripting, if i just watched and try while the vid was playing i didnt rlly remember it but i learned the basics with the tip from this guy
hi
k
@@robloxgod4570 damn you really had to hit him with the k, didnt you?
lol XD
Roblox God just have fun wid the fucking comment, “k”?
Print (hello there)
Roblox Print really helped me with my homework, tysm +1 sub!
Im literally crying of joy, i finally found the REAL coding professor...
I just watched this channel and my dreams come true i wanted avanced scripting you my fav scripter youtuber 👏👏👏👍👍👍
i like how you make your videos short, i have low attention span so this helped a lot
4 years later and its still fun to watch and very good explained
second vid finding these tutorials very simple and short also understanding looking forward keep up good work bro!
"it is your favorite youtuber here" i said you finna be xD
actually u are my fav youtuber
Tbh, right when I saw the first tutorial I immediately subbed! 1:10 You are awesome.
CRAZY how this video and person/tapwater taught hazem or one of the most earning developers shows that even small videos like these created one of the best developers on roblox
Best tutorial I’ve watched
Nobody:
Subtitles: HELLO THIS IS DEAF KING THERE
Dude, like when i watch any other youtubers like alvin et, i dont understand a thing bit when i watch you, ok im New to this but it a lot better,you gave me motivation to learn lua
Oh, so that video i watched before which was unnecessarily long and confusing can be summed into 3 mins. Good job!
print("Well, that was easy.")
print("Thanks, TheDevKing!")
If(print("well, that was easy")
Else
Print("Thanks,TheDevKing!")
@@dognut-lover976 that wouldn’t even work
@@dognut-lover976 yeah that wont work
game:GetService("LogService"):MessageOut:Connect(function(msg, type)
if msg == "Well , that was easy" then
print("Thanks, TheDevKing!")
else
print("I dont understand")
end
end)
@@ninratljk980 ayo this us next level
@@cao1x lol
NOTES:
print() prints whatever is inside the brackets. For example: print("Hello, world!") print "Hello, world!" into the console.
Quotation marks are used whenever you are working with strings, which is text. For example: print("Bonjour!") print "Bonjour!" into the console.
Numbers work too, as they are not string-based they don't have quotation marks. For example: print(5) print 5.
You can also do math with them. For example: print(4+7) print 11.
Decimal numbers work too. For example: print(3.1+0.5), print 3.6.
Comments can be made with -- before anything to disable code. They do nothing. For example: -- do nothing.
I still recommend making your own notes so you can retain information.
It's your favorite youtube here! Ha, just kidding...
I love this energy
Finally something on TH-cam thats actually teach scripting you're best
also like if you agree
Subbed! Your really good at teaching!
I see this in every tutorial, none of them actually specify what print is and what it's used for, what's it's purpose.
Print just displays a message in the output. Its good for bug testing and can tell you if a script has loaded.
its good for debugging
Testing scripts on output and debug.. like if a script u write and u wanna test.. if the printed thing shows in output that mean script work if not shown output that mean not work
Lol he explained it in the last tutorial
@@ssomix can i ask you something?why when i press enter the end) didnt appear??and how to fix roblox studio cant connect to server error id 6
Also this is just like Python. Learning how to script here will help with school
Yeah I know that. Lua at some places is close to python which is why i said this
I was gonna quit trying to learn scripting until I saw your videos. Thank you.
print("I'm Going to Learn to Code!") -- Strings always use quotation marks
print("5 + 5 = " .. 5 + 5) -- Integers (and decimals) do not need quotation marks unless your printing the number in a sentence, for example: print("John is turning 5")
Ur not kidding yoyr my favourite TH-camr. Thx for the vids
This guy is so wholesome??? Thanks bro
Thanks dude, i always wanted to learn scripting, awesome video btw! :D
did u learn it
@sukashiisensei2705Yeah actually i started with roblox i now do python and stuff too. Godot is really good
*when you learned how to script in roblox studio instead of learning html codes at computer class*
*yes*
True
0:01 dang how do you know that?
5 years later and yet i come back. love this guy!!
Sub to him so he can buy a good mic. W video fam, you found a new sub, you taught me printing in abt 3 mins.
2020 and this still helps me so much
I’m kinda glad that I was doing c# before this... but thanks man, this is really helpful even now
you have make me understand print in under 3 min
Wow. This really helped me. This guy is a legend ❤
Bro wtf is Tap is Awsome😭😭😭😭
- - This tutorial is very nice, Im sure it helped a lot of people!
I think I might create a scripting tutorial series of my own now :P
Love this guy ❤ Enjoying making jokes and videos for us while teaching us 🤣
"Tap is Awesome" 🔥
One of the things I started trying in the beginning was making a countdown by using the print "command".
It looked like this:
print(5)
wait(1)
print(4)
wait(1)
print(3)
wait(1)
print(2)
wait(1)
print(1)
wait(1)
print(0)
lol
Now you know
For I = 5, 0, -1 do print(i)
Little does he know he's my fav yt rn
ty so much for these amazing lessons it took me some years to understand and now my 2 games are on the front page
“Then you will see the dev king is awesome”
Me 5 second earlier: “tap is awesome, huh must be his alter ego ;)”
you can also print a value stored in a variable
if you make a variable
like
crash = "ball"
then you do
print (crash)
it will output the word ball
great youtuber love ur name btw!!!!
congratulations you are near to 300k
Hey I just wanted to say thank you so much I have learned how to script by you I am inspired by you thank you bro
When you said it’s your favourite youtuber and mabe and you are my favourite youtuber🙂
from this day on im gonna binge the beginner series until i know how to do basic stuff and make a kool game.
Yo Tysm for helping me finish my math homework. Big thanks!
Hey guys its your favorite youtuber here
haha, just kidding
Mans is so hard on himself😢
THANK YOU FINLLY A SHORT VIDEO AND NOT LIKE AN HOUR LONG VIDEO THANK YOU
1:12 hmmmmmmmmmm
Yes you are awesome ;) lol
Also who needs calculator when you can just use roblox studio (lmao)
I actually love u as a brother
TheDevKing:
"TheDevKing is awesome"
Output:
"tAp iS aWeSoMe"
A few seconds later:
"TheDevKing is awesome"
IM YOUR FAV TH-camR IM SUBED WITH ALL NOTES
This is the most helpful tutorial i've ever seen! Cause you say what it does.
Omg yes
So wholesome good job lol your amazing now and cool back then
I love your energy
This is my fifth time trying to learn scripting, i kept get bored or giving in because i didnt understand advanced stuff, hopefully this is my last time, great vids!
This is really usefull thank you. I want to make good games 😃
I'm really glad you these help you. I will be sure to keep making them!
@@TheDevKing #BESTGRAMMEROF2019 im subbed
Tap now the smartest boy i've ever seen.
i cant believe devking's name is tapwater, thats litteraly my "Soon to be" yt channel wtff
His main yt channel is tap water
this is gonna be something i can do when im bored and yes im late but i started watching bc he was on my front its was scripting your roblox ideas.
print("TheDevKing Is The Best")
LOL
LOL
*TheDevKing Is The Best*
Roblox has crashed.
Reason: Extreme Understatement overloaded system.
@@TheDevKing Ye you are the best
I am so sad. I learned scripting Lua good, but I don't know a couple stuff. But, luckily I know your channel! :D
Thx Man This Really Helped I always Wanted to make a game :D
At 2:06 you put the print on line 2 is that necessary
No
Hey Oxford Dictionary, TheDevKing (My Favourite TH-camr), just created a new word. I think u might consider adding it to ur dictionary.
The word is: "Numbergers" and it means numbers/intergers
great idea
here in the future, this is very helpful thank you for making this
This helps alot thank you very much
btw the "comment" is called pseudocode if you plan to branch to other languages pseudocode is the commenting thing for all languages though how you make the pseudocode is different for each language. EX. RBLX.lua is -- , python is #, etc
So did you go through all his videos?
@Kitcat what does that mean? Lol
comments are just lines that don't get read as the script runs
you are really the dev king
2:10 numbergers I’ll keep that in mind
Thx, i wached other videos and i didnt know what was printing and noe i know
Im making a border game and i made a taser how do you make it so while your tased you cant use your tools?
Woah those tutorials are the best
But you are my favourite TH-camr
Now learning to script thx for the last tutorial to learn about roblox studio
i love your work please keep it up i love you
I HAE YOU
I love you-in the non loving way possible : D
Thanks I’m going to the next tutorial of this playlist
I am starting over and I added a folder in workspace for my game and I am going to be writing everything
so when I forget something I can just look to the script
print ("Your The Best, DevKing!")
I'm Jon's Brother This Helped Me A lot