I want to get the closest torsos position.
Help i really have no idea how to do this.
I want to get the closest torsos position.
Help i really have no idea how to do this.
It’s fairly easy. I’m gonna give you the steps on how to do it.
ipairs
loop (I’ll call the two vars Index
and Char
) in the workspace (or wherever the characters you wanna find are);return
to return X’ torso and assign it as the value of a variable.For closest torsos you have to firstly get your torso then other player’s torso and with Magnitude the distance of that 2 torsos store it in Table and repeating same with all torsos see what is the nearest distance