How Do I Make A Script Acces A Table Of Contents From A Module That Was published

You don’t need to add .value to the key. When you look up a key on a table, it’ll automatically return the value.

Alr, do you know hwo to include the name of the product that is outdated int he kick reason?

local kickMessge = "KICKED: " .. VersionData['Test Asset 1'].Name .. ' is outdated'
1 Like

Thx man, massive help cheers. I havery much appericate your help!


Do you know why this isn’t wrking?

Did you name the data module MainModule, and did you publish it to Roblox?

I named the asset ProductVersion, I’ll go chnage ti now

No, not the asset, that doesn’t matter. The MOdulescript itself needs to be named MainModule

Did you mean liek the actual name of the script in the studio?

Yup. That needs to be called MainModule.

I jsut did that yet I keep getting same error. If you have d#iscord message me on tancove

I gotta go sleep so psot every solution possible here pelase so I can work on it in morning

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