How to get name and price in table?

I was making a proximity prompt shop.
I made table that have name and price.
But, I don’t know how to get name and price.
This is my script.
image

A for loop is what you’re looking for:

for name, price in Price do
   print(name, price)
end
2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.