oh how alvin has changed He went from this helpful young teen to the experienced adult he is now Voice has got from high to low so quickly Carry on doing the good work that you have been doing. You’ve benefited me a lot. 💙
quick overview the differences of a while loop, and a repeat loop: while loop need it's condition to be true for the loop to work, while the repeat loop needs the condition to be false for it to loop. The repeat loop runs the code block at least ONCE , then checks if the condition has been met, while the while loop doesn't run the code at all, if the condition hasn't been met.
YOU ARE AN ABSOLUTE LEGENDDD! THANK YOUUU! I have this game where I really needed this type of loop, but I didn't know how to. What a coincidence. Thanks bro!
Hi Alvin! This is day 5 since I'm watching your videos and so far you're my fav youtuber and the best one on explaining LUA scripting I literally love you so much, keep up the good work and keep on posting more of these! ❤
this is what i had tried repeat print("not enough") wait(1) Instance.new("Part",game.Workspace.parts) until #game.Workspace.parts:GetChildren()>4 print("enough parts") this is a nice example hope u liked it
Thanks, just lost motivation to learn scripting for 2 days because I keep looking at pro scripters but i realized that they take years to master this talent so I thought to myself that I can do the same thing as them and now I'm starting to watch your videos again
I have been watching you from 2 years now, I only watched you not even a single other youtuber for scripting tutorials. I thought scripting is nothing and I wrote "make player fl
Hey Alvin, can you make a video on how to make a working reception system where you can check people in an out, I would really like that idea for my upcoming hotel coming soon! Also, great scripting series.
Hello Alvin! I am making a game and I have a question. I want the character’s feet to walk according to the direction the player is moving, so the forwards walking animation doesn’t play when you are walking backwards or maybe towards the right.
Didn't watch the video yet but I bet it's amazing! I've got a suggestion: Can you please make a tutorial on how live events are made? Like I've seen on Bee Swarm Simulator adding codes and removing them without restarting the server, it would be really cool if you could! Thanks!
I find it hilarious that the first video in this series got over 1.2 Millon views, and just over half way through, only 4% of us made it this far. And of that 4% a great number of us are probably re-watching this video, or the viewers are just picking and choosing what videos to watch (not going through the series from the beginning). I think its fair to say less than 1% of the people from the beginning stayed to learn this far. So that's some interesting math. People want to learn things, but even when all the learning tools are provided to them in a fast, easy, and convenient way, still very few of them will actually give it a solid effort. I'm no pro scripter by any means, but I'm telling ya its worth going through these videos, pausing, writing down everything he does, saving your scripts, then applying them in there own way, then after the video, spend 2x the video length just reviewing and playing with the new stuff you learned. There is absolutely no reason why when people are interested in something like scripting, for less than 4% of them not even able to make it 3/4 of the way through the 'course'. Thanks for the vids btw. I know this is your older series, but most of it is still relevant.
math.random[1,#Stages] You need to know how to learn how to script, I mean this with good intentions. Living off of free models is going to get you in trouble one day.
If you really wanted to, you could just do "while #game.Workspace.Folder:GetChildren() < 2 do wait() print("Not enough (Parts)In this Folder. ") *wait(999999999999) * end if #game.Workspace.Folder:GetChildren() > 2 then print("Enough Parts,Success!")end" instead of actually doing a repeat until, but still i agree with you!
I think I’m have a sensation of Deja vu! 9:10 mouth clicking, it’s like a whole new keyboard I LOVE IT! Thanks AlvinBlox! For all this! Could have never been a human without you! I-mean Roblox Character... Person I also have many questions, such as why can’t I enable and disable a GUI inside a game using the enable property, And also is there a way to find a “something” in the game and keep hold of it forever so you can change it, for example if you have a game where that “something” moves randomly inside the workspace, StarterGui, ServerStorage and so on! I really need help on that! Went to the Roblox developer page and they said FindFirstChild() but that doesn’t really help :C! Thanks for reading!
Always so excited to see a new AlvinBlox video - I'm quite a bit older than the average Studio user and just decided I wanted to try to learn Scripting and try to make a game a few months back. Alvin's videos were the very first I found. I couldn't believe how well-spoken and intelligent this kid was. My generation complains about the "lazy Millenials (and younger)." That I've learned so much from this young guy on the other side of the globe honestly gives me hope for the future. THANKS AB!
Thx Alvin have a good day! For now i dont need that but game.players.leaderstats.braincells.value +1 :) Edit: I remember how nice you was with me in game thx you
Pretty simple stuff; about same as while loops, maybe even same. This comments from me may be dissapearing until there is some hard stuff. repeat (argument) until (condition) Fact from the video: # is used for how many integers.(numbers)
The thing is most of this is for a simple minigames and intermission game. I'm building a naruto lore game, and I wanna figure out how to make jutsus and specs and script meshes.
Simple? If you combine everything that lua can offer, then you can script all these stuff you mentioned no problem, Just look at epic minigames. It's "Simple" mini games that you mentioned, but built by hands of pros
I think the only instance that this will break the game is when the other player decides to leave in the middle of the game. In this scenario, there should at least be a backup script that is waiting during the game, just in case it happens midterm.
45th! Edit: Thx yt for making notifications, also alvinblox you helped me earn alot of talent! I love your sword fight creating series. You helped me through all that lua junk! Thank you 😁 Edit 2: OMG THX
Is there any way to do this if you're trying to specifically check if a model with a certain name is there? Let's say I set this up to repeat until a part with a certain name appears, how would I go about that?
alright alvin so i have a script this is an example not real code just short defs repeat teleports to a place until stops teleporting then after i do all of that and do it again it does it once and doesn't repeat
oh how alvin has changed
He went from this helpful young teen to the experienced adult he is now
Voice has got from high to low so quickly
Carry on doing the good work that you have been doing. You’ve benefited me a lot. 💙
Thanks!
@@AlvinBlox i love your all vids i subscribe your channel turn on bell notification like please give me robux username:hakeemgamingplayz
Is he an adult? He seems around 15
@@Prawnz same
@MrGaming
Jeez, age is more important than scripting? Aw hell nah.
quick overview
the differences of a while loop, and a repeat loop:
while loop need it's condition to be true for the loop to work, while the repeat loop needs the condition to be false for it to loop.
The repeat loop runs the code block at least ONCE , then checks if the condition has been met, while the while loop doesn't run the code at all, if the condition hasn't been met.
do {} while()
Opposite
repeat until
YOU ARE AN ABSOLUTE LEGENDDD! THANK YOUUU! I have this game where I really needed this type of loop, but I didn't know how to. What a coincidence. Thanks bro!
Hi Alvin! This is day 5 since I'm watching your videos and so far you're my fav youtuber and the best one on explaining LUA scripting I literally love you so much, keep up the good work and keep on posting more of these! ❤
Thanks and good luck!
while loops needing to be true and repeats needing to be false is a good way of wording it thank you AlvinBlox. You are a help as always!
this is what i had tried
repeat
print("not enough")
wait(1)
Instance.new("Part",game.Workspace.parts)
until #game.Workspace.parts:GetChildren()>4
print("enough parts")
this is a nice example
hope u liked it
Good job
A script trying to make itself work every repeat
Thanks, just lost motivation to learn scripting for 2 days because I keep looking at pro scripters but i realized that they take years to master this talent so I thought to myself that I can do the same thing as them and now I'm starting to watch your videos again
nice
when programning kid evolving:
Funni number 69
first reply after 2 years…?
Yes
4th reply after 1 year?
I have been watching you from 2 years now, I only watched you not even a single other youtuber for scripting tutorials. I thought scripting is nothing and I wrote "make player fl
That's kind of funny because I did to. I was like, give wings lmaoo
Dudeee I haven’t watched you in a year and uh
Your voice changed big time
yeah bud it's called puberty
@@epicfilms4life507 We know, hes just saying chill.
Hey Alvin, can you make a video on how to make a working reception system where you can check people in an out, I would really like that idea for my upcoming hotel coming soon! Also, great scripting series.
Thank you so much! You're a super talented person!
Thank You!! I have been struggling on this topic!!
Nice a Renew Video from 22 Jun 2018. Thanks bro for all the help from until 2017 / 2020!
Thank you so much for helping me with my game! You are the best💜
OMG YOU ARE AWESOME! YOU HELPED ME A LOT IN MY STORY GAME!
Great playlist tutorial i can memorized the scripts and i can't wait to move on to advanced scripting playlist. :D
Hello Alvin! I am making a game and I have a question. I want the character’s feet to walk according to the direction the player is moving, so the forwards walking animation doesn’t play when you are walking backwards or maybe towards the right.
that's uh not a question
you could just remove roblox animations for walking and make your own 8 direction walking animations that play when you press the directional buttons
Didn't watch the video yet but I bet it's amazing! I've got a suggestion: Can you please make a tutorial on how live events are made? Like I've seen on Bee Swarm Simulator adding codes and removing them without restarting the server, it would be really cool if you could! Thanks!
Yes please
Well the thing is the game probably did get updated and the code was told to wait a certain time before being executed
maybe they got it all planned and programmed
I know that this comment is 2 years old, but there is probably a plugin for that
I really love your vids when you do Tutorials
Thanks!
hmmm u seems sus
ill vote purple
I have officially made a Neon Block that changes colors every second. Noice.
This is why I am subscribed to this guy, he actually shows a difference in something seeming very similar. Thanks for the help!
fan for a long time,i really enjoy watching your vids,they are very clear and easy to understand,perfect guide for beginners,you deserve more subs
You are actually better and interesting then my teacher..Good job i love your vids,they are very detailed and good!
I find it hilarious that the first video in this series got over 1.2 Millon views, and just over half way through, only 4% of us made it this far. And of that 4% a great number of us are probably re-watching this video, or the viewers are just picking and choosing what videos to watch (not going through the series from the beginning). I think its fair to say less than 1% of the people from the beginning stayed to learn this far. So that's some interesting math. People want to learn things, but even when all the learning tools are provided to them in a fast, easy, and convenient way, still very few of them will actually give it a solid effort.
I'm no pro scripter by any means, but I'm telling ya its worth going through these videos, pausing, writing down everything he does, saving your scripts, then applying them in there own way, then after the video, spend 2x the video length just reviewing and playing with the new stuff you learned.
There is absolutely no reason why when people are interested in something like scripting, for less than 4% of them not even able to make it 3/4 of the way through the 'course'.
Thanks for the vids btw. I know this is your older series, but most of it is still relevant.
I am a member of the 4% who've watched this video.
hey alvin, your my fave scripter tutorial channel thing
Do a tutorial on TweenService!
Can you make a tutorial on how to make random stages like in Tower of Hell?
@Ayaan Mohammed put it in script form
@@13physc idk if that will help you improve scripting if you just copy paste scripts, just my opinion tho
use a math.random command and use a script for it to use each random number as a stage
@@yourluggage1918 Ctrl C Ctrl V
math.random[1,#Stages]
You need to know how to learn how to script, I mean this with good intentions. Living off of free models is going to get you in trouble one day.
If you really wanted to, you could just do "while #game.Workspace.Folder:GetChildren() < 2 do
wait()
print("Not enough (Parts)In this Folder. ")
*wait(999999999999)
*
end
if
#game.Workspace.Folder:GetChildren() > 2 then
print("Enough Parts,Success!")end"
instead of actually doing a repeat until, but still i agree with you!
But it won't repeat until 999999999999 seconds have passed
NOTICE ME!! Also, how’s your week? Stay safe, wash your hands.
Good, keep washing them hands
Wow, Planet Earth watches Alvin too? Awesome!
Planet Earth Im sorry for the Global Warming
tostinos tostinos, hot pizza rolls!
Good video! Keep up the good work! I'll be here forever!
WHAT THE HELL I WAS JUST WATCHING UR OLD VIDEOS THIS IS UR VOICE IN THE PRESENT??? HOLY CRAP 2:28
I think I’m have a sensation of Deja vu!
9:10 mouth clicking, it’s like a whole new keyboard I LOVE IT!
Thanks AlvinBlox! For all this! Could have never been a human without you!
I-mean Roblox Character... Person
I also have many questions, such as why can’t I enable and disable a GUI inside a game using the enable property,
And also is there a way to find a “something” in the game and keep hold of it forever so you can change it, for example if you have a game where that “something” moves randomly inside the workspace, StarterGui, ServerStorage and so on! I really need help on that! Went to the Roblox developer page and they said FindFirstChild() but that doesn’t really help :C! Thanks for reading!
Congratulations! You've made it so far!
Speed, also wondered why you've never made a game? They would become really popular due to TH-cam and how amazing you at coding!
I am making one and it’s coming soon trust me
@@AlvinBlox Ah yes, can't wait for that!
YOURE THE BEST!!
Oh and did the hacker from your arsenal stream got banned?
Lol prob
Amazing video. This really helped!
Only 8k humans want to be developer , Iam one of them 😀!
Also Thanks for AlvinBlox Who Making A Free Tutoriaks For Make Our Dream True💪❤️🔥!!!
cheers!!!
I love your vids so much keep it up man!
Repeat loop is a very useful scripting tool and thanks to you now I know how to use it! 😄😄😄
Always so excited to see a new AlvinBlox video - I'm quite a bit older than the average Studio user and just decided I wanted to try to learn Scripting and try to make a game a few months back. Alvin's videos were the very first I found. I couldn't believe how well-spoken and intelligent this kid was. My generation complains about the "lazy Millenials (and younger)." That I've learned so much from this young guy on the other side of the globe honestly gives me hope for the future. THANKS AB!
Happy to help!
ur voice is calming
Omg at the beginning my Google Assistant has understood “Ok Google”
Thank you Alvin this has really helped me!
Thanks for the hardwork!
I love your videos and im only 10 i get good at scripting by your videos alvin!!
Just placing a timestamp to pick up from where I left off
6:42
Great tutorial your a legend nothing can stop you.
Amazing work!
You help me with alot man keep up the good work please
Thank you very much, my game needed this loop, the game will wait for the player to score the ball and the game stops.
Nice job this really helped me :D
i wonder why someone would dislike this great video
the video really helps coding starters,thx alvin blox :3
yep I atually feel smart now knowing how to script!!
This is awesome! Can you maybe make a tutorial on how to make an item giver by clicking?
Very good tutorial! helped me a lot.
Nice
KevinRexFromDk I can tell you really love his vids
Cheers mate
Yay
thx alot, this helped me make my loading screen! 😀
Thx Alvin have a good day! For now i dont need that but game.players.leaderstats.braincells.value +1 :)
Edit: I remember how nice you was with me in game thx you
wow im a beginner and just by watching your tutorials up to here i already know more than my biggest bro that started 2 weeks ago
I have one question... So.. right now you are teaching us, but.. how did you learn scripting in the first place?
TH-cam videos and the old Roblox wiki which inspired me to make my own
Love ur vids mate
Wow nice vid bro!!!👍👌🤟🔥
Pretty simple stuff; about same as while loops, maybe even same. This comments from me may be dissapearing until there is some hard stuff.
repeat
(argument)
until (condition)
Fact from the video: # is used for how many integers.(numbers)
Thanks for these tutorials
Can you continue the series for creating a roblox battle Royale game?
Thanks! this helped me make a rapid-teleport-home script for a game.
Alvin a question roblox update the bubble chat and things if you want to publish a game how do I put then bubbleChat?
Good work!
this is useful because I can print "not enough players in game"
Helpful as always. Out of curiosity what is that 'CoreGui' folder and what's it for in studio?
I believe for Roblox made gui like the top bar
The thing is most of this is for a simple minigames and intermission game. I'm building a naruto lore game, and I wanna figure out how to make jutsus and specs and script meshes.
Simple? If you combine everything that lua can offer, then you can script all these stuff you mentioned no problem, Just look at epic minigames. It's "Simple" mini games that you mentioned, but built by hands of pros
So, a repeat until is basically backwards then a while true do loop then I think.
I think the only instance that this will break the game is when the other player decides to leave in the middle of the game. In this scenario, there should at least be a backup script that is waiting during the game, just in case it happens midterm.
You is lit my man and thanks a lot appreciate it
45th!
Edit: Thx yt for making notifications, also alvinblox you helped me earn alot of talent! I love your sword fight creating series. You helped me through all that lua junk! Thank you 😁
Edit 2: OMG THX
Can you explain for i,v in pairs it's kinda hard to get it
Soon
Is there any way to do this if you're trying to specifically check if a model with a certain name is there? Let's say I set this up to repeat until a part with a certain name appears, how would I go about that?
ty keep up the goodwork :))
I'm knowing this a lot, it's pretty easy now!
I'm always erlay when I click vid notifacation
E R L A Y
E R L A Y
E R L A Y
Great videos.
This really helps but how to you make it so after 1 click you have to wait a little like 2 seconds then you can tap again
dont understand what youre saying much but maybe try using the wait() function
for example:
blahblahblahblah
wait(2)
blahblahblah
If the repeat is on the top then do you need to click tab so the script will work?
i have the same question
Great video :)
Hi Alvin i have you See in a Football Game from roblox do you remember xDXXL?
Repeat Statement: *does its job*
Repeat Statement: I'll f###in do it again
This is underrated omg 😂😂
Alvin... Your voice gets deeper!
Wow, first video i saw of you you had a so young voice and the next video your a fully adult!
now i know how to do infinite loops, i used to put
repeat until nil
and it used to break my studio lolll
Could you maybe do a player teleporting or camera manipulation tutorial? Thx ur the best scripter
Alvin, do you think I will be able to build a RPG Game where you play and battle monsters in a level created game with this tutorials?
alright alvin so i have a script this is an example not real code just short defs
repeat
teleports to a place
until
stops teleporting
then after i do all of that and do it again it does it once and doesn't repeat
if you ever feel like roblox scripting is hard think about what roblox engineers went through trying to code a coding system
Roblox engineers didn't make the code.
Lua was created by 3 men in 1993.
I may be only a beginner now but one day, one day i will be big and i promise you that.
It’s 2022 and the is is still helpful
Alvin, I need to make a team changer restriction or a only people in that group can change to this team
alvin! i don't know how to teleport players. you should make a tutorial on that too
when the kid starts spamming omg this helped me so so much on my ripoff of raise a floppa game 🤓
very useful ty
very helpful 👍
Ok, but the example you used on this works with the while loop too. So is the repeat loop used for anything that the while loop can't be used for?