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

How do I use region3 to damage a player if they're close to the attacking player?

Asked by 5 years ago

I know what Region3 is but I've struggled on working out how to use it as a damage script for combat.

0
climethestair is right, you are much better off with magnitude Vulkarin 581 — 5y

1 answer

Log in to vote
1
Answered by 5 years ago

You could use the FindPartsInRegion3 function but if you're looking for a combat script, you would probably rather use magnitude. It is easier to use, and is essentially the circle equivalent of Region3.

https://wiki.roblox.com/index.php?title=API:Class/Workspace/FindPartsInRegion3 http://robloxdev.com/articles/Magnitude

Ad

Answer this question