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!
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
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, 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
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.
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.
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!
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.
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.
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!
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?
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)
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
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
thanks for the tutorial I was doing a function and didnt know how to make it go forever but this helped me! By the way do i have to make the function before repeat or inside the repeat? My script: function habibi() if script.Parent.Visible == false then script.Parent.Visible = true end script.Parent.Visible = false wait(0.5) script.Parent.Visible = true wait(0.5) end repeat habibi() until script.Parent.Parent.Visible == false
Can you do an "until" without repeating? Like say I want to have a lantern light up at night and stop lighting up in the daytime can I make it light up "until "12:00:00"?
When try to publish my game i have a script and when i press publish to Roblox, a message pops up saying "There are uncommitted script changes that will not be publish with the place. Do you want to publish anyway?" Why
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!
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
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!
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!
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?
Thank You!! I have been struggling on this topic!!
Thank you so much! You're a super talented person!
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.
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
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
I really love your vids when you do Tutorials
Thanks!
hmmm u seems sus
ill vote purple
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.
OMG YOU ARE AWESOME! YOU HELPED ME A LOT IN MY STORY GAME!
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
Nice a Renew Video from 22 Jun 2018. Thanks bro for all the help from until 2017 / 2020!
Great playlist tutorial i can memorized the scripts and i can't wait to move on to advanced scripting playlist. :D
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.
Just placing a timestamp to pick up from where I left off
6:42
Thank you so much for helping me with my game! You are the best💜
tostinos tostinos, hot pizza rolls!
Good video! Keep up the good work! I'll be here forever!
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.
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
WHAT THE HELL I WAS JUST WATCHING UR OLD VIDEOS THIS IS UR VOICE IN THE PRESENT??? HOLY CRAP 2:28
This is why I am subscribed to this guy, he actually shows a difference in something seeming very similar. Thanks for the help!
I have officially made a Neon Block that changes colors every second. Noice.
Congratulations! You've made it so far!
hey alvin, your my fave scripter tutorial channel thing
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
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!
I love your videos and im only 10 i get good at scripting by your videos alvin!!
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
Nice
KevinRexFromDk I can tell you really love his vids
Cheers mate
Yay
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!!!
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!
You are actually better and interesting then my teacher..Good job i love your vids,they are very detailed and good!
Omg at the beginning my Google Assistant has understood “Ok Google”
I love your vids so much keep it up man!
ur voice is calming
Alvin a question roblox update the bubble chat and things if you want to publish a game how do I put then bubbleChat?
Thank you Alvin this has really helped me!
Speed, also wondered why you've never made a game? They would become really popular due to UA-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
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!!
Thanks for these tutorials
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?
You help me with alot man keep up the good work please
Very good tutorial! helped me a lot.
Thanks for the hardwork!
Nice job this really helped me :D
Great videos.
Can you explain for i,v in pairs it's kinda hard to get it
Soon
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
Great tutorial your a legend nothing can stop you.
Amazing work!
This is awesome! Can you maybe make a tutorial on how to make an item giver by clicking?
Good work!
Love ur vids mate
Thank you very much, my game needed this loop, the game will wait for the player to score the ball and the game stops.
If the repeat is on the top then do you need to click tab so the script will work?
i have the same question
11:08 just saving my time
Can you continue the series for creating a roblox battle Royale game?
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)
Hi Alvin i have you See in a Football Game from roblox do you remember xDXXL?
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
Thanks! this helped me make a rapid-teleport-home script for a 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
thx alot, this helped me make my loading screen! 😀
Some may learn scripting from his videos but I watch this as ASMR.
Thank you for helping me in my scripting journey.Love u bro!
I love ur videos can u make tutorial how add people to team create if game owned with. Group
in order to do that, you need to add the people who you want to build with in a role where they have permission to build / manage games
You is lit my man and thanks a lot appreciate it
Repeat loop is a very useful scripting tool and thanks to you now I know how to use it! 😄😄😄
ty keep up the goodwork :))
Great video :)
I'm knowing this a lot, it's pretty easy now!
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
Alvin... Your voice gets deeper!
very useful ty
So, a repeat until is basically backwards then a while true do loop then I think.
I'm always erlay when I click vid notifacation
E R L A Y
E R L A Y
E R L A Y
Wow nice vid bro!!!👍👌🤟🔥
Alvin, I need to make a team changer restriction or a only people in that group can change to this team
very helpful 👍
I have one question... So.. right now you are teaching us, but.. how did you learn scripting in the first place?
UA-cam videos and the old Roblox wiki which inspired me to make my own
Alvin what does the # mean when you do the #game.Workspace.Parts:GetChildren() > 1
Repeat Statement: *does its job*
Repeat Statement: I'll f###in do it again
This is underrated omg 😂😂
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?
THANKS :DDD
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
thanks for the tutorial I was doing a function and didnt know how to make it go forever but this helped me!
By the way do i have to make the function before repeat or inside the repeat?
My script:
function habibi()
if script.Parent.Visible == false then
script.Parent.Visible = true
end
script.Parent.Visible = false
wait(0.5)
script.Parent.Visible = true
wait(0.5)
end
repeat
habibi()
until script.Parent.Parent.Visible == false
this is useful because I can print "not enough players in game"
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?
Can you do an "until" without repeating? Like say I want to have a lantern light up at night and stop lighting up in the daytime can I make it light up "until "12:00:00"?
If you want the script to check wether its day or not u should have a repeat in until
Can you make a tutorial on coroutines?
can you make a video on how to do tables and for i, v?
Soon
When try to publish my game i have a script and when i press publish to Roblox, a message pops up saying "There are uncommitted script changes that will not be publish with the place. Do you want to publish anyway?" Why