How do I make a pet animation like this?

Hello, I have been working on a pet and I can’t get it to ‘hop’ around like this game:
https://www.roblox.com/games/1599679393/Pet-Simulator
I tried using tweenservice and changing the Orientation of the pet but it does not work with bodygyros since I want the pet to also follow the character so it forces it to have that orientation. How do I fix this?
Here is my pet rotating script:


local tweenService = game:GetService('TweenService')
local info = TweenInfo.new(
	.8,
	Enum.EasingStyle.Quint,
	Enum.EasingDirection.Out,
	0,
	false,
	0
)
local infoJump = TweenInfo.new(
	3,
	Enum.EasingStyle.Linear,
	Enum.EasingDirection.Out,
	0,
	false,
	0
)

local tween1 = tweenService:Create(script.Parent, info, {Orientation = Vector3.new(script.Parent.Orientation.X,script.Parent.Orientation.Y,5)})
local tween2 = tweenService:Create(script.Parent, info, {Orientation = Vector3.new(script.Parent.Orientation.X,script.Parent.Orientation.Y,-5)})
tween1:Play()
tween1.Completed:Connect(function()
	tween2:Play()
	tween2.Completed:Connect(function()
		tween1:Play()
	end)
end)

It works well:


But does not work with a body gyro.
Thank you!

EDIT: ignore the hopping I just want the rotating.

Uhhh, this old topic, but if you don’t know how to do this, use rigging
make a custom character [your pet] and then animate it