I'm making a wall hopping game 2000 studs and i want to let the player know how many studs the player is above the baseplate;
The problem is i only want it to change on the Y axis :/
local TextLabel = script.Parent
local Player = game.Players.LocalPlayer
local RunService = game:GetService("RunService")
wait(2)
local Character = Player.Character
local LeftLeg = Character["Left Leg"]
while RunService.RenderStepped:Wait() do
local dist = (workspace.Baseplate.Position - LeftLeg.Position).Magnitude.Y
print(dist)
TextLabel.Text = "Height: " .. tostring(math.floor(dist)) .. "Studs"
end
