
Using table.find () to find an object using its name - Roblox
Apr 23, 2023 · To answer your question no, because multiple instances can have the same name. What Roblox compares as @DasKairo mentioned is the instance itself. So to find Model (the …
How to find a value in a table - DevForum | Roblox
Sep 30, 2022 · I am having an issue where I want to find a value within a table. I am trying to use table.find () not to find a value itself but what the value is defining. For reference I want to find …
Table.find () and tables with functions - Roblox
Mar 21, 2023 · table.find() is a built-in function in Lua that searches for a specific value in an array and returns its index if found. It can be used with tables that contain functions as values.
How could I search through a table for a certain thing? - Roblox
Aug 27, 2022 · We need to know how the items table is structured like because table.find will go through the table to find the specified value while items [index] will go by the index.
How table.find works? - Scripting Support - Roblox
Jun 3, 2024 · table.find looks for any value in a table, not a dictionary. As for that you can just call the dictionary’s value directly and it would work 1:1 like table.find. Just like in the example you …
How to search for a variable in a table with a string? - Roblox
Apr 9, 2023 · local test_table = { ["test_variable"] = "testing" } print (table. find (test_table, "test_variable")) -- I want this to output "testing" Its probably an easy solution, the only thing I …
How to use table.find () for instance’s names - Roblox
Jul 31, 2022 · Given this, you can kind of see how table.find works… you must provide the exact or equal value for the search to return a value; so providing a string for an instance won’t work.
Strings in tables, using table.find () - Roblox
Nov 17, 2020 · Why table.find () works with the Player List and not the Color one? If I cannot use table.find () to find a string inside “name”, whats the best way to get the node index in order to …
Any way to search for an object that's inside a table? - Roblox
Dec 13, 2019 · Hello my name is sandessat (again) and I want to ask if there is any way to search for an object inside a table? This is what I tryed to do: local aboutMeTable = {} aboutMeTable …
Table.find not finding value in table - DevForum | Roblox
Jan 1, 2021 · table.find only looks for values in the passed array, if this array has another array as a value table.find won’t pick this up. An example of how to use table.find is: