So, I have a dictionary with a range of values. However, when using a for loop to print through each of the values it just prints the Id (You’ll see what I mean in the code below) but how would I also print the name? I’ll explain more underneath.
local DonateDictionary = {
Robux5 = "974445537",
Robux10 = "980930969",
Robux25 = "980931039",
Robux50 = "980931089",
Robux100 = "980931172",
}
for i,v in pairs(DonateDictionary) do
print(v)
end
When it is printing v, it is just printing the ID, however, how would I get it to print for examples ‘Robux100’ as well?
I’m not entirely sure if I would be using the right thing for this, I’m using ProcessReceipt so that it can give the correct dev product, as I plan on having more than one.