I made a script that creates 7 Text Buttons, After that tried to change his name to 7 distinguished names who are on a "Folder", but instead each have a name with them everyone is the same name, What did I do?
The Script :
for i = 1,6 do
Button = script.Parent.Skills.Background.Magic.Magics:Clone()
Button.Parent = script.Parent.Skills.Background.Magic
Button.Position = Button.Position + UDim2.new(0,0,0,i * 31.80)
end
Magics = game.ReplicatedStorage.Colors:GetChildren()
Buttons = script.Parent.Skills.Background.Magic:GetChildren()
for i = 1,#Magics do
for b = 1,#Buttons do
if Buttons[b].ClassName == "TextButton" then
Buttons[b].Text = Magics[i].Name
end
end
end
Sorry is not able to understand, I'm not American then my English is bad

11 comments
If you insert " if b == i then " after line 12 ? Or maybe vice-versa ?
Worked , Thx Guy
Repaired, but there is a new bug :C , But anyway, thank you
Why is it that people ignore England when talking about English? xd
Well the translator only has translation into North American English, I can not do anything. :P
I'm confused, what is this code even supposed to be doing?
read the question, not negative mark so why not read the question
Your question is unclear, ambiguous, and difficult to parse. Do you mean something like: """I want to make 7 buttons, eached with a label for one object in the "Magics" folder"""
but it has already been answered, why you come here criticizes?
how are you able to script if you do not understand english? Is it sort of like learning two languages at once- a lingual and a programming one?
was easy to learn what each command does that already and a new language, and I can speak English, but my vocabulary is very limited , for me write this message i used the translator to try to get a little easier to understan