I honestly am confused and i've worked on this for hours now! Please help!
if box.Parent.NumOfPet ~= nil then
if box.Parent.NumOfPet.Value == 0 then
return
elseif box.Parent.NumOfPet.Value > 0 and box.Parent.NumOfPet.Value == 1 then
box.BodyGyro.CFrame = torso.CFrame * CFrame.new(3,0,3)
elseif box.Parent.NumOfPet.Value > 1 and box.Parent.NumOfPet.Value == 2 then
box.BodyGyro.CFrame = torso.CFrame * CFrame.new(3,0,0)
elseif box.Parent.NumOfPet.Value >2 and box.Parent.NumOfPet.Value == 3 then
box.BodyGyro.CFrame = torso.CFrame * CFrame.new(3,0,-3)
else
box.Parent:Destroy()
end
end
