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

What's the cheapest and quickest way to find if a humanoid is within a zone?

I've experimented with many ways to see if a humanoid is within a damage zone of a gas trap script, the best way so far is having physical part, to then change the size from (0,0,0) to (20,20,20) and then back to (0,0,0) and connect the part to a touched event to see if it has touched a part called "HumanoidRootPart", but I found that this does not always hit therefore unreliable.

I heard about FindPartsInRegion3, but the source code behind it looks very expensive.

Should I use this method or is there another way to check if a humanoid is within a region?

1 comment

0

magnitude

1 answer

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