Functions - Roblox Scripting Tutorial
This tutorial will teach you how to use functions in Roblox Studio scripting, including parameters and arguments. This topic is crucial to understand Events which are coming next!
Join membership for EXCLUSIVE perks:
/ @alvinblox
SUBSCRIBE to learn how to master Roblox scripting:
kzread.info?sub...
Watch my full beginner scripting series:
goo.gl/k3erz2
Roblox username: Alvin_Blox
Пікірлер: 892
Thanks for the support on this series so far everyone :)
@SiddharthKSampada
3 жыл бұрын
First!
@SiddharthKSampada
3 жыл бұрын
And also Alvin your tutorials help me soo much Keep making great tutorials like this which helps me and my fellow scripters a lot. TY
@windindustries4486
3 жыл бұрын
:)
@zerodevsz5505
3 жыл бұрын
First
@I_am_thing
3 жыл бұрын
Can u friend me on discord Alvin I have a question I_Am_thing#2266
Yo Alvin, have you ever stopped to think how many people you’ve helped? Thanks alot
@priz6751
3 жыл бұрын
First
@be8090
3 жыл бұрын
Yes
@Djjskd
3 жыл бұрын
Im making a game for my friend birthday and I used free models but I thought what If. I made my own script so I'm starting
@thompie6877
3 жыл бұрын
First reply
@godlygamer2466
3 жыл бұрын
@@thompie6877 no u aint
I love this guy so much, He's been doing the same series for 3 times now. From the time his voice was so small to a full grown teenager. I have to admit, I'm not an OG fan but I'm still glad I found his channel. Because of him, I made almost 3k robux from 3 seperate games that I made with a help from Alvin's videos. I pretty much quitted being a developer and forgotten all the scripting stuff. But this guy burst in with the tutorials. This can help me on making robux again. If you haven't subscribed, what are you doing in your life man. Alvin movin mad with the tutorials fam 🔥🔥
@Real_cheese3
2 жыл бұрын
@CROWN I R i know right ):
@hehehehe9104
2 жыл бұрын
@@Real_cheese3 ):
@aiky12rsa89
2 жыл бұрын
amen
@firetiger1315
2 жыл бұрын
It shows hes committed, he updates his tutorial every few years as roblox studios changes
@sausage-gobbler5392
Жыл бұрын
I love your channel
I want to say thanks to you. I have an interest in working at a space company in the future. And honestly, even though i am not coding much on roblox nowadays, i still have interest in roblox studio, and without it, i probably wouldnt have gotten interested in software engineering. And since u were my 90% source for learning roblox scripting basics, i really want to say thanks. Edit: You have literally affected many people's future, just by making videos.
@kestrells
Жыл бұрын
@Salxs Roblox scripting is considered 'easy' and is a good introductory way to get into scripting a step up from scratch
@spoopyface
Жыл бұрын
@@kestrells it depends what you are making
@hieu216tdq8
Жыл бұрын
@@kestrells yep
i love seeing him progress from a kid and still being so helpful
i love this series it gets better everytime
@sawyermellon8425
3 жыл бұрын
FIRST
thanks for these honestly, I have a year of lua experience now because of your 2020 series
@dusty3357
3 жыл бұрын
lol
These tutorials help me so much, because Alvin explains them so well, and explains the way the code behaves, meanwhile I just resume the stuff on my book, which helps a ton, thank you Alvin. And don't stop making these, you make for a great teacher.
this is so helpful!! i am an "old" roblox dev and moved to JavaScript and forgot how to script with roblox.... This series is so helpful!! Thank you bro
Ahh yes that time of year :) Could we also possibly get an advanced animation video in the future too? Like custom rigs, making a spell appear out of nowhere, those kind of fundamentals?
@mantis3069
3 жыл бұрын
That would be nice
@slenderslayer464
3 жыл бұрын
2021 Tutorial didnt ended, maybe he can
@curtistrinh5654
2 жыл бұрын
I know how to do custom rigs and anaimations
Yay another tutorial. I am looking forward for it.
@AlvinBlox
3 жыл бұрын
Glad to hear :)
@crossiscool6681
2 жыл бұрын
Me too
You explain everything very smoothly and make sure it’s easy to understand. Thank you, I am learning how to script at a fast rate.
these series are going to help a ton because im trying to work on a game alone not knowing how to code or build things, but now im learning how to code and im taking notes on a note book to make sure i remember it. thank you for this! :)
ive been watching since your 2020 series, nice job man. you do a good job going in depth on nearly everything and im coming back to see what your doing different for the new series :)
I’ve grown an interest in making a roblox game, and this is getting me really excited. The function part looks really cool, and I already understand it thanks to some experimenting in scratch.
Thank you so much, honestly, I have had game ideas for years and just never understood what to do, but, now I'm getting there little by little because of these videos!
Alvin blox, you basicly inspired me to watch ur vids and learn scripting in roblox, which ya’ helped me with along the way. Thank you.
Hey Alvin, I was just passing by and saw this video, even though I know lua, i still wanted to check it out, its so nice you help others achieve their dreams
i get so excited whenever u come out with a new tutorial
You're helping so much people with these videos on scripting including me. I would not be where I am without you.
I love how much detail you put into your teaching!
I really love how you put so much information into 10 minute videos!
I was looking forward to a new video on functions! I really enjoyed watching this episode!😀
these are suprisingly easy to follow, yet so useful. im not an easy learner at all, sometimes it takes me months to learn stuff in school, but this? thank you so much.
Loved this! You make scripting somewhat fun while educational
I did some other tutorials and this one is the one that explains everything the best.
Really nice to have an updated version of the beginner scripting tutorial and it's nice your back!
@AlvinBlox
3 жыл бұрын
Hey, thanks!
Thanks alvin! this years tutorial imo was the best explained out of all and you help me learn simple lua scripting :D so far i know (while true do, if statement, fynctions, properties, how to make a leaderboard, findfirstchild) and so much more that i cant think of rn Thanks man :D
Thank you for making these tutorials. I’ve come a long way in scripting on Roblox. My first scripting tutorials were these. They really helped me out.
Alvin your the goat man. I didn't understand any of this until I watched you. Thank you so much
These are AMAZING tutorials, I literally started coding today and I know a lot more than I thought I would. Your getting a sub!!!
The vids in this series are literally the only scripting lesson vids I actually understand 😅 so yah Tysm for the awesome vids keep it up ☺️
Thanks soooo much for this series it helped SOOO MUCH ur the best person ever in scripting AND you know how to explain VERYYY WELL
Thank you! I’ve been looking for this :D
I love your videos, they are very simple and understandable. Keep making awesome content!
Just learned what debugging was. Thank you Alvin.
i am loving how much theses videos help im taking notes on some things in a little book u gained a sub and a like:)
Literally such useful info i love your guides
Thank you a lot, I was trying all things to develop: Animations, UGC, GFX, Building, Modelling. And I never saw this good Script Tutorials.
Thank you so much for this series! It has let me learn how to script on Roblox!
OMG I JUST REALISED HOW HELPFUL THIS IS, THANK YOU SOOOOM MUCHH
I didnt know how parameters worked this cleared all my doubts Thank you so muuch
watching your series is the only way i learned how to script thanks man
earlyyyyyyyyyy. keep it up alvin! great work! ur going so fast!
bro alvin your tutorial is so good learned so much in so little time
All you’re videos are so helpful and it’s for free you deserve more subs
Always appreciate your updated versions of the basics, thanks Alvin.
Hello Alvin! using your coding and the stuff ive learned i made a simple command to say "hello World!" then make a blocks texture pebble, wait 5 seconds then make it clear! thank you for posting these videos!
These tutorials are helping me so much! Thank you
this is the best tutorial ever ive always put off learning to code later since i thought it was going to be hard but this proves otherwise
I've wanted to make my own game since 2015 and I keep giving up and trying again but the videos all are hard to understand 6 years later I started watching you and you've helped a lot thank you so much AlvinBlox! you're the best.
Alvin your the best I haven’t fully found out how to script but your the only youtuber who’s actually teached me for once
Amazing vid keep up the good work man
Oh my god thank you Alvin! Because of you I’ve learnt something I never thought I’d learn
thank you so much i wanna be a game dev when i become older and im working really hard to learn how to script and your videos help me alot thanks :)
ilysm, you explained it clearly.
These scripting tutorials helped me alot! Thank you so much!
@TigerMC2
2 жыл бұрын
You learnt scripting yet?
This helped a lot, thank you so much!
I sometimes have good ideas for games but i have no experience you are saving my life
Thank you, for teaching us how to create new functions You deserve a sub!
ive allways wanted to learn functions ty!
I tried to learn how to script sinxe last year but a lot of tutorials went straight to the point and it confused me- this one help me a lot 👌
Alvin i dont know what i would do without you :)
i have watched millions of scripting tutorial but never understood but i understand only u u are the best
I learned a lot from you and understand the most of things, learning functions are the most useful things if your a really bad typer or your hands hurt while doing typing. I really liked this video and I hope this comment gives you motivation
Thanks! :D It was painful at first, but now, I have got it! :D KEEP IT UP! :DDDDDDDDDDDDDDD
YAY A TUTORIAL AGAIN IM SUBS AND LIKEEEE LIKE IT SO MUCHHH!!!!!
You make scripting look easy and it’s also easy to learn from you thanks
Wow you are the first youtuber that made me hit the bell
thank you dude i had forgotten how to make functions but now i remember how to because i watched 30% of the video
ur tutorials are great, i learned a lot ty
You are young but a great teacher. Kudos
I LOVE THIS CHANNEL! THANK'S FOR TEACHING ME WHAT I LOVE!!!!!!!!!!!!!(Even tho I don't know much yet!)
You deserve a lot more views man! Thanks!
yesss i learned do change the Material's function TYSM:)
Thanks for helping! You got a new subscriber
This really helps! I really want to make an adventure / rpg related game! So this really helps, thank you! :D
Alvin,u helped me alot thanks u so much I was gonna quit roblox studio but.you changed my mind I see your future being the best roblox employee and my dream is to work with u
thank you so much for the help im learning more of roblox studio
used this for reference for my first script, it worked!!! so proud of myself
I liked the graphics you used in the video. Very well explained.
@AlvinBlox
3 жыл бұрын
Thanks a lot!
i was trying to figure out the arg one for so long, tysm
i was confused in the first 2 minutes but then i understand thanks bro this was helpful too :)
thanks alvin, function is very cool
You've really helped me alot man
Thanks a lot this really helped me :)
I gave my test subject a friend, thanks for the tutorial!
I'm learning to script rn and these are really helpful!
Please Continue this series!
Thank you so much for this series I’m working on my first game and it’s pretty big but I have zero knowledge keep up this series for people like me I learn a lot from you more people should be like you tysm
@wubbysalmon2072
3 жыл бұрын
Don't go for a big project first, start small and work your way up.
I love this series
@ast_jackm1902
2 жыл бұрын
I give scripting tutorials
This is the only video that i havent skipped
Yey! New video!
this guy is so good at teaching roblox code
I would like to add one somewhat helpful tip to this tutorial! You can simplify the script even more rather than leaving the argument every time with changeTransparency(game.Workspace.AlvinBlox, 0.5) or whatever. We can shorten it using Local and naming the part something simple as it follows : local Subject = game.Workspace.AlvinBlox function changeTransparency(part, newTransparency) part.Transparency = newTransparency end changeTransparency(Subject, 0.5) wait(2) changeTransparency(Subject, 0.75) Hope someone finds this useful! I just thought of it while also trying to pick on learning scripting again watching these awesome tutorials!
@wimpyoul4623
2 жыл бұрын
Thanks a lot! 😀
@elomelosky
2 жыл бұрын
TY
@seeroktic
2 жыл бұрын
Yes, it's simpler, but he most likely didn't do this as he hasn't touched on variables in this series yet.
@shikiraunderworld6762
2 жыл бұрын
Thanks, when i did alvins way it didnt work.........
@sahedulhasan8453
2 жыл бұрын
@Varil Celan Worked for me though, you should probably check thoroughly for any mistakes. Something like this happened to me once, I overlooked the mistake and then finally after 10 minutes I noticed it.
Thanks a million! Could never wrap my head around functions.
@AlvinBlox
Жыл бұрын
You're very welcome! All the best to you my friend. Alvin
I love your vids. so helpful
Look tbh you teach very well ty I now understand more thing about functions
2 year ago i tried learning script but i lost motivation when vids reach 20 to 40+ minutes now i figure that i have passions in building and to build good i must learn scripting so i spent my time rewatching videos and watching all your tutorial and you know you helped me a lot with everything thank you. edit: i have a question I wanted to see if i can make a part repeatedly change do I have to do something that includes *repeat* ?
i watched this yesterday and learned so much i also took good notes but imma listen to it while reading comments.