local numbers = {1, 2, 3, 4}local numbers = {10, 20, 30}
print(numbers[1]) -- выведет 10
print(numbers[2]) -- выведет 20local players = {}
table.insert(players, "Alex")
table.insert(players, "Max")local player = {
name = "Alex",
level = 5,
coins = 100
}print(player.name)
print(player.level)local inventory = {"Sword", "Shield", "Potion"}
for i = 1, #inventory do
print(inventory[i])
end