-- TEST CONVAR FUNCTIONS
local function ConVar(name, value, flags, helpString, bMin, fMin, bMax, fMax)
    config: {
        
    }
end

-- Example ConVar
ConVar("cl_test", 0, 0, "Example ConVar")

function ConVar.new(name, value, flags, helpString, bMin, fMin, bMax, fMax)
    local newConVar = {}
    setmetatable(newConVar, ConVar)
    
    newConVar.Name = name
    newConVar.Value = 
end

local cvar = ConVar.new()

local ConVar = {}

function ConVar.new(name, Value, flags, helpString, bMin, fMin, bMax, fMax)
    local cvars = {}
    setmetatable(cvars, ConVar)
    
    cvars.name = name
    cvars.value = value
    
    return cvars
end

function ConVar:Print1()
    print(self.name)
end

function ConVar:Print2()
    print(self.value)
end

return ConVar

local cvarTEST = require(script.Module).new("Woo", "Hey")

cvarTEST:Print1()
cvarTEST:Print2()

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: