local b=script.Parent local n=b.Configuration.Amount local Q=b.FireFly:Clone()b.Center.CenterPart.Transparency=1 if n.Value>1 then for n=1,n.Value-1,1 do newFly=Q:Clone()newFly.Position=b.Center.CenterPart.Position newFly.Parent=b end end


local Model = script.Parent
local Amount = Model.Configuration.Amount

local Fly = Model.FireFly:Clone() -- Clone a fly from the start
Model.Center.CenterPart.Transparency = 1 -- Make the center part invisible. It has no purpose when the game runs

if Amount.Value > 1 then
	for i = 1, Amount.Value-1 do -- Spawn up to Amount new flies
		newFly = Fly:Clone()
		newFly.Position = Model.Center.CenterPart.Position
		newFly.Parent = Model
	end
end
