Dictionaries help

How do I check if a value is in a dictionary?

local table = {}

if table.find(object, objectvalue) then
-- code
end
if dictionary[key] ~= nil then end

You can just loop through and check the value

local dictionary = {
	["Test"] = 0
}

local function dictionaryHasValue(val)
	for key, value in dictionary do
		if value == val then
			return true
		end
	end
	
	return false
end

print(dictionaryHasValue(0))