I need to know for a game but I do not know if it is even possible
Yes, it is possible using tables, example:
Values = {"abc", "cba"} -- etc, you can do as much as you want.
You can learn more about tables Here
local MyArray = {"Fun!", 123}
Arrays can do what you need. They can infact carry an infinite amount of bools, strings, and integers.
local a, b, c = 1, 2, 3 print(a, b, c) --it will print '1 2 3' print(a) -- it will print '1' print(c, b) --it will print '3 2'
You get the point. Separate the Variable names by a comma, then separate the values by a comma and you will assign those values. There is also this method with tables:
local hi = {'hello', 3, 'stuff' }
but I don't really know how tables work so yeah. Sorry if this is not what you were looking for.
You can also do this
local gun = {} gun.Damage = 100 gun.BulletSpeed = 1 print(gun.Damage)
it will print "100"
when referring to Damage just do gun.Damage when referring to BulletSpeed just do gun.BulletSpeed
of course you can change the names and add more