for i, v in pairs(workspace.Pets:WaitForChild(plr.Name):GetChildren()) do
local Offset = 0.5
local PetHolder = workspace.Pets:WaitForChild(plr.Name):GetChildren()
local Angle = ((i + Offset) / #PetHolder) * math.pi * 2
v.PrimaryPart.BodyPosition.Position = (HumanoidRootPart.CFrame * CFrame.Angles(0,Angle,0) * PetOffset).p
v.PrimaryPart.BodyGyro.CFrame = HumanoidRootPart.CFrame
end
How do I make pet look at character?