Is it because the client hasn’t replicated the pet models yet?
here’s the code if you would mind:
Players.PlayerAdded:Connect(function(player)
local folder = Instance.new("Folder")
folder.Name = player.Name
folder.Parent = workspace.PlayerPets
local pets_folder = player:WaitForChild("Pets", 100)
if not player:HasAppearanceLoaded() then
player.CharacterAppearanceLoaded:Wait()
end
for _, v in pets_folder:GetChildren() do
if (v.Equipped.Value == true) then
local pet_model = assets.Pets:FindFirstChild(v.PetName.Value, true)
if pet_model then
local cloned = pet_model:Clone()
cloned:PivotTo(player.Character.HumanoidRootPart.CFrame)
cloned.Parent = folder
end
end
end
end)
I dont think its a script problem its seems to be your pet model, check if you weld every body part well, and i assume that you have a primary part for your pet so i recommend you too do is weld all part as legs, arm, tail…etc to the body of the pet then weld the body to the primary part :))