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

how to check humanoid position distance from the baseplate?

Asked by 4 years ago

hi there, I am trying to duplicate this leaderboard feature from tower of hell. like this screenshot. so I am thinking the script must be on how to check the humanoid position from the baseplate one it gets higher off the ground.

is there any way to check how high above is a humanoid from the ground baseplate?

2 answers

Log in to vote
0
Answered by 4 years ago

Make sure to put this in a LocalScript

local HeightFromBaseplate = (
game.Workspace.Baseplate.Position.Y - game.Players.LocalPlayer.Character.HumanoidRootPart.Y
) --Use this Variable

--So how does it work?--

It just removes the Baseplates Y with the Characters Y

---------------------------------

I actually don't do that on my Answers but just in case because your reputation is 0

Ad
Log in to vote
0
Answered by 4 years ago

You can try to take the CFrame from the humanoid and the baseplate and get the magnitute from it. I'm not a big expert in it, but I think that will help you to get ahead. If I can continue to help you then I will try to help you.

0
I already answered. Luka_Gaming07 534 — 4y
0
I already answered. Luka_Gaming07 534 — 4y

Answer this question