Relative Content

Tag Archive for stringvariablesluatype-conversionroblox

How can I use a parameter to alter which data my profile.Data is accessing?

local expType = tostring(type1) local expTypeStat = expType:gsub(“Exp”, “”) local profileDataExpType = “profile.Data.”..expType Here I want to change which data is pulled from profile.Data depending on which expType is given to the function I’m making. For an example, type1 would be something like StrengthExp. But when adding strength, I want to reference the Strength stat […]