How do i put notallow list to work?

Here my ex script:
Notallow = {‘Stone’,‘Wood’,)
If item ~= Notallow then
crafting = true
end
it not work for me now but last time it worked well for me

what about:

if not table.find(Notallow, item) then
-- do code
end

this code will search for a value that is given in the Notallow table if doesn’t find any it will run

1 Like

Thank you it worked now i have been figure it out like a day and you finish it in 1h
THANK YOU! SO MUCH