How to use module script?

local module = {
Player = game.Players.LocalPlayer;
stagetrans = "Wherever stagetrans is";
}


return module

On another script:

local MS = require(game.replicatedStorage.ModuleScript)

if MS.stagetrans.Text = "1" then
-- rest of your script