Overlap Params Returning nothing

I’m making a simple hitbox system where when you activate a tool it requires a module that spawns a part, gets an opponent’s humanoid, and then fires to the server for damage and other things that should happen on the server

The problem is that my Overlap Params are not giving me any form of input other than an empty table.

Tool Code
image
Module Code
image
Video of the empty tables

I might be wrong, but if i remember correctly, when you try to print a table it’ll print it as “{}” or “{…}”… now this might not be true and just my memory playing a trick, but try to do print(#GetParts) and if it prints a number above 0, then everything works and there is something inside the table

1 Like

image

Yeah it is printing zero nothing is gathering into the table

You are only checking the parts in part once, when I believe you meant to do it repeatedly. Try moving the GetParts = workspace… part into the while loop

1 Like

It still does not seem to be working

I think you meant to provide ClonePart instead of Part into the GetPartsInPartt function

1 Like

Apologies for the late reply but it works!!! tysm

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.