Script not properly adressing a value in a table

I just fixed it, realized it checked for baseplate , and it wasn’t in the table. thanks tho

Please mark the relevant post as the solution so others know that this problem is resolved and no longer requires assistance.