[SOLVED]How do I stop humanoids cloning more than once?

Good News! I fixed the ReplicatedStorage problem and the secondary set of clones spawning!

if #workspace.Assets.Hominids:GetChildren() > 4 then
	workspace.Assets.Hominids.Hominid.Parent = workspace.Assets.Excess
	workspace.Assets.Hominids.Hominid.Parent = workspace.Assets.Excess
    workspace.Assets.Hominids.Hominid.Parent = workspace.Assets.Excess
	workspace.Assets.Hominids.Hominid.Parent = workspace.Assets.Excess
								
	if #workspace.Assets.Excess:GetChildren() > 0 then
		workspace.Assets.Excess:ClearAllChildren()
								
									
	end	
end

I basically hard coded any continuing hominids spawning in a set of four to be automatically relocated to the Excess folder where they are destroyed.
I also referenced the Hominids SPECIFICALLY within the Hominids folder so that way It only looks at those instances within the folder and not at any other place within the game.
Therefore, it will no longer mess with the singular instance within ReplicatedStorage.
I know this looks kind of repetitive and simple, but hey it works!

1 Like

Thank you and @dfgfdgfdsyhdgfyh for helping me out.
It was wonderfully appreciated!
I got it under control for now, thank you!

1 Like

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