here is another hitboxing system similar to @Scripter_Joe 's
try not to use .touched when using fast moving objects, such as bullets or swords, it has a significant delay.