function ClientRemoteProperty.OnReady(Z)if Z._ready then return Promise.resolve(Z._value)end return(Promise.fromEvent(Z._rs,function(e)Z._value=e Z._ready=true return true end)):andThen(function()return Z._value end)end

function ClientRemoteProperty:OnReady()
	if self._ready then
		return Promise.resolve(self._value)
	end
	return Promise.fromEvent(self._rs, function(value)
		self._value = value
		self._ready = true
		return true
	end):andThen(function()
		return self._value
	end)
end
