#hitbox only looping once
1 messages · Page 1 of 1 (latest)
the print only goes once
so im assuming that it does the for loop only once for some reason
ok and
bro came to scripting help and expected us to magically know what's happening
no i just expect you not to not do troll messages 💔
its obvious that you are trolling instead of helping by saying "ok and"

so you came here to say nothing specific about your problem but you expected me not to shame you
hideous logic
i did say smthn specific though?
you really haven't
the for loop only goes once and thats the problem
and how does that help anyone
that's like saying that you smelled something distasteful in the air and you want someone to identify the smell third-hand
and how does you saying "ok and" help anyone 💔
if you aint gonna help then dont message in here
can you show the script
scroll up its at the top
it helps everyone actually
Because it is supposed to get you to say something
my bad
brody...
ok pastebin it is
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
lowkey pisses me off when people write shit like "hitted" like bro do you even know what the past tense of hit is
ion put much thought into my variable names lowkey 😭
sometimes i just name them a singular letter if im lazy
ok so first of all
the reason it is one loop is because you literally return within the loop
like it's not even conditional
It just returns after one iteration
second, table.find is mid as fuck and you should use the humanoid as the key. that will be better than table.find
third, pairs is pointless
is it because table.find is slower or somethin?
linear time with table.find vs constant time with hashing
fourth, why the hell did you create a part only to do getpartboundsinbox
that will include that part you just generated, for one
you do not need a part for getpartboundsinbox
so i can visualize the hitbox
I would recommend excluding it from params then
from the function params or what
if you want to create it outside of the hitbox function, which makes a lot more sense to me, or else just put it into the params if it isn't already there
that being said, if you have overlapping hitboxes, one of those visual parts is bound to be queried for
so you should account for it in all of your functions by having them parented to some base parameters structure
or, y'know, physics service's collisiongroups
also the whole looping once part is because of the gaurd clauses stopping the loop right?
there is one guard clause
And one explicit, unconditional return
right, actually no two guard clauses, because I read that wrong
same reason
🚨‼️AI generated‼️🚨
? I legit coded myself I just had to comment over it cuz I wanted to submit some stuff for a ranking 
yeah no mb it showed that i sent the script but it was the red message retry thing and i didnt notice it. mb
The scripters who can’t understand others’ scripts without comments should not rank at all imo
true but i just wanted to be safe
would be a pain to make another one