Goal Scoring Machine - Learn to Script #4

In this episode we apply some of the techniques we've already covered, and take them onto the pitch! Involves magic balls, teleporting walls, and some incredible tekkers!
FILES ►gnome.codes/LearnToScript/
DISCORD ► / discord
TWITTER ►@gnomecodeRBLX
MUSIC
Aerosol Of My Love by Kevin MacLeod
Link: filmmusic.io/song/7013-aeroso...
License: filmmusic.io/standard-license

Пікірлер: 126

  • @smoll.p5364
    @smoll.p53643 жыл бұрын

    The daily uploads are back and we are all glad, thank you gnomecode

  • @stefotheguy2766
    @stefotheguy27663 жыл бұрын

    Gnome code Deserves more views on these videos

  • @brightenlahaie533
    @brightenlahaie5333 жыл бұрын

    Your tutorials always just make me wanting to make a game, and I currently am I am using one of your things called the cutscenes gui from a teddy tutorial (rip teddy tutorials) and even though I don't really make these tutorials I really like them because it will teach me something, thank you gnomecode for all your hard work and tutorials, keep up and always teach us something new! (I'm gonna add a little easter egg for my boi gnome code because he's the man, man)

  • @GnomeCode

    @GnomeCode

    3 жыл бұрын

    Thanks for the good vibes, best of luck with your developing!

  • @brightenlahaie533

    @brightenlahaie533

    3 жыл бұрын

    You too!

  • @emperorcillian8802

    @emperorcillian8802

    7 ай бұрын

    it's been 2 years, how far did you reach?

  • @extreezy6988

    @extreezy6988

    6 ай бұрын

    Yo hows the progress? @@brightenlahaie533

  • @flesxzy
    @flesxzy Жыл бұрын

    4:50 gnomecode: were not gonna worry about models yet gnomecode next second: NoW pReSs CtRl G

  • @stroyosh4670
    @stroyosh46703 жыл бұрын

    Always nice to learn new things once in a while!

  • @ry2predictor
    @ry2predictor10 ай бұрын

    I have watched multiple tutorials about how to code and gnomecodes are the only 1's that have been working tysm

  • @quinndoesthings5499
    @quinndoesthings5499 Жыл бұрын

    I've been bingeing these today, they're amazing tutorials

  • @musembifamily1318

    @musembifamily1318

    5 ай бұрын

    your not supposed to bing them

  • @jgames2831
    @jgames28318 ай бұрын

    I had a problem with the script but due to your amazing teaching, I figured out the bug quickly. Thank you for giving great lessons!

  • @flesxzy
    @flesxzy Жыл бұрын

    also its crazy how you are WAAAAAAYYYY better than alvinblox because when he was explaining to do variables he said it was a box where you hold things. and thats a lazy way of saying it because i understand when you said it now you said the same thing, BUT with WAAAAAAAYYY more detail! you deserve an award! Gnome = game.Workspace.Gnome (this can be any part or model)

  • @nurykwun7013
    @nurykwun70133 жыл бұрын

    Keep up the good work gnome!

  • @lordkoreth3656
    @lordkoreth36562 жыл бұрын

    i'm honestly shocked this only has 9.9k views by 2022. it's so useful

  • @DoYourFrench

    @DoYourFrench

    4 ай бұрын

    2024 and only 27 k

  • @Kit12107
    @Kit12107 Жыл бұрын

    I love these videos

  • @mushroomer56
    @mushroomer563 жыл бұрын

    i love your keyboard sounds

  • @eth4nw
    @eth4nw3 жыл бұрын

    Everything you do is good

  • @Squidy_2.0
    @Squidy_2.02 жыл бұрын

    This guy is like the mumbo jumbo of roblox

  • @PivotGatto
    @PivotGatto3 жыл бұрын

    Well that was quick

  • @jerardking3416
    @jerardking34162 жыл бұрын

    Hi @gnomecode - Thanks for this video. My wall moves as expected when I press the RUN button in roblox studio but not when I press PLAY or PLAY HERE. Any tips? I my wall move loop I put some console output to confirm it's executing and I can see the output, but no movement unless I press RUN instead of the other options.

  • @funnelweb357
    @funnelweb3572 жыл бұрын

    i have lot of work to do since there is so many episodes of these

  • @decklindracul
    @decklindracul2 жыл бұрын

    Look, I know this vid is a year old. But this video explains BETTER than the roblox forums do. And I just wanted to say thanks because I never really understood coding until I watched your vids.

  • @DoYourFrench

    @DoYourFrench

    4 ай бұрын

    Better than most of tutorials

  • @roninkwon2217
    @roninkwon22173 жыл бұрын

    Finally I’ve been waiting....so the series continues! :D

  • @elperrete69
    @elperrete69 Жыл бұрын

    you teach so good and make it kinda fun! keep the good work Gnome!

  • @sirmagnum
    @sirmagnum3 жыл бұрын

    GNOMECODE VIDEO DAILY?!

  • @XtraSpeedy
    @XtraSpeedy3 жыл бұрын

    YUS LES GO

  • @sweepty_
    @sweepty_3 жыл бұрын

    yay

  • @kokopellione
    @kokopellione Жыл бұрын

    7:07 In output it says they aren't part of the group, even though they are.

  • @onlinepredator8544
    @onlinepredator85442 жыл бұрын

    i used the same script but it keeps saying "position is not a valid member of Part "Workspace.goalie.wall". does anyone know what i could have done wrong?

  • @24kvibez45

    @24kvibez45

    2 жыл бұрын

    U may grouped the 3 wall and the wall u can see in the middel has to be named Wall in the Group i had the Same Problem hope i could Help you

  • @purpleplanet5416

    @purpleplanet5416

    Жыл бұрын

    That’s because the p in position needs to be capitalized

  • @onlinepredator8544

    @onlinepredator8544

    Жыл бұрын

    @@purpleplanet5416 thank you !!!

  • @purpleplanet5416

    @purpleplanet5416

    Жыл бұрын

    @@onlinepredator8544 no problem, I actually had the same exact problem you had but I looked it up and there are some things code functions need to be capitalized like Positon

  • @ChristopherThePiss
    @ChristopherThePiss3 жыл бұрын

    Epic

  • @ATdeVerdad1
    @ATdeVerdad13 жыл бұрын

    Finally

  • @Paptis
    @Paptis Жыл бұрын

    You are insane! Thanks! I can make a new game :D

  • @TommyTheGamer2080
    @TommyTheGamer20803 жыл бұрын

    My goalie isn’t working and it doesent show any errors, could you tell me what I did wrong in the reply’s?

  • @therooftom

    @therooftom

    3 ай бұрын

    Im having the same problem two years later. Did you fix it?

  • @frkrkr31
    @frkrkr31 Жыл бұрын

    4:22

  • @Your_Local_Animator.
    @Your_Local_Animator.3 жыл бұрын

    Can You Do How To Make A Escape Door For Your Game Or Like SOmething

  • @maninhu9837

    @maninhu9837

    3 жыл бұрын

    Depends on what you say by escape door

  • @mrpunch1208
    @mrpunch12083 жыл бұрын

    Meme of the day: Me: Yes GnomeCode uploads again! KZread: Sends me to ads Also me: WHY?!

  • @sournois90

    @sournois90

    3 жыл бұрын

    no

  • @etledgaming2321
    @etledgaming23212 жыл бұрын

    Thanks to this Tutorial,I made a soccer match agaisnt Obama. He even has a "stamina" system!

  • @supreme9852
    @supreme985210 ай бұрын

    for some reason the goalie script literally deletes the model from existence. When I run it to test out the script it disappears and when I check in workspace the model isn't even there anymore, my script is a 1:1 recreation of his and even if it wasn't nothing within the script is telling it to delete itself

  • @supreme9852

    @supreme9852

    10 ай бұрын

    Here is a copy and past of my script if anybody wanted to look at it wall = script.Parent.Wall left = script.Parent.Left right = script.Parent.Right centralPosition = wall.Position while true do wait(3) wall.Position = left.Position wait(3) wall.Position = centralPosition wait(3) wall.Position = right.Position wait(3) wall.Position = centralPosition end

  • @supreme9852

    @supreme9852

    10 ай бұрын

    ok nvm I literally just anchored it and the problem was solved, although I still would like an explanation as to why the model was destroying itself

  • @rageguy5529
    @rageguy552911 ай бұрын

    Bread

  • @TRQDakwah
    @TRQDakwah Жыл бұрын

    i have a probelm why one of your episodes (Episodes 7) all of it work except for the goal 1 and 2

  • @Mr.Roe_Deer
    @Mr.Roe_Deer3 жыл бұрын

    Can you play cowy rebooted?

  • @twoleftearths7298
    @twoleftearths7298 Жыл бұрын

    Great tutorial, but why is it when I do this script: ball = workspace.SoccerBall originalPosition = ball.Position while true do wait(1) ball.Position = originalPosition end It says: Position is not a valid member of Model "Workspace.SoccerBall"

  • @HealthyWC-2

    @HealthyWC-2

    Жыл бұрын

    You must not have a part named SoccerBall, I would check the spelling on it or give it an easier name

  • @flesxzy

    @flesxzy

    Жыл бұрын

    its the wrong way around! its originalPosition = ball.Position i think thats it

  • @timduskOFFICAL

    @timduskOFFICAL

    10 ай бұрын

    @@flesxzy No not the case @twoleftearths7298 heres the new script your ball = thing is depricated which means sometimes or all the time i could break since it a old way of using variables here new script if u still learning local ball = workspace.Soccer_Ball local originalPosition = ball.Position while true do wait(1) ball.Position = originalPosition end ALSO, Use local everytime u write a variable like local ball = workspace.Ball

  • @niki16bit85
    @niki16bit852 жыл бұрын

    all the video tutorial did go well until this one. when i writed the script for the "goalkeeper" to move it give an error "position is not a valid member of part "workspase.model.wall" same thing for the ball

  • @onlinepredator8544

    @onlinepredator8544

    2 жыл бұрын

    i got the same exact thing

  • @purpleplanet5416

    @purpleplanet5416

    Жыл бұрын

    It’s because you need to capitalize the p in position

  • @kokopellione

    @kokopellione

    Жыл бұрын

    @@purpleplanet5416 That does nothing

  • @purpleplanet5416

    @purpleplanet5416

    Жыл бұрын

    @@kokopellione wdym, it makes all the difference in the world

  • @purpleplanet5416

    @purpleplanet5416

    Жыл бұрын

    @@kokopellione if you don’t capitalize the p, then it won’t work

  • @rancer4940
    @rancer49403 жыл бұрын

    Early! :D

  • @roblox_plays0rigin
    @roblox_plays0rigin2 жыл бұрын

    the ending got me that bad that i even put free models on my game for no reason XDDDDDDDDDDDDDD

  • @piper000
    @piper0009 ай бұрын

    when he said to use a while loop, I was worried that my roblox studio would crash because in #3 I accidentally prrinted something 100k times using a while loop

  • @CFL_TV_123

    @CFL_TV_123

    8 ай бұрын

    can yo8u show me your code cause mine isnt working

  • @that1gamerlad98
    @that1gamerlad983 жыл бұрын

    #earlygang

  • @sharkcat1313
    @sharkcat1313 Жыл бұрын

    can someone tell me whats wrong with this code it says " Wall is not a valid member of Part "Workspace.goalie.wall"" Wall = script.Parent.Wall left = script.Parent.left right = script.Parent.right centralPosition = Wall.Position while true do wait(3) Wall.Position = left.Position wait(3) Wall.Position = centralPosition wait(3) Wall.Position = right.Position wait(3) Wall.Position = centralPosition end

  • @GnomeCode

    @GnomeCode

    Жыл бұрын

    When you're scripting, you need to be really precise with what you write. I can see two things wrong here. First off, pay attention to capitalization as it looks like you've referred to "Wall" but you have an object named "wall". Secondly, if you've placed your script directly inside of the wall part, you can just say " script.Parent" as the parent of the script will be the wall.

  • @sharkcat1313

    @sharkcat1313

    Жыл бұрын

    @@GnomeCode i fixed it but now there no errors and its still not working wall = script.Parent left = script.Parent right = script.Parent centralPosition = wall.Position while true do wait(3) wall.Position = left.Position wait(3) wall.Position = centralPosition wait(3) wall.Position = right.Position wait(3) wall.Position = centralPosition end

  • @sharkcat1313

    @sharkcat1313

    Жыл бұрын

    @@GnomeCode i fixed the problem thank you

  • @CFL_TV_123

    @CFL_TV_123

    8 ай бұрын

    How did you fix it?@@sharkcat1313

  • @lenthix9662
    @lenthix96623 жыл бұрын

    33rd

  • @kiyan.videos
    @kiyan.videos3 жыл бұрын

    Please bring back teddy TUTORIALS

  • @clocky1
    @clocky12 жыл бұрын

    Lol WHILE i was watching this video i saw that he turned from 49k subscribers to 49.1k subscribers XD

  • @OcnarfPro
    @OcnarfPro3 жыл бұрын

    IM FIRST NOW AHHAHAHAHA. I'm actually first that other person is not first

  • @agamingchannel2

    @agamingchannel2

    3 жыл бұрын

    ur not first

  • @Pablo-gl7ms
    @Pablo-gl7ms3 жыл бұрын

    am early

  • @pooking7i631
    @pooking7i6313 жыл бұрын

    5th view... lets go!

  • @joshuamuchnik3676
    @joshuamuchnik36763 жыл бұрын

    8TH

  • @Speky.
    @Speky.3 жыл бұрын

    😏

  • @KingsofRyanAirOfficial
    @KingsofRyanAirOfficial10 ай бұрын

    why did my goalkeeper gone

  • @WarningDrills
    @WarningDrillsАй бұрын

    Goal scoring Machine script expired

  • @agamingchannel2
    @agamingchannel23 жыл бұрын

    ok

  • @biggerbetterburger6570
    @biggerbetterburger65703 жыл бұрын

    15th

  • @hoodratthizzkid4316
    @hoodratthizzkid4316 Жыл бұрын

    wall = script.Parent.Wall left = script.Parent.Left right = script.Parent.Right centralPosition = wallPosition while true do wait(3) wall.Position = left.Position wait(3) wall.Position = centralPosition wait(3) wall.Position = right.Position wait(3) wall.Position = centralPosition end My script isn't working can someone please help me thx

  • @Springs622

    @Springs622

    Жыл бұрын

    CentralPositon says wallPosition not wall.Position

  • @timduskOFFICAL

    @timduskOFFICAL

    10 ай бұрын

    also use local Everytime u write a variable like local wall = script.parent.Wall

  • @hoodratthizzkid4316

    @hoodratthizzkid4316

    10 ай бұрын

    @@timduskOFFICAL I already finished the series but thank u

  • @David_-dd5zs
    @David_-dd5zs3 жыл бұрын

    Hiii

  • @League91
    @League912 жыл бұрын

    i do not know anything bc i havent watched 4 episode in 2 3 mounths

  • @League91

    @League91

    2 жыл бұрын

    same

  • @League91

    @League91

    2 жыл бұрын

    same

  • @League91

    @League91

    2 жыл бұрын

    same

  • @PixlatedGalaxy

    @PixlatedGalaxy

    2 жыл бұрын

    @@League91 why are you replying same to your own comment

  • @SillySenderr
    @SillySenderr Жыл бұрын

    What the fuck this doesn’t work?!

  • @ctcuthbert
    @ctcuthbert9 ай бұрын

    Booo! GnomeCode bad come on you nerd (laughs to cover up failure) u seriously this bad? Sixth time lucky?

  • @colinoldchannel2074
    @colinoldchannel20742 жыл бұрын

    I HATE ROBLOX STUDIO IT’S NOT LETTING ME DO ORIGINAL POSTION I WILL NEVER BE A BIG DEVELOPER! SCREW THIS!

  • @purpleplanet5416
    @purpleplanet5416 Жыл бұрын

    I don’t understand the difference because script.parent and workspace.

  • @verywaterso

    @verywaterso

    Жыл бұрын

    They are same.

  • @jakesapple2243
    @jakesapple2243 Жыл бұрын

    "Wall is not a valid member of Part "Workspace.Goalie.Wall" " ??

  • @Crumble782

    @Crumble782

    Жыл бұрын

    Same

  • @SamiEz

    @SamiEz

    Жыл бұрын

    same