How can i do a animate sprint for mobile player?

Hello guys, I would like to have a running animation on this script but I can’t. Who can help me?

here is the script

local player = game.Players.LocalPlayer
local Character = player.Character or player.CharacterAdded:Wait()
local Humanoid = Character:WaitForChild("Humanoid")

local WalkSpeed = 16
local SprintSpeed = 24

script.Parent.MouseButton1Click:Connect(function()
    if script.Parent.ImageColor3 == Color3.new(0.392157, 0.392157, 0.392157) then
        script.Parent.ImageColor3 = Color3.new(0.580392, 0.580392, 0.580392)

        Humanoid.WalkSpeed = SprintSpeed
    else
        script.Parent.ImageColor3 = Color3.new(0.392157, 0.392157, 0.392157)

        Humanoid.WalkSpeed = WalkSpeed
    end
end)
local animationTrack = Humanoid:LoadAnimation(animationObject: Animation) :: AnimationTrack

animationTrack.Priority = Enum.AnimationPriority.Action4
animationTrack:Play()

--

animationTrack:Stop()