#Help with HitboxClass
1 messages · Page 1 of 1 (latest)
Can you show that specific line of code the error is pointing to
the first image is where the error is occuring in the module, the second image is the parameters for the hitbox of the explosion
Are you sure you're supplying the params correctly
i cant tell what im doing wrong, have i put in the vector 3 for size incorrectly?
those are the available params for the hitbox
No like where are you giving the parameters? Where do you put the table?
The error says it's indexing nil with size meaning the params are nil
the table is in a script in an explosion that is meant to be cloned from replicated storage, i used another hitbox class type and it worked, but i needed position and it wasnt in the params of that specific class type
i used this classtype in the module earlier and it worked (however didnt have position which i needed)
im not very good at scripting yet so im sorry if i cant understand what youre saying 😔
the position comes from InitialPosition, you're using the module's internal type, so only use the params.
It expects PartOrSize which is in the params. Without that, it won't work
OH so i shouldnt be using hitbox for the hitboxtypes?