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
The daily uploads are back and we are all glad, thank you gnomecode
Gnome code Deserves more views on these videos
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
3 жыл бұрын
Thanks for the good vibes, best of luck with your developing!
@brightenlahaie533
3 жыл бұрын
You too!
@emperorcillian8802
7 ай бұрын
it's been 2 years, how far did you reach?
@extreezy6988
6 ай бұрын
Yo hows the progress? @@brightenlahaie533
4:50 gnomecode: were not gonna worry about models yet gnomecode next second: NoW pReSs CtRl G
Always nice to learn new things once in a while!
I have watched multiple tutorials about how to code and gnomecodes are the only 1's that have been working tysm
I've been bingeing these today, they're amazing tutorials
@musembifamily1318
5 ай бұрын
your not supposed to bing them
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!
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)
Keep up the good work gnome!
i'm honestly shocked this only has 9.9k views by 2022. it's so useful
@DoYourFrench
4 ай бұрын
2024 and only 27 k
I love these videos
i love your keyboard sounds
Everything you do is good
This guy is like the mumbo jumbo of roblox
Well that was quick
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.
i have lot of work to do since there is so many episodes of these
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
4 ай бұрын
Better than most of tutorials
Finally I’ve been waiting....so the series continues! :D
you teach so good and make it kinda fun! keep the good work Gnome!
GNOMECODE VIDEO DAILY?!
YUS LES GO
yay
7:07 In output it says they aren't part of the group, even though they are.
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
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
Жыл бұрын
That’s because the p in position needs to be capitalized
@onlinepredator8544
Жыл бұрын
@@purpleplanet5416 thank you !!!
@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
Epic
Finally
You are insane! Thanks! I can make a new game :D
My goalie isn’t working and it doesent show any errors, could you tell me what I did wrong in the reply’s?
@therooftom
3 ай бұрын
Im having the same problem two years later. Did you fix it?
4:22
Can You Do How To Make A Escape Door For Your Game Or Like SOmething
@maninhu9837
3 жыл бұрын
Depends on what you say by escape door
Meme of the day: Me: Yes GnomeCode uploads again! KZread: Sends me to ads Also me: WHY?!
@sournois90
3 жыл бұрын
no
Thanks to this Tutorial,I made a soccer match agaisnt Obama. He even has a "stamina" system!
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
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
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
Bread
i have a probelm why one of your episodes (Episodes 7) all of it work except for the goal 1 and 2
Can you play cowy rebooted?
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
Жыл бұрын
You must not have a part named SoccerBall, I would check the spelling on it or give it an easier name
@flesxzy
Жыл бұрын
its the wrong way around! its originalPosition = ball.Position i think thats it
@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
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
2 жыл бұрын
i got the same exact thing
@purpleplanet5416
Жыл бұрын
It’s because you need to capitalize the p in position
@kokopellione
Жыл бұрын
@@purpleplanet5416 That does nothing
@purpleplanet5416
Жыл бұрын
@@kokopellione wdym, it makes all the difference in the world
@purpleplanet5416
Жыл бұрын
@@kokopellione if you don’t capitalize the p, then it won’t work
Early! :D
the ending got me that bad that i even put free models on my game for no reason XDDDDDDDDDDDDDD
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
8 ай бұрын
can yo8u show me your code cause mine isnt working
#earlygang
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
Жыл бұрын
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
Жыл бұрын
@@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
Жыл бұрын
@@GnomeCode i fixed the problem thank you
@CFL_TV_123
8 ай бұрын
How did you fix it?@@sharkcat1313
33rd
Please bring back teddy TUTORIALS
Lol WHILE i was watching this video i saw that he turned from 49k subscribers to 49.1k subscribers XD
IM FIRST NOW AHHAHAHAHA. I'm actually first that other person is not first
@agamingchannel2
3 жыл бұрын
ur not first
am early
5th view... lets go!
8TH
😏
why did my goalkeeper gone
Goal scoring Machine script expired
ok
15th
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
Жыл бұрын
CentralPositon says wallPosition not wall.Position
@timduskOFFICAL
10 ай бұрын
also use local Everytime u write a variable like local wall = script.parent.Wall
@hoodratthizzkid4316
10 ай бұрын
@@timduskOFFICAL I already finished the series but thank u
Hiii
i do not know anything bc i havent watched 4 episode in 2 3 mounths
@League91
2 жыл бұрын
same
@League91
2 жыл бұрын
same
@League91
2 жыл бұрын
same
@PixlatedGalaxy
2 жыл бұрын
@@League91 why are you replying same to your own comment
What the fuck this doesn’t work?!
Booo! GnomeCode bad come on you nerd (laughs to cover up failure) u seriously this bad? Sixth time lucky?
I HATE ROBLOX STUDIO IT’S NOT LETTING ME DO ORIGINAL POSTION I WILL NEVER BE A BIG DEVELOPER! SCREW THIS!
I don’t understand the difference because script.parent and workspace.
@verywaterso
Жыл бұрын
They are same.
"Wall is not a valid member of Part "Workspace.Goalie.Wall" " ??
@Crumble782
Жыл бұрын
Same
@SamiEz
Жыл бұрын
same