local bubbleTable = {
["BlueBubble"] = 5000,
["PurpleBubble"] = 15000,
["PinkBubble"] = 50000,
}
print(bubbleTable[1]) --Prints the first value
print(bubbleTable[2]) --Prints the second value
print(bubbleTable[3]) --Prints the third value
Also you could change this to this:
local bubbleTable = {
BlueBubble = 5000,
PurpleBubble = 15000,
PinkBubble = 50000,
}
print(bubbleTable[1]) --Prints the first value
print(bubbleTable[2]) --Prints the second value
print(bubbleTable[3]) --Prints the third value