You can write your topic however you want, but you need to answer these questions:
-
What do you want to achieve? There seems to be a non existent Instance in my Player object.
-
What is the issue?
Explorer:
Script:
Output: -
What solutions have you tried so far? The current script is supposed to be a solution, but it isn’t working.
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!
local UsedIndexes = {}
for i, Tool in pairs(LocalPlayer:WaitForChild("Items"):WaitForChild(string.split(Button.Name, "Button")[1]):GetChildren()) do
if table.find(UsedIndexes, tostring(i)) then
print("continue")
continue
end
UsedIndexes[#UsedIndexes + 1] = i
print(i, Tool)
print(dump(UsedIndexes))
end
I apologise for the bad screenshots format.