I would like to make it so all the objects in the enemies folder (and objects added in the future) will be included in the overlap params.
Issue:
It doesn’t really include objects that are added after.
local Params = OverlapParams.new()
Params.FilterType = Enum.RaycastFilterType.Include
Params.FilterDescendantsInstances = workspace.Enemies:GetDescendants()
while task.wait(1) do
local check = workspace:GetPartsInPart(physicalRange, Params)
print(check)
end
Should I just keep updating this part or is there a better specific way to do it?
Params.FilterDescendantsInstances = workspace.Enemies:GetDescendants()
Or there’s likely something else i’m missing I don’t know I’m tired