Code:
local HRP = game.Players.LocalPlayer.Character:WaitForChild("HumanoidRootPart")
local Display = script.Parent
local RS = game:GetService("RunService")
local Start = workspace:WaitForChild("Start")
local Finish = workspace:WaitForChild("Finish")
local TotalDist = math.floor((Finish.Position.Magnitude - Start.Position.Magnitude))
RS.Heartbeat:Connect(function()
local PercentPassed = tostring(math.round((HRP.Position.Magnitude / TotalDist) * 100))
local Color = Color3.fromRGB(191, 0, 0):Lerp(Color3.fromRGB(71, 213, 104),HRP.Position.Magnitude / TotalDist)
Display.Text = "PROGRESS: " .. [[<font color="rgb(]] .. tostring(Color) .. [[)">]] .. PercentPassed .. "%" .. [[</font>]]
end)