Alright. So I'm making an attack script, as it stands it spawns a block on you and rapidly changes its CFrame and Size.
The issue that I'm facing is that this thing hits things at breakneck speeds. I'm talking 1700+ hit detections in a second. So I debounced it and it's working ok now. But now I need to find a way to make it so that it only hits people it hasn't hit before.
It needs to be able to hit everyone within its area, but it also can't lag the game out and can't hit the same person twice within 3 seconds

2 comments
I figured out my own solution, in case anyone wants to take and mutilate the code if they have issues:
https://pastebin.com/EhS1atL3\