Thanks to my Channel Members for supporting my content. They got to see this video first, before anyone else! Enjoy! (Click the Join button or go to www.alvinblox.com/join if you are interested in joining Membership)
*TIMESTAMPS:* What Is Position?: 0:00 - 10:33 What Is CFrame?: 10:34 - 24:34 What Is Lerp?: 24:40 - 31:01 What Is LookVector?: 35:35 - 42:00 FOR MY MOBILE BROS!
Thank you for all the work you have put into making these videos. Im a hobbyist programmer for 20+ years and just recently got into roblox and lua. With your videos and some others I have managed to get a great start on a game I wanted to make. You have taught this old dog many new tricks and when my game is done you will be in the credits list. Thank You!
I just renewed the membership because I think you work really hard on these videos and that you are choosing to use your time to help us. Tysm for all the help!
I pulled a model rotation script off of some fourm site a little while back and had 0 knowledge of what CFrame is or what it does. After watching this video, I now have a perfect understanding of the property and its potential uses. Thank you so much!
I always thought Alvin's tutorials were hard to understand, but I was actually able to use his advice to fix a problem I had, and learn some extra information. DANG this guy is good for learning Code!!!!
cool tutorial and well explained. CFrames are used for lots of thing like fireballs, cars and even enemies so you explained it well and i hope you are happy with yourself. (:
Your one of my favorite scripting you tubers this helped a lot I don’t even think you’ll read this but if you do just know your very good at stuff thank you for all the work you’ve done Sincerely MrBristaLeg Ps I recently became a member
23:10 "Nobody I dont think ever uses radians". It's quite the opposite in programming, we always try to use radians over degrees to avoid cases such as 200 + 200 degrees and 20 degrees - 50 degrees and so on. It's good to learn radians since it's used in math classes as well.
I just started your 2020 beginner scripting tutorials and im now in lesson 10 so thanks if you can see this it really helps me so much and i now can make a few things happen in my game without even searching a script for it in the toolbox it really helped me out thx again!
I haven't commented for a while. But thanks Alvin for all ur hard work. Im trying to improve my living situation, and dev when I have free time. I want to do this for a living so I can support myself. And I feel like I can bc of you. I love u❤
it took me about a week to realize that look vector wouldn't have CFrame * look vector * a number, until I watched this video and it all made sense thank you so much
This helped so much. Even though this is two years old! I understanded everything, i would recommend this to anyone who is trying to learn how to script.
great vid as always, your ability to explain things clearly never fails. thanks. looking forward to your vid on "ToWorldSpace" and "ToObjectSpace". i've had some trouble understanding those and they are important. also when you type in the commands, it's so small it can be hard to see, especially if it's down at the bottom of the screen. the youtube controls obscure it when i pause to read the command closely. so please always keep the commands up from the bottom of the screen and enlarge the text if possible. thanks!
lerping is so useful if you are dealing with the camera because what if you want to make the camera position itself directly in the center of the 2 players for a fighting game.
Love the info! Thanks Alvin! Quick critique though (I'm sure you've already noticed) but the video's progress bar covers up the script that is written in the command prompt and the command prompt's script is tiny. The info is well worth the extra effort to watch though, so keep up the good work!
@@AlvinBlox Yes, when I head to /join it said this content is unavailable for purchase. Maybe it really can't in my country because it isnt only you I don't see it on any youtuber who says: "Press the join BUTTON to become a member"
oml thank you so much for this video, i was trying to make a tree generator like lumber tycoon 2 and couldnt figure out how to make the branches move up where theyre facing. tysm againnnnn
Wow! Learnt so much about CFrames through this video.. and that's basically how monsters look at you whilst your moving, you write the script in a while loop: while true do game.Workspace.Block.CFrame = CFrame.new(game.Workspace.Block.Position, game.Workspace.Plank.Position) task.wait(0.1) end
Been scripting for quite a long time and still haven’t gotten a full grasp of CFrame (I even looked at AxisAngle’s post but I’m rather thick). I’ve been watching you ever since you pronounced GUI as “gooey”. Thanks for the help.
If you do something like this, while true do wait(0.01) game.Workspace.Block.CFrame = CFrame.new(game.Workspace.Block.Position, game.Workspace.Bar.Position) end , or something, you can move the block while you're running and the block will always be staring at the bar. You can change this to a character, so the block always stays looking at the character. It's a pretty fun thing you can do.
Alvin, I just wanna say you have helped me so much. I want to buy membership but I can't afford :C but oh well. Thank you for making these videos free. I have learned so much, and thanks to you, my first game will be stuff that I make :D
Make sure that if you are messing with the CFrame of blocks that you do not have the blocks that you want to move welded to the Baseplate. For half of the video I set up the examples and any blocks on the Baseplate that I moved brought the Baseplate with it lol :p
Wait r u doing an advanced scripting series?! old because vids won't load on my phone but omg ty so much this is so useful I always wanted to build and script all by myself..
Thx for making it cuz the sword fight tutorial that u make last year sadly u didn't explain and here u are explaining thx really glad u did cuz I was confused You deserve a sub and like Stay strong from the corana virus 😁💪💪
Id just like to say, radians are very often used in mathematical branches like trigonometry, AP, etc... pretty much anything that has to do with circles (or right angled triangles since they share properties with a circle) and 1 rad = 180/pi degrees so uh yeah
OMG THANKS FOR MAKING THIS (I haven't watched it all but i will make sure to do so) Also, is there any chance you could do a tutorial about graphic design? Like creating GFXs and stuff, I'm interested in it, and I thought you might be good at it, if you're not able to do that it's fine. :D
1) make a video public then do it quick private and publish it after 24 hours, people that commented first will have their comments 24 hours ago 2) channel members get access first
Use zooming, please. It's hard to see the script on my phone and on my computer cause clearly has a smaller screen than yours hence it looks tiny on my screen.
Thanks to my Channel Members for supporting my content. They got to see this video first, before anyone else! Enjoy!
(Click the Join button or go to www.alvinblox.com/join if you are interested in joining Membership)
alvin im about to give up on my roblox game my user is lolgamer0309 man the scripting is hard af
this helpful alot thx alvinblox
AlvinBlox can’t wait to watch the video! Been waiting for this!
keep going, I had the same struggles as you but never gave up
There is no join BUTTON and on /join it says unaavailable for purchase
Still can't believe we are getting these quality tutorials for free
*TIMESTAMPS:*
What Is Position?: 0:00 - 10:33
What Is CFrame?: 10:34 - 24:34
What Is Lerp?: 24:40 - 31:01
What Is LookVector?: 35:35 - 42:00
FOR MY MOBILE BROS!
holy shi this video is very long
what is cframe : 10:39
Thanks can you keep doing this lol
You know on mobile you can still use time stamps from the description
you can't make a game with mobile
Thank you for all the work you have put into making these videos. Im a hobbyist programmer for 20+ years and just recently got into roblox and lua. With your videos and some others I have managed to get a great start on a game I wanted to make.
You have taught this old dog many new tricks and when my game is done you will be in the credits list.
Thank You!
I just renewed the membership because I think you work really hard on these videos and that you are choosing to use your time to help us. Tysm for all the help!
I appreciate that Shot, thank you very much :)
I pulled a model rotation script off of some fourm site a little while back and had 0 knowledge of what CFrame is or what it does. After watching this video, I now have a perfect understanding of the property and its potential uses. Thank you so much!
Me, a math nerd laughing at "Nobody Uses Radians"
I always thought Alvin's tutorials were hard to understand, but I was actually able to use his advice to fix a problem I had, and learn some extra information. DANG this guy is good for learning Code!!!!
cool tutorial and well explained. CFrames are used for lots of thing like fireballs, cars and even enemies so you explained it well and i hope you are happy with yourself. (:
Your one of my favorite scripting you tubers this helped a lot I don’t even think you’ll read this but if you do just know your very good at stuff thank you for all the work you’ve done
Sincerely MrBristaLeg
Ps I recently became a member
Agreed
Agreed
Agreed
Oh my god his voice has changed since his first few videos. It feels like ive watched someone grow up
Hehe
uhh he changed his mic
@@zakihdr777 VIBE KILLER
@@zakihdr777 hes talking about alvins first few youtube videos
People who've been watching since he first started his channel:
"I raised this boy"
Thank you, I was so confused about CFrame and you made it so easy!
23:10
"Nobody I dont think ever uses radians".
It's quite the opposite in programming, we always try to use radians over degrees to avoid cases such as 200 + 200 degrees and 20 degrees - 50 degrees and so on.
It's good to learn radians since it's used in math classes as well.
i think he meant that nobody uses radians in roblox but ok
@@coolcarl2232 roblox scripting is just like real scripting,learn it the right way to get it to the next level
Hey Alvin! Thank you for being such a help to me when I am just beginning scripting on Roblox! This is why I bought membership!
Thanks very much mate. Glad I could help you!
I just started your 2020 beginner scripting tutorials and im now in lesson 10 so thanks if you can see this it really helps me so much and i now can make a few things happen in my game without even searching a script for it in the toolbox it really helped me out thx again!
Ur tutorials literally give me brain cells ... tysm
If you never made videos I would still be trying to figure out on how to anchor a block
im glad that you are here
Bro, i watched you from like when you were a kid and look at you now. Puberty hit ya hard
Book Mark for Lerp
24:41 - 31:01
Camera Cframe BookMark
31:03 - 35:31
I haven't commented for a while. But thanks Alvin for all ur hard work. Im trying to improve my living situation, and dev when I have free time. I want to do this for a living so I can support myself. And I feel like I can bc of you. I love u❤
it took me about a week to realize that look vector wouldn't have CFrame * look vector * a number, until I watched this video and it all made sense thank you so much
I've been looking for lookvector for so long thank you!
I feel like a pro scripter after learning scripting from him, i became a successful SOLO dev
really? what's your game? I wanna try it
I wanted something like this for my plane, TY!
Glad I could help.
it will be easier to make plane with body position and body velocity
Hi
woohoo, I asked for CFrame yesterday in the community post, and here it is! Thx Alvin
16 minutes into your video and i already learned so much
I have needed this video for soo long. Also, Alvin is british ;) FINALLY A UA-camR WHO DOESNT SAY zee
Finally a in depth tutorial on cframes.
@discent7 hey u can ask the people in dev forum
@Discent257 you need to write
while true do
wait ()
So it doesn't crash
then you havent seen the dev forum. There are doing some crazey things with cframes
I used to watch these videos all night for fun
Thx for liking it alvin :D
I already know this is a very helpful tutorial
to anyone who does not know how to do this
YES!! IVE WANTED TO LEARN MORE ABOUT CFRAMES THANK YOU!
No worries mate :DDD
Definitively this is the best Roblox tutorial channel on the net 👍
hi alvinblox i learned soo much from your videos thank you very much, i am watching your videos every day
This helped so much. Even though this is two years old! I understanded everything, i would recommend this to anyone who is trying to learn how to script.
great vid as always, your ability to explain things clearly never fails. thanks. looking forward to your vid on "ToWorldSpace" and "ToObjectSpace". i've had some trouble understanding those and they are important. also when you type in the commands, it's so small it can be hard to see, especially if it's down at the bottom of the screen. the youtube controls obscure it when i pause to read the command closely. so please always keep the commands up from the bottom of the screen and enlarge the text if possible. thanks!
Put this video in Roblox scripting series playlist, love what you are doing
lerping is so useful if you are dealing with the camera because what if you want to make the camera position itself directly in the center of the 2 players for a fighting game.
YES! I have been waiting for this for AGES! Tysm
AlvinBlox you should make a video on how to make a laser gun.with GUI that allows you to change it from automatic to semi or burst shots.
My friend here has the Lerp between mature and fun, absolutely amazing person! Information is crazily easy to digest!
Love the info! Thanks Alvin! Quick critique though (I'm sure you've already noticed) but the video's progress bar covers up the script that is written in the command prompt and the command prompt's script is tiny. The info is well worth the extra effort to watch though, so keep up the good work!
Yeah, but the command print is so hard to read on a smaller device, had to make out words with the pixels
Yeah, it is quite small and gets covered up. Still, it's a very good tutorial other then that! :D
this is so helpful Alvin thank you!
*Cframe is basically the Orientation and the Position, All at the same time.*
Been scripting for a year and still haven’t gotten a full grasp of CFrame (I even looked at AxisAngle’s post but I’m rather thick). This really helps.
very nice video these little tricks and tips about cframing can take scripting a long way
hi Alvin! Just watched half the video and I remember I watched it already.lol. (channel members see it first)
pov: your words became a website
Alvin carrying my scripting career finally know how to make a gun with CFrame and Tool events.
I think Alvin can explain stuff so easily that me (a 11 year old) can understand something like it's flippin making a part manually
I was just Wondering what is CFrame and you upload ty.
Amazing Tutorials! Really hope you keep making them!
Exactly what i was looking for! Thanks for the informative video
Thanks for the help alvin and congrats getting in a roblox video
Thank you!
Wow, it sure is great to be a member!
Glad you’re enjoying the experience :)
Where is the join BUTTON? I really want to become a member. It says unaavailable for purchase
Might not be available in your country unfortunately. Try www.alvinblox.com/join
@@AlvinBlox Yes, when I head to /join it said this content is unavailable for purchase. Maybe it really can't in my country because it isnt only you I don't see it on any youtuber who says: "Press the join BUTTON to become a member"
oml thank you so much for this video, i was trying to make a tree generator like lumber tycoon 2 and couldnt figure out how to make the branches move up where theyre facing. tysm againnnnn
I really needed this. Thanks
for the last part, you can also make a part go forward 10 studs by doing Part.CFrame = Part.CFrame*CFrame.new(0,0,-10)
Wow! Learnt so much about CFrames through this video.. and that's basically how monsters look at you whilst your moving, you write the script in a while loop:
while true do
game.Workspace.Block.CFrame = CFrame.new(game.Workspace.Block.Position, game.Workspace.Plank.Position)
task.wait(0.1)
end
Hey Alvin, I have bought a book on kindle which teaches me Lua so now I am learning to code in Roblox!
Been scripting for quite a long time and still haven’t gotten a full grasp of CFrame (I even looked at AxisAngle’s post but I’m rather thick). I’ve been watching you ever since you pronounced GUI as “gooey”. Thanks for the help.
So useful thanks a bunch Alvin!
I hope you can make tutorials on much more complicated topics in the future. I can't seem to understand metatables and metamethods at the moment.
That's really in-depth, thank you very much!
@AlvinBlox maybe tutorial on TeleportService and how to make a server browser would be really nice. Cheers bro.
Nice i love you videos bro keep up the work!
this is the best tutorial i have ever seen
If you do something like this,
while true do
wait(0.01)
game.Workspace.Block.CFrame = CFrame.new(game.Workspace.Block.Position, game.Workspace.Bar.Position)
end
,
or something, you can move the block while you're running and the block will always be staring at the bar. You can change this to a character, so the block always stays looking at the character. It's a pretty fun thing you can do.
One thing I was always wondering is why all programming languages use radians by default when people understand degrees better :-|
I feel like i learned much more about CFrame thanks :D
Tysm Alvin this was actually what I was stuck on in my game that I'm making 😀
Alvin, I just wanna say you have helped me so much. I want to buy membership but I can't afford :C but oh well. Thank you for making these videos free. I have learned so much, and thanks to you, my first game will be stuff that I make :D
I was just thinking about CFrames and you upload this video right afterwards, coincidence? Yeah, probably.
this was posted like at 6 o clock at my time. btw good tutorial
Thanks for the tutorial! Love it 🥰
Hi Alvin!!!
feels like a math lesson
thanks now i understand what cframe is and i can finally understand teleporting
Hi Alvinblox! I love this series, however, are you able to continue this advanced series for scripting? Thank you!
Make sure that if you are messing with the CFrame of blocks that you do not have the blocks that you want to move welded to the Baseplate. For half of the video I set up the examples and any blocks on the Baseplate that I moved brought the Baseplate with it lol :p
I really like your channel Alvin :D
No one
Alvin: And so, BOOM!
your the best Alvin
Wait r u doing an advanced scripting series?! old because vids won't load on my phone but omg ty so much this is so useful I always wanted to build and script all by myself..
alvin blox thank you so much for you videos its only by you I became a good scripter thank you
Woohoo! I am hyped
Last time I was this early, check-in wasn't even open
YES! ANOTHER VIDEO :D
Thx for making it cuz the sword fight tutorial that u make last year sadly u didn't explain and here u are explaining thx really glad u did cuz I was confused You deserve a sub and like Stay strong from the corana virus 😁💪💪
What screenshot program are you using?
Amazing tutorial btw!
Jesus Christ the deep voice caught me off guard. I remember the younger Alvin.
Wow, amazing! I’m nearly there
👍👍👍 Loved it 👏🏼👏🏼👏🏼
Id just like to say, radians are very often used in mathematical branches like trigonometry, AP, etc... pretty much anything that has to do with circles (or right angled triangles since they share properties with a circle) and 1 rad = 180/pi degrees so uh yeah
OMG THANKS FOR MAKING THIS (I haven't watched it all but i will make sure to do so)
Also, is there any chance you could do a tutorial about graphic design? Like creating GFXs and stuff, I'm interested in it, and I thought you might be good at it, if you're not able to do that it's fine. :D
UA-cam: 19 seconds ago
Comments: 21 hours ago
Yeah how is that possible? Maybe channel members get access first.
Sameeee
@@randax8518 That's the case
@@randax8518 Channel members get the videos 24 hours earlier
1) make a video public then do it quick private and publish it after 24 hours, people that commented first will have their comments 24 hours ago
2) channel members get access first
Use zooming, please. It's hard to see the script on my phone and on my computer cause clearly has a smaller screen than yours hence it looks tiny on my screen.
Thanks i understand CFrames now and I am making my own game!
I appreciate it. It helped a lot.
Alvin I hope you can make alot of advanced scripting tutorials. I prefer to learn coding and then creating my shop. We learn from you :).
A very incredible tutorial
Glad I can see this