I would like to know why I am getting a warn about these lines:
local labelName = string.sub( -- Permet de reconstituer le nom du joueur qui est dans le textlabel
"1."..tostring(i).." "..v.Name, -- Prend le nom du textlabel
string.find("1."..tostring(i).." "..v.Name, v.Name) -- Prend les index du nom du textlabel
)
does the for loop look like this for _,v or for i,v if it’s the first one then the error would most likely come from i being nil since you assigned it to be _
after looking at your code for a second i realized that you’re not using string.sub correctly, you only have 2 arguments, the second argument is a table and should be a number and the third one is just nil