How could I concatenate two strings together to get the name of the variable and then change the value of those variables from my two concatenated strings. For example:
local function concatStrings(key)
"Var"..key = 5
end
concatStrings("X")
concatStrings("Y")
concatStrings("Z")
This obviously won’t work but how could I do something like this?