local h={Template={Name=""}}function h.Test(h)print(1)h.Name="\106\111\101"print(h.Name)end function h.New(k,h)local V=h setmetatable(V,k)V.Template=nil k.__index=k return V end local k=h.Template k.Name="\066\111\098"local V={E=h:New(k);Z=1}V.E:Test()print(V.E.Name)
-- testing metatables since its been forever since ive used them
local Char = {
	Template = {
		Name = "",
	},
}
function Char:Test()
	print(1)
	self.Name = "joe"
	print(self.Name)
end

function Char:New(Data)
	local D = Data
	setmetatable(D, self)
	D.Template = nil
	self.__index = self
	return D
end

local q = Char.Template
q.Name = "Bob"

local Poop = {
	E = Char:New(q),
	Z = 1,
}

Poop.E:Test()
print(Poop.E.Name)
