Lets look at the code that defines each TablePass
Each element inside a TablePass is also a table. You’re trying to set the Text and Value properties of an instance to a table which wont work. If there is no reason for each element of a TablePass to be a table then remove then remove the table declarations around each item.
Like this:
local gamepasses ={
["GSandwh"] = {
[1] = "Golden Sandwhich"; -- Gamepass Name
[2] = 11776033; -- Gamepass ID
[3] = false; -- Roblox Premium get it?
[4] = "Join"; -- Purchase button text
};
["ColorfulName"] = {
[1] = "Colorful Name";
[2] = 11817419;
[3] = false;
[4] = "Purchase";
};
["island"] = {
[1] = "Island access";
[2] = 11817397;
[3] = true;
[4] = "Purchase";
};
["JetSki"] = {
[1] = "JetSki";
[2] = 11817399;
[3] = false;
[4] = "Purchase";
};
["SelifeStick"] = {
[1] = "Selfie Stick";
[2] = 11817422;
[3] = false;
[4] = "Purchase";
};
["Balloon"] = {
[1] = "Balloon";
[2] = 11817431;
[3] = false;
[4] = "Purchase";
};
["Hoverboard"] = {
[1] = "Hoverboard";
[2] = 11817406;
[3] = false;
[4] = "Purchase";
};
};