I am wanting to find how many studs are between an object(a part) and a player(character model).
What I thought of that didn't work:
firstpart = workspace.Part
playerTorso = workspace.Player1.Torso
math.max(firstpart,playerTorso)-math.min(firstpart,playerTorso)
How could I do this?
(Also, I am just making this script to show what I did in a simplified version, I know it would be an error if I ran the script I provided)

1 comment
You did. I just remembered this term right when I saw the word magnitude. I feel so stupid LOL Thanks for helping!