-- Helpers

local function updateCheckbox()
	local checked = CheckedValue.Value
	
	if checked then
		Checkbox.Image = Assets.Checkbox.Checked
		Checkbox.ImageColor3 = checkedColor 
	else
		Checkbox.Image = Assets.Checkbox.Unchecked
		Checkbox.ImageColor3 = defaultImageColor
	end
end

CheckedValue.Changed:Connect(updateCheckbox)

local function selectCheckbox()
	CheckedValue.Value = not CheckedValue.Value
end
