You can write your topic however you want, but you need to answer these questions:
-
What do you want to achieve? Keep it simple and clear!
Want tools with the same name deleted and only keep 1 -
What is the issue? Include screenshots / videos if possible!
Either something is wrong or its not detecting same tool name -
What solutions have you tried so far? Did you look for solutions on the Developer Hub?
I tried using client side and I can’t make it add a loop where it detects every time a new tool is added
After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!
game.Players.PlayerAdded:connect(function(Player)
Player.Backpack.ChildAdded:connect(function(Child)
for i,v in pairs(Player.Backpack:GetChildren()) do
if not v == Child and v.Name == Child.Name then
Child:Destroy()
end
end
end)
end)