i have a bit of code that when a hitbox touches something it gets added to a table. but when it touches 2 things part of the same model it adds both. and i need to figure out how to not add it if its part of the same model
hitbox.Touched:Connect(function(t)
table.insert(touching,t)
end)
hitbox.TouchEnded:Connect(function(t)
table.remove(touching,table.find(touching,t))
end)
heres the code:)