How to script in Roblox Studio in 2024: Episode 11 - Game #2

  Рет қаралды 3,293

Avercile

Avercile

Күн бұрын

Пікірлер: 31
@zufusumungus
@zufusumungus 3 ай бұрын
I'm so excited about the intermediate tutorial!!
@slotterman0608
@slotterman0608 6 ай бұрын
Can you put the code in the description? I'm absurdly confused because it keeps spawning the Part then despawning it.
@somyot65
@somyot65 7 ай бұрын
My brain : 🕊️🕊️⚰️⚰️ Me : What?
@ayyitsacarson365
@ayyitsacarson365 7 ай бұрын
If you don't mind me asking, what does "debounce" and "partactive" mean? Meaning, what is the purpose behind it and why do we need it?
@rodose345
@rodose345 6 ай бұрын
I think that you can name it anything because they are variables
@baconph2578
@baconph2578 6 ай бұрын
we need to debounce to prevent from getting hit in multiple times. or etc and partactive for partactive is to get if there are part inside of a game or not
@haarislalantacon
@haarislalantacon 5 ай бұрын
It's just a variable
@reecetilley585
@reecetilley585 4 ай бұрын
"debounce" and "partactive" are just variable names. You could have named them "x" and "y" instead, it would still work the exact same. What matters is the value you assign the variable, the name can be whatever the heck you want it to be, though I would recommend naming it something that will be easily recognizable.
@cema9543
@cema9543 3 ай бұрын
but u delaeated th eparent thingy and changed some stuff of camera why? how should i know what to do now?
@Royal_Noob
@Royal_Noob 4 ай бұрын
i keep retrying the code but it still spawns more parts after 2 seconds even if i dont touch the first one nevermind the error was that i typed local partactive = true instead of just partactive = true
@cema9543
@cema9543 3 ай бұрын
no he is the error he changed that thing of camera
@Royal_Noob
@Royal_Noob 3 ай бұрын
@@cema9543 the normal code still works he just moved some things around in his code off camera
@aliz4playz
@aliz4playz 5 ай бұрын
I watched this and although it took time I finally got it! (great tutorial)
@BackstabDW
@BackstabDW 5 ай бұрын
You made this so easy to understand! I love the way that you break it down.
@cryoz_z
@cryoz_z 6 ай бұрын
hey, the line 36 or 37(aka the if statement) is broken, the error is “unknown global ‘deb’” and “unknown global ‘active’” or ‘partactive’”
@haarislalantacon
@haarislalantacon 5 ай бұрын
U prob made wrong variables
@reecetilley585
@reecetilley585 4 ай бұрын
Did you make sure to declare the variable before you tried using it in the function? The layout of your code matters, declare all those variables first. If your variables are declared before they get used in the function, youll probably just have to declare your variables elsewhere. I am still learning myself and idk what your code looks like, but declaring your variables somewhere like in the while loop mightt work, though that might be bad because then you are declaring them over and over again for no reason and if you ever wanted to change the value of that variable while the while loop is running, that value aint changing since its being reset over and over.
@pakcountryz
@pakcountryz 6 ай бұрын
i understand nothing except leaderstats in this video too complex😭😭😭
@reecetilley585
@reecetilley585 4 ай бұрын
go back and rewatch previous episodes. I recommend you practice the concepts he introduces own your own extensively, and try your best to make analogies for how things work and really try to work through every step of your program in you head and explain to yourself what it does. Do all that and you'll be able to understand all this stuff no problem
@bowsercatloading9193
@bowsercatloading9193 6 ай бұрын
Thank you a lot for everything sad that u didnt get much success :(
@Black_Toast
@Black_Toast 4 ай бұрын
Any way for the parts to spread
@reecetilley585
@reecetilley585 4 ай бұрын
yeah, at the beginning of the cashPart() function after you have declared the part, do part.Position = Vector3.new(math.random(input value ranges here), math.random(input value ranges here), math.random(input value ranges here)) replace (input value ranges here) with any range of numbers. Example: math.random(-5, 5) or math.random(-10, 10) for even larger spread. also, if you don't want the parts to be spawning at random heights too, just remove the random value for the Y value of the vector3.
@Black_Toast
@Black_Toast 4 ай бұрын
@@reecetilley585 oh okthz
@Torpedoarras
@Torpedoarras 3 ай бұрын
I RAAAAAAAAAAAAAAAAAAAH
@Riot780
@Riot780 6 ай бұрын
The script is not even working like Parts do spawn but you can't grab them and it gives you 1000 errors In One minute, like I almost gave up on scripting cuz of that
@DistinctXX
@DistinctXX 5 ай бұрын
you did something wrong because it is perfect on mine
@dwookk
@dwookk 4 ай бұрын
@@DistinctXX yeah same
@dwookk
@dwookk 4 ай бұрын
if u where gonna quit off of something like that u shouldn't script cos trust me it happens alot
@reecetilley585
@reecetilley585 4 ай бұрын
Read the errors and click them, they will tell you what's wrong and show you at what line. After you have done that, look at the line of code it has shown you and try to look for what the issue could be. If the issue isn't syntax, then you are probably gonna have a bit of trouble, but just try your best to read and interpret what the error message is saying and then fix it accordingly.
@Riot780
@Riot780 4 ай бұрын
@@reecetilley585 thanks for the tip
How to script in Roblox Studio in 2024: Full Series
4:27:01
Avercile
Рет қаралды 9 М.
How to script in Roblox Studio in 2024: Episode 8 - Instances
15:16
啊?就这么水灵灵的穿上了?
00:18
一航1
Рет қаралды 54 МЛН
Smart Sigma Kid #funny #sigma
00:14
CRAZY GREAPA
Рет қаралды 8 МЛН
Un coup venu de l’espace 😂😂😂
00:19
Nicocapone
Рет қаралды 11 МЛН
Making a ROBLOX game with its new AI
6:28
DeHapy
Рет қаралды 798 М.
How To Make An ENTIRE Roblox Game With AI
3:21
Cencu
Рет қаралды 114 М.
I'm Making a Game as a Solo Dev in UE5
7:11
Mao Mao GameDev
Рет қаралды 1,7 М.
How to script in Roblox Studio in 2024: Episode 9 - Events
12:46
Dear Game Developers, Stop Messing This Up!
22:19
Jonas Tyroller
Рет қаралды 719 М.
How to script in Roblox Studio in 2024: Episode 7 - Loops
28:57
Making a Roblox game Using ONLY AI!!!
7:39
BlueBoi
Рет қаралды 872 М.
How to script in Roblox Studio in 2024: Episode 4 - Functions
42:12
When you Accidentally Compromise every CPU on Earth
15:59
Daniel Boctor
Рет қаралды 859 М.