Hello, if you have ever played Steep Steps, you would know that they have an altitude counter in studs and meters. I am trying to replicate that but I don’t really know how. Any ideas that could help me? Thanks.
Character:GetPivot().Position.Y
does it
1 Like
But then how would I convert it into meters?
Make a script taht checks how high anything you need is on the Y axis, and if you need take away or add numbers, and in case convert it to meters if needed, something like this:
while true do
HumanoidRootPart.Position.CFrame.Y —this should be the one if I’m not wrong
—-etc…
1 stud is equal to 0.28 meters
Do the stud value * 0.28
(plr.Character:WaitForChild("Head").Position.Y-4)*0.28
Head height - player height (normal character height is 4 studs) and then multiply by 0.28 to convert to meters.
2 Likes
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.