Can you put the code in the description? I'm absurdly confused because it keeps spawning the Part then despawning it.
@somyot657 ай бұрын
My brain : 🕊️🕊️⚰️⚰️ Me : What?
@ayyitsacarson3657 ай бұрын
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?
@rodose3456 ай бұрын
I think that you can name it anything because they are variables
@baconph25786 ай бұрын
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
@haarislalantacon5 ай бұрын
It's just a variable
@reecetilley5854 ай бұрын
"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.
@cema95433 ай бұрын
but u delaeated th eparent thingy and changed some stuff of camera why? how should i know what to do now?
@Royal_Noob4 ай бұрын
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
@cema95433 ай бұрын
no he is the error he changed that thing of camera
@Royal_Noob3 ай бұрын
@@cema9543 the normal code still works he just moved some things around in his code off camera
@aliz4playz5 ай бұрын
I watched this and although it took time I finally got it! (great tutorial)
@BackstabDW5 ай бұрын
You made this so easy to understand! I love the way that you break it down.
@cryoz_z6 ай бұрын
hey, the line 36 or 37(aka the if statement) is broken, the error is “unknown global ‘deb’” and “unknown global ‘active’” or ‘partactive’”
@haarislalantacon5 ай бұрын
U prob made wrong variables
@reecetilley5854 ай бұрын
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.
@pakcountryz6 ай бұрын
i understand nothing except leaderstats in this video too complex😭😭😭
@reecetilley5854 ай бұрын
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
@bowsercatloading91936 ай бұрын
Thank you a lot for everything sad that u didnt get much success :(
@Black_Toast4 ай бұрын
Any way for the parts to spread
@reecetilley5854 ай бұрын
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_Toast4 ай бұрын
@@reecetilley585 oh okthz
@Torpedoarras3 ай бұрын
I RAAAAAAAAAAAAAAAAAAAH
@Riot7806 ай бұрын
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
@DistinctXX5 ай бұрын
you did something wrong because it is perfect on mine
@dwookk4 ай бұрын
@@DistinctXX yeah same
@dwookk4 ай бұрын
if u where gonna quit off of something like that u shouldn't script cos trust me it happens alot
@reecetilley5854 ай бұрын
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.