Transcript for:
Roblox Scripting for Beginners Overview

all right yo what's going on guys so this is my first video it is the Deaf King year I know my name is kind of cheesy but I hope you guys enjoy the name actually but anyway this is the Deaf King here and I'm going to be starting my scripting or beginner scripting tutorial so this is it guys basically in this tutorial series I'm going to be showing you guys everything there's about scripting from printing to functions to loops to events to motor functions everything okay like I want to teach you guys everything so you can make awesome games like games in the front page so it's as jailbreak and you know meep City you know that stuff I'm gonna be teaching you guys everything about scripting and how to do it all so if you want to learn completely how to script then this is how you do it guys alright anyways before we get in the video I just want to announce one thing I just want to shout out peace pod okay like he I learned a lot from him like a few months ago and it's hard to learn sometimes when you're doing scripting tutorials because sometimes they just stop or they leave a gap in the video and like kind of get confused but I'm gonna be applying to almost every comment or every comment as I can and also have some other scripting friends come reply to your comments as well so it can help you out and if you're in the comments section below and you see someone's comment and you think you know the answer just give them the answer I mean like if you think you can help them you know at least attempt to alright anyways that's all I wanted to say and I'll scan to your first video or in first tutorial so first things first you're gonna need to download roblox to do so the link to it is going to be in the description below it's just roblox comm slash create but links in description below if you don't want to type in anyways after you have it open and installed you're just gonna want to go ahead and go to new and you're gonna want to hit all templates and now all templates means basically like roblox give you a few like beginner templates to start out building your game although we want to make our own game from scratch so we're not gonna use any of these so yeah that's basically what it is anyways all templates and then hit baseplate and now it'll just start up the server for you so give that a second so now it's open and you have everything you need so I'm not gonna be like where I am gonna be actually explaining like almost everything there is to know about this so if you already had a bit of experience with Studio my you may want to go to the next tutorial because this one is gonna be like from the ground up but if you want a review that's fine too so anyways workspace okay I'm waiting what the workspace is okay so the workspace is basically just everything you can see okay so everything I can see right now is the workspace alright so if I had a part in here it's in the workspace now if I put it to server storage you can't see any more because it's in server storage now I'll explain all this other stuff in this and like all this stuff in a later video because it's a bit more advanced but all you need to know for now is this now anyways leave that part but I'm sorry if you guys don't have like Explorer or properties or output showing up you're gonna want to go ahead and go to the View tab at the top of your screen alright and then you shouldn't want to go hit Explorer and properties and output make sure they're all grayed out and you can move them around to by just doing this so it's pretty kind it's actually kind of cool because I usually have mine like this like explore our near and properties on here but for a beginner sick and for how like it looks by default I'll keep it like this so anyways now I'm going to explain to you a few basic features of a part because you're gonna need to know that for scripting and open and I'll show you how to make your first script and then the next video will actually start scripting so yeah anyways um so let's go ahead and insert a part so to answer the part you want to go to the Home tab or the model tab and then you want to click the part button okay pretty simple not that hard now if you go to part and you click on it and then the workspace right this will give you all the properties for that part now so you'll be doing this every single day in here that has what you do and there are a bunch of cool like features or variables is what you call them and you can change all these values and variables with properties or you can do one script so if pensively you trying to do like while the game is running but if you want if you can like build something you don't have to really use a script for it which is kind of cool but anyways so let's go ahead and explain like a few basic properties in which one so need okay so you're gonna click on the part and use a brick color so I'll make it really blue so the brick color is called really blue and I can make it yellow is what's called new yellow it's yellow and yeah basically just color I'm gonna make like a little nation waits or that's actually a violet but anyways let's go ahead and chain him cereal so the material is just probably pretty simple in the material so that's foil that's brick that's concrete I'm sure you get the gist by now it's the material that's sand okay so I know be using this in your game depending on what you'd like to use my personal favorite material is smooth brick it just looked or smooth plastic it just looks really nice and you know there's no like material on it's just like kind of like clean nice walls and good for building in my opinion but anyways I'm gonna go ahead and move this up a little bit so we can click on it at the move tool and you can move it up and you also have a scale tool and stuff the scale tool basically scales it so you can move like this you can move like this like this like this so yeah it's pretty obvious but and then you have a rotate tool which is just like you can turn it like on the y-axis or on this axis on this axis so make it look really cool but if you're wondering how I'm like I'm doing all this stuff for like like yeah I'm doing it if you press ctrl-z it'll actually undo what you did and you press control Y it'll read it what you did that's very useful you'll be using that all the time it also works that when you're using scripts so anyways now that I've shown you that a few more features of this so obviously you have the name which is I'm gonna name it my part and leave the class names the class name is basically what it is okay so like if I have a trying to give an example if I have a I'm looking a different thing it'll be called a different class name so this is terrain this is the camera so that by default like a name or what you'd actually call it but anyways know more about that right now so orientation is just the rotation don't worry about that either you might not be using that for a little while so this is just I'll show you real quick so the first 90 or type in 90 it'll turn it all the way around on one side so that's a little bit more advanced but don't worry about it so anyways I'm going to the part so position is the same thing you can move it around with the coordinates you can get exact values so boom I just moved it back to the zero on the Z and I'll move it to the X so moving out in the exact center so that's kind of cool anyways um anchored archivable and can collide are that all these kind of features okay and locked now you're going to be using the anchored and can collide the most are probable just leave that check don't even worry about that this would be the most important I can't Collider in Anchorage alright yeah so anyways I'm gonna go ahead and show you what anchored in can collide does so if you're play we press play sorry the block is in the air right but it's gonna fall down now you may be wondering like why I fell down because it's in the air right like it's in the air so you think you'd stay in the air but currently roblox applies like basic like physics so like gravity if that students know about that gravity is basically just like stuff that push their stuff down but don't know about that so first anchored basically none of these stuff will affect it okay so your first anchor and it will just stay exactly where it was when the game started so anchor just makes it stay where it is okay that's pretty simple so you can jump on it and make obvious you know whatever you want to do and now you have the can collide part I want to move it down just a little bit because I want to be like walk alright okay I'll show you but so can collide by default can collide is checked okay now can't glad pretty obvious in the name it means you can collide with it okay so if I touch it it will collide with me and it'll bounce off me or I can jump on it now if I turn it off and I hit play what happens is it'll actually you'll go through it so like as you can see here I'm walking through the brick I can't jump on or anything because I can't collide with it so let's take you make like walls you can walk through and stuff which is pretty cool you can change and the best part is you can change all this stuff with scripts okay so I can change every single one of these values like all of these with a script so when you're in the game and you need to do it in the game I can't you make doors and stuff you would just do that now also I forgot to mention transparency reflectance so uh transparency is just like obviously transparent if you put a point five it'll be halfway see-through you know you can't really see all the way through it and if you put it at one it will be all the way see-through so you can see all the way through well I'm gonna keep mine zero and reflectance also pretty simple how much it reflects so as you can see while I move it you can see that's reflecting the sky in those clouds and the Sun so yeah that's kind of cool too anyways that is your first tutorial so that's pretty simple guys this is how you make your first little block in basic intro studio but I'm gonna show you guys how to insert a script real quick so you're gonna click on workspace you hit the plus button and you've been script alright now you have a script alright so the script were one in workspace or server script service it was anywhere else the script will not run so make sure it's either in here or in here now also one basic thing I want to tell you is printing okay so printing is basically just like you can print stuff to the output ok I'm not actually printing cook like with like a paper or anything but printing you see as if by default that script had print hello world in it now it printed hello world into the output so yeah that's the first tutorial and yeah and the next video will be scripting probably using variables or showing you some more printing or maybe both but yeah anyways guys hope this video wasn't too long and I hope you subscribe and like the video if you liked the video it makes me lets me know that I like or you liked it and I can make more of them so make sure like the video and subscribe if you enjoyed it and also guys if you want to just watch a playlist of all these because you may be watching it like months after I've posted it what should it be so relevant but you'd be watching like once that are posted it there's probably gonna be a playlist in the description below so we can just like look through all of that once instead of having to you know go find it and stuff so I recommend you to not playlist and down below and just saving it or something alright anyways guys I hope you enjoyed the video I'll see you in the next one peace