Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Most Efficient Crowd Detection?

Asked by 4 years ago

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

1 answer

Log in to vote
0
Answered by
St_vnC 330 Moderation Voter
4 years ago

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?

0
Yep im guessing looping through every single object in workspace is slower then just using explosion.hit firestarroblox123 440 — 4y
0
Also I love your videos too xd firestarroblox123 440 — 4y
Ad

Answer this question