Let’s keep it simple, I want to make __index redirect to a value instead of a table, is it possible?
Code for better understanding:
module.Player = Players.LocalPlayer module.__index = module.Player module.Char = nil
local Player = require(script.Players) -- Here I want to return a Player instance, -- but still be able to call Player.Char to get it's own Character variable. local Character = Player.Char