How can i get variables from a module script

First of all, there are no issues, i’m just trying to learn how to get a variable from a ModuleScript, like, using it for values, i don’t want another alternative for this, can someone help please?

Telomint.

local x = require(module)
print(x.variable)
8 Likes

Oh thanks, din’t tested it yet, but it’s prob the solution, thank you.