[SPAWNING PET PROBLEM] Detached BodyParts!

I’ve been experiencing this issue lately where my pet’s body parts randomly detach.


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 :))

1 Like

welp its all anchored, do i really need to weld them?

1 Like

anchored ??? with you dont need any anchored you need welding brotha :))

all need to be Unchored Every single part and could use RunService to make it follow you but you gotta use the primary part as MAIN PART

1 Like

I think that solves the problem tysm.
image

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.