I create items on the client when a player joins, but with StreamingEnabled it completely destroys them from existence
In workspace
When playing in regular game
When playing with StreamingEnabled
The code is being called on start, but I don’t know how to make it so when the parts are streamed in, their children also come back
function EggController:SetupEggs()
print("SETUP")
for _, egg in pairs(CollectionService:GetTagged("Egg")) do
-- Add effects
local Effect = Effects.Egg.Effect:Clone()
Effect.Parent = egg.PrimaryPart
Effect.Area.Position = egg:GetPivot().Position
Effect.Core.Position = egg:GetPivot().Position
local Weld1 = Instance.new("WeldConstraint")
Weld1.Part0 = egg.PrimaryPart
Weld1.Part1 = Effect.Area
Weld1.Parent = egg.PrimaryPart
local Weld2 = Instance.new("WeldConstraint")
Weld2.Part0 = egg.PrimaryPart
Weld2.Part1 = Effect.Core
Weld2.Parent = egg.PrimaryPart
print("HERE")
UI.EggStats:Clone().Parent = egg.PrimaryPart
end
end