Why does this table feature not work?

I tried using table.find to make it so if the finalmap value is the same as the value in the table(beachmap1) the script goes on, but it doesnt work, i dont know why it happens even though the finalmap is the exact same name as the name in the table

Screenshot 2024-11-21 173759

why don’t you try to print the “watermaps” table inside of the connection, something may remove it, or change it.