How do you get the height of a character's head and its accessories?

I’d like to create a nametag thing that changes its position based on the character’s head and whatnot. I’d enable ‘AlwaysOnTop’ but I don’t want it to always be seen. What is the easiest way to achieve this?

the “height” is (worldPos.Y + size.Y / 2), so you could put the heights of all accessories (and the head) in a table, and then use math.max(unpack(tbl)) to collect the max height.

2 Likes