Alvin, everytime you upload a video, it helps me with at least one thing in Roblox studio. Although I am not the best scripter, I never would have been able to start learning lua and other code without you. The types of things that you make on Roblox inspire me to make my own games and keep trying, even when my script doesn’t work. Thanks for all of your help!
you're such an amazing teacher. I've actually been using your lessons to code because I joined a group of people recently who have a creature game they want to make but we don't have a programmer yet so I decided to try and learn, though I also do the art for the creatures. I'm super excited to keep learning from these videos and hopefully really be able to make a game with what I've learned from you.
bro ur the best guy ever, i've always wanted to learn how to script but it seemed like its alot to learn and you need to wait alot so you can make a proper script but now im at your 9th lesson and this is surprisingly not boring as it is at school and its fun!
Thx for making the beginner scripted series Alvin! I knew most of the videos you did, but you made me understand them even better than any other youtuber can do! I enjoy watching your tutorials! Keep up the good work!
so true Alvin is like always so kind and is like taking free tuition. like almost 99.99% of the people here who concentrates on everything he says are to learn scripting for sure.
@@hedgehog8485 ah but you see you have defined the variable as "Find", but when you tried to call it you have spelt it as "find", meaning Daler is still dead. RIP Daler
I would never have been able to learn Lua code and other code without you and your amazing videos. because of this I also keep trying and never give up even if my script doesn't 't work
If you need help with parent and child look in the properties of the thing you want to find the parent for and it should be there but thanks for all you've done Alvin your a real one :)
quick overview Built in Functions are Roblox's premade functions and there are 2 types of built in functions: Member functions and Global functions. AlvinBlox mentioned 5 basic Built in functions that are useful. Member functions are functions that affect an object, while Global functions affect the script. To use a Member function you need to define what part you want and then type a ( : ), then the function you want to use. Example: game.Workspace.part:Destroy() To use a Global function you type it in in what spot of the script you want it to be in, global functions appear blue. Example: wait(5)
Wow, AlvinBlox I know how to code in python and this series was VERY easy to pick up! Every time I watched one of your videos it made me want to try something on my own to see if it works and it was just a feeling I didn't get while I learned python. Thanks so much for making these vids I LOVE THEM!!!!
bruh without you i wouldnt know what im doing on studio and id make trash games with no scripting and hardly any effort tysm and keep up the good work mate ur doing well
Hi Alvin, i am founding like 1 year of script where "If player is in some bath "aka i think some Part" then he got let say points 2 times added to stats" if u know in Super Power Training simulator i mean something like (city port) or tornado if u know game u know what i mean so if u can, please make video or message me back thanks you, Ps: i looked anywhere [Like so he see please]
Reminder that: local myClone = game.Workspace.Part:Clone() myClone.Parent = game.Workspace and game.Workspace.Part:Clone().Parent = game.Workspace both create the same duplicate part. It just gets rid of the variable created with "local myClone". Which means if you want to create 5 parts of the same block, the script would look like this: local myClone = game.Workspace.Part:Clone() myClone.Parent = game.Workspace myClone.Parent = game.Workspace myClone.Parent = game.Workspace myClone.Parent = game.Workspace myClone.Parent = game.Workspace or game.Workspace.Part:Clone().Parent = game.Workspace game.Workspace.Part:Clone().Parent = game.Workspace game.Workspace.Part:Clone().Parent = game.Workspace game.Workspace.Part:Clone().Parent = game.Workspace game.Workspace.Part:Clone().Parent = game.Workspace They both do the same, but with the variable the code just becomes a lot more structured.
@@Andrew-nl4jf I apologize for my condolences but it seems that the code is actually i = 0 while i < 5 do game.Workspace.Part:Clone().Parent = game.Workspace i += 1 end If I am wrong, I am sorry again
ClearAllChildren() will clear all the Objects inside it like "workspace:ClearAllChildren()" it will remove parts mesh part wedge ands any kinds of part will be removed from workspace even a player model will be removed too and it cannot remove the "Camera" , "Terrain" from the workspace.
Hi Mr. Blox of Alvin. I was looking at other UA-cam videos about how to set a safe zone and coding for 2 hours and none of them worked so can you make one since you are the best youtuber I know Thank you for you service To Mr.Blox of Alvin
If someone's watching this in august 2020 Just want to remember that you can also use warn() like a print() they are similar and they work the same, They just change the color of the print
Hey Alvin can you halps me I am trying to make a script that will respawn a part that I have created with a function every 5 seconds. It will delete it then respawn it in the same position again. I cant find what i am doing wrong. Here is the script: function RespawnPart() local part = Instance.new("Part") part.Anchored = false part.Color = Color3.new(0.384314, 0.219608, 0.109804) part.CanCollide = true part.Material = Enum.Material.Wood part.Position = Vector3.new(-1, 0.5, 6) part.Name = "Car1" part.Parent = workspace end local x = 25 repeat RespawnPart() wait(5) game.Workspace.Car1:Destroy() until x == 30
if i do something like lcoal part = game.workspace.part:clone part.parent = workspace part:clear all children how would i make it clear the children of both parts?
if youre wondering how to make it wait in python use this type in import time at the top line and then use time.sleep() and put the seconds u like make sure that its correct as well
I liked your video, but I don't understand why you have to put the clone part into a variable other than making it easier to type in the future. This is because you can code in (game.Workspace.Part:Clone().Parent = workspace) and it work just like it intended. Good practices perhaps to write it in variables?
10:30 indented means on your key board is pressed tab, you can see those used in functions, basically defining is something in something or is it not. function idk() print("something") (youtube neither alot of platforms for searching etc dont support indention or tab character)
why do we need the parentheses in the built in functions?? like for clearallchildren and clone? alvin pls tell me because i saw scripts where people put something in the parentheses of Clearallchildren.
You know what's funny, he doesn't explain how to use the position command in one of his videos but explains AGAIN how to use the print and wait commands.
Max Builder The position command is quite simple! :D you need to open the properties tab, then it will show a parts current position! It shows everything else in previous videos
Please do, "how to make a custom player list/leaderboard", these beginners scripting videos are helpful but most of us know this stuff and want other videos like you used to do, for example your "How to make a" videos. Please do this, I would greatly appreciate it! Thanks!
Don't forget to use Star code ALVINBLOX when buying Robux or Roblox Premium to support my channel at no extra cost! Thanks!
ok
ok
You deserve more subs
I am #5
I used it :D
Alvin, everytime you upload a video, it helps me with at least one thing in Roblox studio. Although I am not the best scripter, I never would have been able to start learning lua and other code without you. The types of things that you make on Roblox inspire me to make my own games and keep trying, even when my script doesn’t work.
Thanks for all of your help!
No worries!
Omg
hie jay from ryg :)
Yeah I even write on my NoteBook to keep this Datas like Variables,Functions Etc
@@hlflifeenjoyer6176 Same
10:31
"And all these thicc children"
hoo boy this is so wrong
Amazing. Amazing xD
UwU
that is wrong on so many levels
Oh no
Alvin: 11:42
me: you murderer.
That what I thaught
I'm dieing
Haha, lol
the programmer behind the slaughter
@@RNoctowl big *yes*
you're such an amazing teacher. I've actually been using your lessons to code because I joined a group of people recently who have a creature game they want to make but we don't have a programmer yet so I decided to try and learn, though I also do the art for the creatures. I'm super excited to keep learning from these videos and hopefully really be able to make a game with what I've learned from you.
update?
Hey there! Do you mind sharing some tips for building in Roblox? Sorry for bothering btw.
I saw the background cycle, you should definitely do a tutorial on a day/night cycle
yeah i stared at my screen for a good 20 seconds waiting for the moon to speed by at 10000 miles an hour but nothing happened so i was like ok
moon animator
Yea he must really learn it to us
There is a Tutorial on UA-cam, but from Roblox itself.
@@jayfontanilla7026 that’s not what moon animator is for…
"These are the children because they are inside of them"
my burger is my child
@@pipitplays9519 burger
theres the door 👉 🚪
@@Z3ttabyte1 LOL
"it will DESTROY all the children"
bro ur the best guy ever, i've always wanted to learn how to script but it seemed like its alot to learn and you need to wait alot so you can make a proper script but now im at your 9th lesson and this is surprisingly not boring as it is at school and its fun!
Thx for making the beginner scripted series Alvin! I knew most of the videos you did, but you made me understand them even better than any other youtuber can do! I enjoy watching your tutorials! Keep up the good work!
nobody:
absolutely nobody:
people who decide to watch an AlvinBlox video after a year: WoW bRo YoUr VoIcE cHaNgEd!
no one asked
@@sortrec7718 About you
@@sortrec7718 lmao one whole year and mans not even gotten one person to agree with him
@@eloelz56 2 now
thank you so much, i really like how you explain scripting in the most simple way possible, i love ur vids
how the hell is this man making scripting fun, just how, like its so fun man
so true Alvin is like always so kind and is like taking free tuition. like almost 99.99% of the people here who concentrates on everything he says are to learn scripting for sure.
Wait(5)
Earth.Life.HomoSapiens.MyMom:ClearAllChildren()
Ok so guys I started the script and everything seems g
Under rated comment lol
local Find = Earth.Dead.Humans:FindFirstChild("Daler Karimov
")
If find then
find.Parent = Earth.Life
end
There you should be alive now Daler Karimov.
No it’s Universe.Earth.House.Mom:ClearAllChildren()
@@hedgehog8485 ah but you see you have defined the variable as "Find", but when you tried to call it you have spelt it as "find", meaning Daler is still dead. RIP Daler
Yahya Ali instead, you couldve did this:
local Find = Instance.new("Daler Karimov")
Find.Parent = Earth.Life
I would never have been able to learn Lua code and other code without you and your amazing videos. because of this I also keep trying and never give up even if my script doesn't
't work
Wow. I Haven’t watch you in 2 years, and I time did it’s thing to your voice
are you stalker
If you need help with parent and child look in the properties of the thing you want to find the parent for and it should be there but thanks for all you've done Alvin your a real one :)
Make a tutorial on how to make end game results. (Like MVP and that)
quick overview
Built in Functions are Roblox's premade functions and there are 2 types of built in functions: Member functions and Global functions.
AlvinBlox mentioned 5 basic Built in functions that are useful.
Member functions are functions that affect an object, while Global functions affect the script.
To use a Member function you need to define what part you want and then type a ( : ), then the function you want to use.
Example: game.Workspace.part:Destroy()
To use a Global function you type it in in what spot of the script you want it to be in, global functions appear blue.
Example: wait(5)
Murderer: destroy the child
Scripter: ok. :ClearAllChildren()
Murderer: ok how did you say brackets
@@thunderr3869 r/whoosh
@@skymbuc9049 r/Igotreddit
@@noobsunited5059 r/noboyasked
@@skymbuc9049 r/WhoooshHas3Os
bro i have two words to say: thank you! like you're making good toturials and make scripting fun and easy
alvinblox tutorials are literally the only scripting tutorials i can understand. thank you alvinblox
Wow! I’m back from 2 years, and your voice is so different! This video also helped me a lot, thank you,
*"hopefully, it will get destroyed."*
thanos.. hmmm... alvin
I remember that soft voice you had near the beginning of your youtube channel awwww. Lol
Wow, AlvinBlox I know how to code in python and this series was VERY easy to pick up! Every time I watched one of your videos it made me want to try something on my own to see if it works and it was just a feeling I didn't get while I learned python. Thanks so much for making these vids I LOVE THEM!!!!
same bro
when i saw the first episode of this series, when he was printing a number i thought he was gonna type
print(str(5048))
bruh without you i wouldnt know what im doing on studio and id make trash games with no scripting and hardly any effort tysm and keep up the good work mate ur doing well
you make very good tutorials i didnt thought i was gonna ever learn LUA
I'm starting to forget everything you said from the beginning so had to rewatch again
Thank you for the clone one, Now I know how to reset Maps!
coding in a nutshell:
Parent:findfirstchild("Brat")
Brat:Destroy()
All the tutorials I have been putting wait in some parts and I made it work 🙂
Interesting, I managed to teach myself scripting but if it wasn’t for you I wouldn’t have been able to get started :)
you know
you could teach me too
Hi Alvin, i am founding like 1 year of script where "If player is in some bath "aka i think some Part" then he got let say points 2 times added to stats" if u know in Super Power Training simulator i mean something like (city port) or tornado if u know game u know what i mean so if u can, please make video or message me back thanks you, Ps: i looked anywhere [Like so he see please]
Reminder that:
local myClone = game.Workspace.Part:Clone()
myClone.Parent = game.Workspace
and
game.Workspace.Part:Clone().Parent = game.Workspace
both create the same duplicate part. It just gets rid of the variable created with "local myClone". Which means if you want to create 5 parts of the same block, the script would look like this:
local myClone = game.Workspace.Part:Clone()
myClone.Parent = game.Workspace
myClone.Parent = game.Workspace
myClone.Parent = game.Workspace
myClone.Parent = game.Workspace
myClone.Parent = game.Workspace
or
game.Workspace.Part:Clone().Parent = game.Workspace
game.Workspace.Part:Clone().Parent = game.Workspace
game.Workspace.Part:Clone().Parent = game.Workspace
game.Workspace.Part:Clone().Parent = game.Workspace
game.Workspace.Part:Clone().Parent = game.Workspace
They both do the same, but with the variable the code just becomes a lot more structured.
i = 0
while i < 5 then
game.Workspace.Part:Clone().Parent = game.Workspace
i =+ 1
end
less verbose way to do it
@@Andrew-nl4jf what does i translates to
@@Andrew-nl4jf I apologize for my condolences but it seems that the code is actually
i = 0
while i < 5 do
game.Workspace.Part:Clone().Parent = game.Workspace
i += 1
end
If I am wrong, I am sorry again
@@izih yeah you wrote it right btw
ClearAllChildren() will clear all the Objects inside it like "workspace:ClearAllChildren()" it will remove parts mesh part wedge ands any kinds of part will be removed from workspace even a player model will be removed too and it cannot remove the "Camera" , "Terrain" from the workspace.
Intelligence
@@oldgingergirs7791 thanks uwu
hihi
R.I.P
Part
00:00 - 5:15
“I just want to be in a game...”
My guy Alvin Is such a big help, Coding is fun!
Hey, I love your vids so much. By the way, do you have plans for doing a tutorial for GUIs?
You should watch TheDevKing's GUI Tutorial series it is very helpful!
I am starting to learn lua and your videos are helpful
Finally new alvin blox vid, your
Tutorials are the best
Once he guessed how I was wondering about print being useful, I knew, he was the chosen one.
alvin your the best now i can start coding i didt anything like anything you helped me a lot bro
Dude, I am obviously gonna use your star code when buying robux, you are saving me money, I have learned alot from this
"has no more children, they've all been destroyed"
You do really teach me, You taught me/Are teaching me better than those creator challenge things
I needed this for the game I am working on. Wowwww nice!
Before I watch the Video I press Like because I know it will be GOOOOD! Thanks Buddy
Thank you a lot I feel like you are getting me somewhere on my journey to make a game
Press F to pay respect for the children of that part. They were a happy family but were murdered by the swift judgment of the script.
Wait (2)
Print ("F")
thank you Alvin for your vids they are really helpful and you explaining it well
Hi Mr. Blox of Alvin. I was looking at other UA-cam videos about how to set a safe zone and coding for 2 hours and none of them worked so can you make one since you are the best youtuber I know
Thank you for you service
To Mr.Blox of Alvin
'To Mr Blox of Alvin' lel
DUDE THIS IS HELPING OUT SOOOOOOOOOOOOOOOOOOO MUCH IM SUBING
If someone's watching this in august 2020
Just want to remember that you can also use warn() like a print() they are similar and they work the same, They just change the color of the print
Great explanation! Your videos are really helpful! 👍
the returning tutorial was more confusing than this one, this tutorial is actually easy.
I miss your old voice, _they grow so fast_
You're really helpful, clear and easy to understand and follow! Thank you for these amazing videos! :D
This is where it gets fun.
TY ALVIN BLOX I LEARNED A LOT FROM YOU
I just learned today how to make a lag game with this
>:)
Roblox studio do be Joseph Joestar guessing your next line of code
I still wish I was a member but keep up the good work Alvin!
Hey Alvin can you halps me I am trying to make a script that will respawn a part that I have created with a function every 5 seconds. It will delete it then respawn it in the same position again. I cant find what i am doing wrong. Here is the script:
function RespawnPart()
local part = Instance.new("Part")
part.Anchored = false
part.Color = Color3.new(0.384314, 0.219608, 0.109804)
part.CanCollide = true
part.Material = Enum.Material.Wood
part.Position = Vector3.new(-1, 0.5, 6)
part.Name = "Car1"
part.Parent = workspace
end
local x = 25
repeat
RespawnPart()
wait(5)
game.Workspace.Car1:Destroy()
until x == 30
Wait is the most useful one IMO, but I'm just learning.
I've seen this video like 5 times for reference but everytime he says "They are Children." at 10:20 it always catches me off guard
Alvin belike: "so you do game.Workspace.part:destroy()"
Part belike: "Please dont destroy me"
Epic video as always. tThanks for the lesson :D
Awesome as always
if i do something like
lcoal part = game.workspace.part:clone
part.parent = workspace
part:clear all children
how would i make it clear the children of both parts?
Thank you
ppl: "inteligence"
alvin blox: "inetlisence"
me: "intelectual"
smart ppl: "AI"
community:"a very smart person"
Can you make a video on a christmas prize calendar??
if youre wondering how to make it wait in python use this type in import time at the top line and then use time.sleep() and put the seconds u like
make sure that its correct as well
Amazing, even just as a refresher. Have you got/can you make something on data storage?
My gosh. Your voice. You’ve grown.
In captions, sometimes when he is saying wait, it says he is saying weight
He teaches me so much
My favourite scripting tutorial, learning how to delete children
Destroyed can be great for map voting because once the map is voted on you can close the old map and open the new map uses a instance.new
Hey Alvin can you make a video were when you level up in the game you can unlock stuff and buy stuff with an in game currency?
I liked your video, but I don't understand why you have to put the clone part into a variable other than making it easier to type in the future. This is because you can code in (game.Workspace.Part:Clone().Parent = workspace) and it work just like it intended. Good practices perhaps to write it in variables?
Thank u Alvin!
You make awesome videos that help me a lot
10:30 indented means on your key board is pressed tab, you can see those used in functions, basically defining is something in something or is it not.
function idk()
print("something") (youtube neither alot of platforms for searching etc dont support indention or tab character)
Hey Alvin Blox!I have been trying to do the tutorial sword game but it wont work for some reason! can you help me?
11:53 If you wrote game.workspace:ClearAllChildren() would it get rid of everything in the workspace?
yes
that would make a great virus for people who make viruses lol.
With this knowledge, I shall build a grand army for the Republic!
I'm so confident, yeah, I'm unstoppable today
Ur pc fast, what’s kind u have?
why do we need the parentheses in the built in functions?? like for clearallchildren and clone? alvin pls tell me because i saw scripts where people put something in the parentheses of Clearallchildren.
guys just so you know these scripting tutorials still work in 2020
Never clicked so fast
You know what's funny, he doesn't explain how to use the position command in one of his videos but explains AGAIN how to use the print and wait commands.
Max Builder The position command is quite simple! :D you need to open the properties tab, then it will show a parts current position! It shows everything else in previous videos
Im so caught up that most of the videos are self explanatory just with a little guidance
Please do, "how to make a custom player list/leaderboard", these beginners scripting videos are helpful but most of us know this stuff and want other videos like you used to do, for example your "How to make a" videos. Please do this, I would greatly appreciate it! Thanks!
i made a game called Medieval Lifting Simulator, and couldn’t do it without your videos
You help me a lot with my games! Thank you!
As well can you teach us how to make a game like a test.
Do you have a Video for how to make a Helicopter script i've been trying to find a script for a Helicopter animation and sounds but i can't find any.
that orange and black little app at the bottom scared me for a sec
Alvin. Easier way with destroy is "game.Workspace.Part:Destroy()"