function Main.new(N,f)for f,z in statesTemplate:GetChildren()do(z:Clone()).Parent=N end local z=f.Main local j={}j.Data=z j._player=N j.JoinTime=os.time()j.LastPlayTime=z.LastPlayTime j.FirstJoinTime=z.FirstJoinTime setmetatable(j,Main)return j end
-- Main class constructor
function Main.new(player, data)
	for _, v in statesTemplate:GetChildren() do
		v:Clone().Parent = player
	end

	local dataScope = data.Main
	local self = {}
	self.Data = dataScope
	self._player = player
	self.JoinTime = os.time()
	self.LastPlayTime = dataScope.LastPlayTime
	self.FirstJoinTime = dataScope.FirstJoinTime

	setmetatable(self, Main)
	return self
end
