local d={}local l={}script.SyncMember.OnClientEvent:connect(function(d,R,z)if not l[d]then l[d]={}end l[d][R]=z script.PublicMemberChanged:Fire(d,R,z)end)function d.GetMemberValue(z,d,R)if l[d]then return l[d][R]end end return d


local PublicMembers = {}


local Data = {}


script.SyncMember.OnClientEvent:connect(function(object,memberName,value)

	if not Data[object] then 
		Data[object] = {}
	end
	Data[object][memberName] = value
	
	
	
	script.PublicMemberChanged:Fire(object,memberName,value)
end)



function PublicMembers:GetMemberValue(object,memberName)
	if Data[object] then
		return Data[object][memberName]
	end
end




return PublicMembers
