I basically have something with the following code:
local paidRoles = { ["Pilot"] = (gamepass id), ["Advanced Mechanic"] = (gamepass id), ["Advanced Gun Dealer"] = (gamepass id), }
I need to do something to the the gamepass ID of it, without doing i,v in pairs(paidRoles).
for example, something like paidRoles[Pilot].Value.
You can simply do paidRoles["Pilot"]
and it'll return the gamepass ID for the Pilot.
Hope this helped