The highlighted line (bold) in the script is giving this error:
RunService:fireRenderStepEarlyFunctions unexpected error while invoking callback: Center is not a valid member of Workspace “Workspace”
Center is not a valid member of Workspace “Workspace”
if player == plr then
if yourPets == false then
for petId, pet in pairs(PlayerPets[player.Name]) do
**pet:Update(Workspace.Center, hipHeight, false)**
end
else
for petId, pet in pairs(PlayerPets[player.Name]) do
pet:Update(character.PrimaryPart, hipHeight, isMoving)
end
end
else