local z=script.Parent local T=z.FireFly:Clone()z.ChildRemoved:connect(function()if z:FindFirstChild("\067\101\110\116\101\114")then local P=T:Clone()P.Position=z.Center.CenterPart.Position P.Parent=z end end)


local Model = script.Parent

local Fly = Model.FireFly:Clone() -- Clone a fly from the start

Model.ChildRemoved:connect(function() -- When a fly got removed when he flew too far, paste a clone to spawn a new one
	if Model:FindFirstChild("Center") then
		local newFly = Fly:Clone()
		newFly.Position = Model.Center.CenterPart.Position
		newFly.Parent = Model
	end
end)