local g=script.Parent local N=g.FireFly:Clone()g.ChildRemoved:connect(function()if g:FindFirstChild("\067\101\110\116\101\114")then local f=N:Clone()f.Position=g.Center.CenterPart.Position f.Parent=g end end)
-- Spawn a new firefly from the center when one flew too far

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)
