Itisthedevkinghere I knowmynameiskindofcheesy, but I hopeyouguysenjoythenameactuallyButanywaysisthedevkinghereand I'm goingtobestartingmyscriptingorbeginnerscriptingtutorialSothisisitguysBasicallyinthistutorialseries.
このチュートリアル・シリーズでは基本的に、スクリプティングのチュートリアルを始めることにしている。
I'm goingtobeshowingyouguyseverythingthereisaboutscriptingfromPrintingtofunctionstoloopstoeventstoremotefunctionseverythingOkay, like I wanttoteachyouguyseverythingsoyoucanmakeawesomegameslikegamesinthefrontpageSoit's a jailbreakandyouknowmeepcityandallthatstuff I'm gonnabeteachingguyseverythingaboutscriptingandhowtodoitallSoifyouwanttolearncompletelyhowtoscriptthenthisishowyoudoitguysAllright.
印刷から関数、ループ、イベント、リモート関数まで、スクリプティングのすべてをお見せするよ。
Anywaysbeforewegetintothevideo.
とにかく、ビデオに入る前に。
I justwanttoannounceonething I justwanttoshoutoutpeacepodOkayLikehe I learned a lotfromhimlike a fewmonthsagoandit's hardtolearnsometimeswhenyou'redoingscriptingtutorialsbecauseSometimestheyjuststoportheyleave a gapinthevideoandlikeyou'd liketokindofgetconfusedBut I'm gonnabereplyingtoalmosteverycommentoreverycommentas I canItalsohavesomeothermyscriptingfriendscomereplytoyourcommentsaswellSotheycanhelpyououtandifyou'reinthecommentsectionbelowandyouseesomeone's commentandyouthinkyouknowtheanswerjustgivethemtheAnswer I meanlikeifyouthinkyoucanhelpthem, youknow, atleastattempttoallrightanyways, that's all I wantedtosayandFirstthingsfirst, you'regonnaneedtodownloadrobloxstudio.
Sowe'renotgonnauseanyoftheseYeah, that's basicallywhatitisanywaysalltemplatesandthenhitbaseplateandNowit'lljuststartuptheserverforyoushouldgivethat a second.
だから、これらのテンプレートは一切使わないよ。
Sonowit's openandyouhaveeverythingyouneedSo I'm notgonnabelikeWhere I amgonnabeactuallyexplaininglikealmosteverythingthereistoknowaboutthisSoifyoualreadyhad a bitofexperiencewith a studioMightwanttogotoyoumightwanttogotothenexttutorialbecausethisoneit's gonnabelikefromthegroundUp, butifyouwanttoreviewthat's fine, toosoanywaysWorkspace.
Okay, soeverything I canseerightnowistheworkspaceAllright, soif I had a partinhere, it's intheworkspaceNowif I putittoserverstorage, youcan't seeitanymorebecauseit's inserverstoragenow I'llexplainallthisotherstuffinthisandlikeallthisstuffin a latervideobecauseit's a bitmoreadvancedButallyouknowfornowisthisnowanyways, weleavethatpartBut I'm sorryifyouguysdon't haveliketheExplorerorpropertiesoroutputshowingupYou'regonnawanttogoaheadandgototheviewtabatthetopofyourscreenAllrightAndthenyou'regonnawanttogohitexploreandpropertiesandoutputmakesurethey'reallgrayedoutandyoucanmovethemaroundToobyjustdoingthissoit's prettykindofit's actuallykindofcoolbecause I usuallyhaveminelikethislikeExploreronhereandpropertiesonhere, butForbeginnerssakeandforhowlikeitlooksbydefault.
Soanywaysnow I'm gonnaexplaintoyou a fewbasicfeaturesof a partbecauseyou'regonnaneedtoknowthatforscriptingandOpenand I'llshowyouhowtomakeyourfirstscriptandthenthenextvideowillactuallystartscriptingSoyeah, anyways, um, solet's goaheadandinsert a partSotoinsert a partyoudon't wanttogotothehometaborthemodeltabandthenyouwanttoclickthepartButokay, prettysimplenotthathardNowifyougotopartandyouclickonitintheworkspace, right?
ThiswillgiveyouallthepropertiesforthatpartnowSoyou'llbedoingthiseverysingledayandhandthathandswhatyoudoandthereare a bunchofcoollikefeaturesorvariableswhatyoucallthemandyoucanchangeallthesevaluesandvariableswithPropertiesoryoucandoinscript.
YoucanmovelikethislikethislikethisSoyeah, it's prettyobviousbutandthenyouhave a rotatetoolwhichisjustlikeyoucanturnitlikeonthe y-axisoronthisaxisorThisaxistomakeitlookreallycoolButifyou'rewonderinghow I'm likeundoingallthisstufforlikelikeyeah I'm doingitifyoupressctrl Z It'llactuallyundowhatyoudidandyoupressctrl Y it'llredowhatyoudid.
回転ツールもあって、Y軸やこの軸、この軸で回転させることができる。
That's veryusefulYou'llbeusingthatallthetime.
これはとても便利だ。
Italsoworksthatwhenyou'reusingscriptssoanywaysNowthat I'veshownyouthat I'llshowyou a fewmorefeaturesofthissoobviouslyyouhavethenamewhichis I'm gonnanameitmypartandyouhavetheclassnamestheclassnameisbasicallywhatitisokay, solikeif I have a Trytogiveanexampleif I have a Look a differentthing.
Don't worryaboutthateitherYoumightnotbeusingthatfor a littlewhileSothisisjust I'llshowyourealquickSo I canpress 90 ortypein 90 andit'llturnitallthewayaroundononesideSothat's a littlebitmoreadvanced, butdon't worryaboutit.
Okay, that's prettysimpleSoyoucanjumponitandmakeobvious, youknow, whateveryouwanttodoAndnowyouhavethecan't collidepart I wanttomoveitdownjust a littlebitbecause I wanttobeabletolikewalk.
Okay, soif I touchit, itwillcollidewithmeIt'llbounceoffmeor I canjumponit.
もし僕がそれに触れたら、それは僕にぶつかるだろう。
Nowif I turnitoffand I hitplayWhathappensisit'llactually?
電源を切って再生ボタンを押すとどうなる?
You'llgothroughit.
それを経験するんだ。
Solikeasyoucanseehere, I'm walkingthroughthebrick I can't jumponoranythingbecause I can't collidewithitSolet's sayyoucanmakelikewallsyoucanwalkthroughandstuff, whichisprettycoolYoucanchangeandthebestpartisyoucanchangeallthisstuffwithscriptsOkay, so I canchangeeverysingleoneofthesevalueslikeallofthesewith a scriptSowhenyou'reinthegameandyouneedtodoitinthegameLikehowyoumakedoorsandstuffyouwouldjustdothatnowalso I forgottomentiontransparencyreflectance.
Butyeah, anywaysguys I hopethisvideowasn't toolongand I hopeyousubscribeandLikethevideoifyoulikedthevideothatmakesmelet's meknowthat I likeoryoulikeitand I canmakemoreofthemsomakesurelikethevideoandsubscribeifyouenjoyeditandalsoguysifyouwanttojustwatch a playlistofallthesebecauseyoumaybewatchingitlikemonthsafter I'veposteditwhichwouldbesorelevant, butYoumaybewatchinglikemonthsas I posteditThere's probablygonnabe a playlistinthedescriptionbelowSowecanjustlikelookthroughallofthatonceinsteadofhavingtoyouknow, gofinditandstuffSo I recommendusingthatplaylistanddownbelowandjustsavingitorsomething.