Here's my script
local char = script.Parent.Parent
local hum = char:FindFirstChild("Humanoid")
local pet = script.Parent
local maxFloat = 0.5
local floatInc = 0.025
local sw = false
local fl = 0
local head = char:FindFirstChild("Head")
--I don't know what to write here to increase the rate it's gained--
------------------------------

2 comments
Your "script" is simply variables. Are you expecting us to give you a way to move the pet?
no im trying to get the players speed to increase in rate that it is gained