Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Most Efficient Crowd Detection?

Would checking for objects through explosion.hit be more efficient than looping through the workspace to find distances for a specified area?

1 answer

✓ Accepted answer

Explosion.hit seems less long for me. I never thought of looping through the workspace tho. Looping through the workspace seems painful to me also. Explosion.hit is for every part that the explosion hits so you could do that to kill your lizards or something instead of checking the whole workspace where it could have over hundreds of objects inside of it.

I’m a fan bro can you put me in one of your vids?

2 comments

0

Yep im guessing looping through every single object in workspace is slower then just using explosion.hit

0

Also I love your videos too xd

This discussion is preserved as it was. New answers, comments, and votes are closed.