Even Though An Object Doesn't Have The Name Of Anything In The If Statement It Comes Back As If The If Statement Were True. Does Anyone Know How To Fix This?
while true do
wait()
local t = (workspace.Items:GetChildren())
for index, value in ipairs(t) do
if value == "Rokakaka Fruit" or "Arrow" or "Money" or "Meme Diary" or "Kujo Jotaro Cap" or "Aja Mask" or "Scroll" then
print(value)
else
print("ITEM FOUND")
return index
end
end
end

1 comment
line 4 "ipairs?"