ive allready got the begin if it works

game.Players.LocalPlayer.Backpack.ChildAdded:connect(function(Child)
	wait(1)
	if Name.Text3.Text == Child.Name or Name.Text2.Text == Child.Name then
		
	else
		Name.Text1.Text = Child.Name
	end
end)

but the problem is if i make another one like

game.Players.LocalPlayer.Backpack.ChildAdded:connect(function(Child)
	wait(1)
	if Name.Text1.Text == Child.Name or Name.Text3.Text == Child.Name then
		
	else
		Name.Text2.Text = Child.Name
	end
end)

both gets the name or it just doenst get the name is there anyone that can maybe improve or just help this script?

2 comments

0

What is this script supposed to do?

0

its supposed to be an inventory script with just names