Can't seem to reenable value

After setting a value to false without actually setting the attribute since it’s done by server, I can’t seem to re-enable without having to use attributes again, any workarounds?

table.insert(GuiTables.Connections, Gui.Frame.GunsAllowed.GUNS.Checkbox.GOREBUTTON.MouseButton1Up:Connect(function(x: number, y: number)  
	local Value:attribute? = workspace:GetAttribute("GunsAllowed")
	local ActualValue = not Value
	GuiTables.Settings.Values.GunsAllowed = ActualValue
	Gui.Frame.GunsAllowed.GUNS.Checkbox.BackgroundColor3 = GuiTables.Settings.Colros[tostring(ActualValue)]
end))