local Weapons = game.Players.LocalPlayer.Data:WaitForChild("Inventory").Weapons:GetChildren()
number = 0
children = #Weapons
for i = 1, #Weapons do
local new = Instance.new("TextLabel")
new.Parent = script.Parent
new.Position = position + UDim2.new(0,0,0,30)
position = position + UDim2.new(0,0,0,25)
new.Size = UDim2.new(0,200,0,10)
new.ZIndex = 2
new.BackgroundTransparency = 1
new.FontSize = "Size18"
new.Font = "SourceSans"
new.TextXAlignment = "Left"
new.Text = Weapons[i].Name
COMMUNITY QUESTION
how to make it where an instance is only created once if the same child name?
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.

6 comments
What exactly are you trying to do? You need to explain the problem in proper English (or at least in decent attempt of) to explain the issue and what you want fixed. "This is what i dont want it to do" doesn't necessarily help.
well you're an idiot then. learn to read the title
please tab your code correctly and supply both more information and any error(s) you may be receiving.
We're not idiots, you didn't supply with enough information so we cannot help you. Calling us idiots won't help you at all.
im just gonna ask it again with the same thing because i cant explain it any better then what the title said
Dear AwesomeSauce666556, Your question has been locked as Non Descriptive as you have not supplied sufficient details pertaining to your question and adequate attempt of defining the problem and what you have attempted to do to solve it. Please review the tips I have provided you via Private Message as a baseline of the information we may need to solve your problem.