How to make velocity continued

I don’t know if I would need to code this myself, or if theres a legitimate physics solution to this, but how would I make it so that when I stop applying velocity to my character it doesn’t die out in a few seconds?

Example: https://gyazo.com/44198d2e7439c5f637391f70278eee07

you would need to update the velocity. Maybe something like this:

local UpdateTime = 0.5 — can be any number. basically each of this time it updates speed.
local Moving = true

while Moving == true do
    player.Character.Veloctiy = speed
    wait(UpdateTime)
end

Another method is to use BodyVelocity