I am wonder how will I, in script, find if the Variable is a table, number, string, ect. The only solution I have is only for bool values
local variable = true -- boolen value
if variable == true or false then
print("this is a bool value")
else
print("this could be a string, table, or a int.")
end
how will the script figure if the variable is a table, string, or int? and is there a better way to figure it out?