What do codeblocks do in a script?
1 Like
Just a piece of code. That’s all. Literally.
For example:
print("Good morning world! I hope you are having an amazing day! :DDD")
Is a codeblock!
And
local Time = "night"
print("Good "..Time:lower().." world! I hope you will have an amazing "..Time:lower().."! x3")
Is another codeblock!
Basically, code blocks are like tiny lego sets for computers. They group small instructions together to do specific things, like making a character jump or showing a message. Just like what I showed in the above examples!
Hope this helped! : D
3 Likes
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.